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.

How to confirm HCI_EXT_SetRxGainCmd in CC254x BLE stack ?

Other Parts Discussed in Thread: BLE-STACK

Hi,

I'm using the HCI_EXT_SetRxGainCmd() to set the RF receiver to high gain, at the end of the xxx_init function of the SimpleBLEPeripheral project.

How to confirm that the receiver gain has been set as expected ?
Will the peak current go significantly higher in high gain than in standard gain, by how much?
Or is there any RF register I can read out to confirm the gain has been set correctly ?

- Thomas

 

  • Hey Thomas,

    You should receive a vendor specific command complete packet from the controller over your serial interface. Within this packet will be a status byte that will return either a success (0x00) or an error code. The HCI Guide in the BLE-Stack download will have more information about this command complete event.

    -Matt

  • Just a quick screen clip I got from using BTool to show command complete event packet structure: