Public Attributes#
Command ID
Takes per BLE_RECEIVE_CMD_ID of value 0x14.
Enables/disables the ble per receive mode
1 PER Receive Enable
0 PER Receive Disable.
Access address with which packets are received.
Phy rate at which packets are received
1 1Mbps
2 2 Mbps
4 125 Kbps Coded
8 500 Kbps Coded.
Rx channel number (0 - 39)
Tx channel number (0 - 39)
Initial seed to be used for whitening.
LE channel type (data or advertise channel)
0x00 Advertise Channel
0x01 Data Channel (to be used by Default)
Frequency hopping type to be used
0 No Hopping
1 Fixed Hopping
2 Random Hopping (rx_chnl_num, tx_chnl_num parameters are unused in this mode)
Select the antenna to be used.
pll_mode type to be used
Selection of RF type (internal/external)
0 BT_EXTERNAL_RF
1 BT_INTERNAL_RF (to be used by Default)
Selection of RF Chain (HP/LP) to be used
2 BT_HP_CHAIN
3 BT_LP_CHAIN.
This field enables/disables the extended data length
0 Extended Data length disabled
1 Extended Data length enabled.
This field defines the loopback to be enable or disable
0 LOOP_BACK_MODE_DISABLE
1 LOOP_BACK_MODE_ENABLE.
This field enables/disables the duty cycling
0 Duty Cycling Disabled (to be used by Default)
1 Duty Cycling Enabled.
Public Attribute Documentation#
receive_enable#
uint8_t rsi_ble_per_receive_s::receive_enable
Enables/disables the ble per receive mode
1 PER Receive Enable
0 PER Receive Disable.
access_addr#
uint8_t rsi_ble_per_receive_s::access_addr[4]
Access address with which packets are received.
phy_rate#
uint8_t rsi_ble_per_receive_s::phy_rate
Phy rate at which packets are received
1 1Mbps
2 2 Mbps
4 125 Kbps Coded
8 500 Kbps Coded.
scrambler_seed#
uint8_t rsi_ble_per_receive_s::scrambler_seed
Initial seed to be used for whitening.
It should be set to 0 in order to disable whitening.
In order to enable, one should give the scrambler seed value which is used on the transmit side
le_chnl_type#
uint8_t rsi_ble_per_receive_s::le_chnl_type
LE channel type (data or advertise channel)
0x00 Advertise Channel
0x01 Data Channel (to be used by Default)
freq_hop_en#
uint8_t rsi_ble_per_receive_s::freq_hop_en
Frequency hopping type to be used
0 No Hopping
1 Fixed Hopping
2 Random Hopping (rx_chnl_num, tx_chnl_num parameters are unused in this mode)
ant_sel#
uint8_t rsi_ble_per_receive_s::ant_sel
Select the antenna to be used.
Refer to the datasheet for your hardware to check whether or not it contains an onboard antenna.
2 ONBOARD_ANT_SEL
3 EXT_ANT_SEL
pll_mode#
uint8_t rsi_ble_per_receive_s::pll_mode
pll_mode type to be used
0 PLL_MODE0 (to be used by Default)
1 PLL_MODE1
rf_type#
uint8_t rsi_ble_per_receive_s::rf_type
Selection of RF type (internal/external)
0 BT_EXTERNAL_RF
1 BT_INTERNAL_RF (to be used by Default)
Note
The above macros are applicable for both BT and BLE
rf_chain#
uint8_t rsi_ble_per_receive_s::rf_chain
Selection of RF Chain (HP/LP) to be used
2 BT_HP_CHAIN
3 BT_LP_CHAIN.
Note
The above macros are applicable for both BT and BLE
ext_data_len_indication#
uint8_t rsi_ble_per_receive_s::ext_data_len_indication
This field enables/disables the extended data length
0 Extended Data length disabled
1 Extended Data length enabled.
loop_back_mode#
uint8_t rsi_ble_per_receive_s::loop_back_mode
This field defines the loopback to be enable or disable
0 LOOP_BACK_MODE_DISABLE
1 LOOP_BACK_MODE_ENABLE.
duty_cycling_en#
uint8_t rsi_ble_per_receive_s::duty_cycling_en
This field enables/disables the duty cycling
0 Duty Cycling Disabled (to be used by Default)
1 Duty Cycling Enabled.