Public Attributes#

uint8_t

Command ID Takes per BLE_TRANSMIT_CMD_ID of value 0x13.

uint8_t

Enables/disables the BLE per transmit mode 1 PER Transmit Enable 0 PER Transmit Disable.

uint8_t

Access address with which packets are transmitted.

uint8_t

Phy rate at which packets are transmitted 1 1Mbps 2 2 Mbps 4 125 Kbps Coded 8 500 Kbps Coded.

uint8_t

Rx channel number (0 - 39)

uint8_t

Tx channel number (0 - 39)

uint8_t

Initial seed to be used for whitening.

uint8_t

LE channel type (data or advertise channel) 0x00 Advertise Channel 0x01 Data Channel (to be used by Default)

uint8_t

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)

uint8_t

Select the antenna to be used.

uint8_t

pll_mode type to be used 0 PLL_MODE0 (to be used by Default) 1 PLL_MODE1

uint8_t

Selection of RF type (internal/external) 0 BT_EXTERNAL_RF 1 BT_INTERNAL_RF (to be used by Default)

uint8_t

Selection of RF Chain (HP/LP) to be used 2 BT_HP_CHAIN 3 BT_LP_CHAIN.

uint8_t

Length of the packet to be transmitted.

uint8_t

Type of payload data sequence 0x00 PRBS9 sequence �11111111100000111101...

uint8_t

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.

uint8_t

Transmit mode to be used either Burst/Continuous 0 BURST_MODE 1 CONTINUOUS_MODE 2 CONTINUOUS_WAVE_MODE (CW_MODE)

uint8_t

This field takes the value of inter packet gap.

uint8_t

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.


Definition at line 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.


Definition at line 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.


Definition at line 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.


Definition at line 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)


Definition at line 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)


Definition at line 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


Definition at line 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)


Definition at line 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)


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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


Definition at line 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.


Definition at line 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'


Definition at line 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


Definition at line 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)


Definition at line 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


Definition at line 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.


Definition at line 988 of file components/si91x/ble/inc/rsi_ble_apis.h