English
Language : 

ZAURA Datasheet, PDF (64/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
52
ZAURA_RF_GetChannel
Description Returns the 0-based channel number that the radio is currently using
for communication. The default RF channel is specified in the Ch
member of the ZAURA_RF_Params structure. The RF channel can be
modified using ZAURA_RF_SetChannel function or the ch shell
command.
Syntax
UINT8 ZAURA_RF_GetChannel( void );
Parameters None.
Returns Current channel setting (0 to the maximum number of channels – 1)
See Also ZAURA_RF_SetChannel, ZAURA_RF_GetParams,
ZAURA_RF_PARAMS Structure
Example
UINT8 CurCh;
CurCh = ZAURA_RF_GetChannel();
ZAURA RF Wireless Radio Configuration API
RM006003-1011