Telink TLSR8232 BLE SDK Developer Handbook
AN-19112700-E1
192
Ver.1.0.0
rf_chn
Set RF channel, the channel actually used is (2400+rf_chn).
11.3.1.3 TX Mode
Tx mode can send packets of three different types, PRBS9 packet payload, 00001111
packet payload, 10101010 packet payload. Users can choose different Tx modes by
cmd.
To send the three packets, the functions below should be called:
void
emitxprbs9
(
RF_ModeTypeDef
rf_mode,
RF_TxPowerTypeDef
pwr,
signed
char
rf_chn);
void
emitx0f
(
RF_ModeTypeDef
rf_mode,
RF_TxPowerTypeDef
pwr,
signed
char
rf_chn)
void
emitx55
(
RF_ModeTypeDef
rf_mode,
RF_TxPowerTypeDef
pwr,
signed
char
rf_chn)
Parameters:
rf_mode
Set RF mode, RF_MODE_BLE_1M and RF_MODE_BLE_2M are
optional.
pwr
Set tx power, see the definition of RF_TxPowerTypeDef for its values.
rf_chn
Set RF channel, the channel actually used is (2400+rf_chn).
11.3.1.4 RX Mode
Rx mode receives data and records the number of received data by poll. The function
is
:
void
emirx
(
RF_ModeTypeDef
rf_mode,
RF_TxPowerTypeDef
pwr,
signed
char
rf_chn);
signed
char
rf_chn)
Parameters: