Public Attributes#

uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t
uint8_t

Public Attribute Documentation#

cmd_ix#

uint8_t cmd_ix

Command ID
Takes per BLE_TRANSMIT_CMD_ID of value 0x13


transmit_enable#

uint8_t transmit_enable

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


access_addr#

uint8_t access_addr[4]

Access address with which packets are transmitted


phy_rate#

uint8_t phy_rate

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


rx_chnl_num#

uint8_t rx_chnl_num

Rx channel number (0 - 39)


tx_chnl_num#

uint8_t tx_chnl_num

Tx channel number (0 - 39)


scrambler_seed#

uint8_t 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


le_chnl_type#

uint8_t 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 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 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 pll_mode

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


rf_type#

uint8_t 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 rf_chain

Selection of RF Chain (HP/LP) to be used
0 BT_HP_CHAIN
1 BT_LP_CHAIN Note

  • The above macros are applicable for both BT and BLE


pkt_len#

uint8_t pkt_len[2]

Length of the packet to be transmitted


payload_type#

uint8_t 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'


tx_power#

uint8_t 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


transmit_mode#

uint8_t transmit_mode

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


inter_pkt_gap#

uint8_t 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 1250usec


num_pkts#

uint8_t num_pkts[4]

This field defines the number of packets to be transmitted, default to zero for continuous transmission