This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: How to setup the advertising pdu payload length with cmd_ble5_adv_aux?

Part Number: CC2640R2F

I am working on advertising packets (AUX_ADV_IND) through the RF command "CMD_BLE5_ADV_AUX", based on the code exported from smartRF studio 7 (ver 2.6.1).

There are three radio operation commands involved, "CMD_BLE5_RADIO_SETUP", "CMD_FS", and "CMD_BLE5_ADV_AUX".

In order to set up the packet advertising, the pointer of the advertising packet data is passed to RF_cmdBle5AdvAux.pParams->pAdvPkt. However, I cannot find where to set up the advertising packet length.

Thus my first question is, how to set up the advertising packet parameters (advLen)?

Second question is, where to find the information on setting up an application like smartRF studio 7 for Packet TX or Packet RX on specified channel with specified PHY mode, such as LE2M/LE Coded with S=2/8? There is very few information available on this.

Thanks,

Bin