Public Attributes#
Command ID Takes per BLE_TRANSMIT_CMD_ID of value 0x13.
Enables/disables the BLE per transmit mode 1 PER Transmit Enable 0 PER Transmit Disable.
Access address with which packets are transmitted.
Phy rate at which packets are transmitted 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 0 PLL_MODE0 (to be used by Default) 1 PLL_MODE1
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.
Length of the packet to be transmitted.
Type of payload data sequence 0x00 PRBS9 sequence �11111111100000111101...
Transmit Power Transmit power value for the rf_chain parameter set to the HP chain the values for the TX power indexes are 0 - 20.
Transmit mode to be used either Burst/Continuous 0 BURST_MODE 1 CONTINUOUS_MODE 2 CONTINUOUS_WAVE_MODE (CW_MODE)
This field takes the value of inter packet gap.
This field defines the number of packets to be transmitted, default to zero for continuous transmission.
Public Attribute Documentation#
cmd_ix#
uint8_t rsi_ble_per_transmit_s::cmd_ix
Command ID Takes per BLE_TRANSMIT_CMD_ID of value 0x13.
911
of file components/si91x/ble/inc/rsi_ble_apis.h
transmit_enable#
uint8_t rsi_ble_per_transmit_s::transmit_enable
Enables/disables the BLE per transmit mode 1 PER Transmit Enable 0 PER Transmit Disable.
915
of file components/si91x/ble/inc/rsi_ble_apis.h
access_addr#
uint8_t rsi_ble_per_transmit_s::access_addr[4]
Access address with which packets are transmitted.
917
of file components/si91x/ble/inc/rsi_ble_apis.h
phy_rate#
uint8_t rsi_ble_per_transmit_s::phy_rate
Phy rate at which packets are transmitted 1 1Mbps 2 2 Mbps 4 125 Kbps Coded 8 500 Kbps Coded.
923
of file components/si91x/ble/inc/rsi_ble_apis.h
rx_chnl_num#
uint8_t rsi_ble_per_transmit_s::rx_chnl_num
Rx channel number (0 - 39)
925
of file components/si91x/ble/inc/rsi_ble_apis.h
tx_chnl_num#
uint8_t rsi_ble_per_transmit_s::tx_chnl_num
Tx channel number (0 - 39)
927
of file components/si91x/ble/inc/rsi_ble_apis.h
scrambler_seed#
uint8_t rsi_ble_per_transmit_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 receive side
930
of file components/si91x/ble/inc/rsi_ble_apis.h
le_chnl_type#
uint8_t rsi_ble_per_transmit_s::le_chnl_type
LE channel type (data or advertise channel) 0x00 Advertise Channel 0x01 Data Channel (to be used by Default)
934
of file components/si91x/ble/inc/rsi_ble_apis.h
freq_hop_en#
uint8_t rsi_ble_per_transmit_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)
939
of file components/si91x/ble/inc/rsi_ble_apis.h
ant_sel#
uint8_t rsi_ble_per_transmit_s::ant_sel
Select the antenna to be used.
Refer to the data sheet for your hardware to check whether or not it contains an onboard antenna. 2 ONBOARD_ANT_SEL 3 EXT_ANT_SEL
943
of file components/si91x/ble/inc/rsi_ble_apis.h
pll_mode#
uint8_t rsi_ble_per_transmit_s::pll_mode
pll_mode type to be used 0 PLL_MODE0 (to be used by Default) 1 PLL_MODE1
947
of file components/si91x/ble/inc/rsi_ble_apis.h
rf_type#
uint8_t rsi_ble_per_transmit_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
952
of file components/si91x/ble/inc/rsi_ble_apis.h
rf_chain#
uint8_t rsi_ble_per_transmit_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
957
of file components/si91x/ble/inc/rsi_ble_apis.h
pkt_len#
uint8_t rsi_ble_per_transmit_s::pkt_len[2]
Length of the packet to be transmitted.
959
of file components/si91x/ble/inc/rsi_ble_apis.h
payload_type#
uint8_t rsi_ble_per_transmit_s::payload_type
Type of payload data sequence 0x00 PRBS9 sequence �11111111100000111101...
0x01 Repeated �11110000� 0x02 Repeated �10101010� 0x03 PRBS15 0x04 Repeated �11111111� 0x05 Repeated �00000000� 0x06 Repeated '00001111' 0x07 Repeated '01010101'
969
of file components/si91x/ble/inc/rsi_ble_apis.h
tx_power#
uint8_t rsi_ble_per_transmit_s::tx_power
Transmit Power Transmit power value for the rf_chain parameter set to the HP chain the values for the TX power indexes are 0 - 20.
Transmit power value for the rf chain parameter set to LP chain and values are: 0 -31 o/p power equation is -2+10log10(power_index/31) 32-63 o/p power equation is 6 + 10log10((power_index -32)/31) TX power for the BLE LP Chain :1 to 31 (0dBm Mode), 33 to 63 ( 10dBm Mode) TX power for the BLE HP chain : 64 to 79
978
of file components/si91x/ble/inc/rsi_ble_apis.h
transmit_mode#
uint8_t rsi_ble_per_transmit_s::transmit_mode
Transmit mode to be used either Burst/Continuous 0 BURST_MODE 1 CONTINUOUS_MODE 2 CONTINUOUS_WAVE_MODE (CW_MODE)
983
of file components/si91x/ble/inc/rsi_ble_apis.h
inter_pkt_gap#
uint8_t rsi_ble_per_transmit_s::inter_pkt_gap
This field takes the value of inter packet gap.
Number of slots to be skipped between two packets - Each slot will be 1250 usec
986
of file components/si91x/ble/inc/rsi_ble_apis.h
num_pkts#
uint8_t rsi_ble_per_transmit_s::num_pkts[4]
This field defines the number of packets to be transmitted, default to zero for continuous transmission.
988
of file components/si91x/ble/inc/rsi_ble_apis.h