Other Parts Discussed in Thread: ENERGYTRACE, LAUNCHXL-CC26X2R1, SYSCONFIG
Hello,
This is related to the following thread:
In my peripheral application, I'm using HCI_EXT_SetTxPowerCmd(txPowerIndex) to change the transmit power. I'm passing in an index to the txPowerTable_2400_pa5[] table as the txPowerIndex. The call returns SUCCESS and I check the status field when the HCI_VE_EVENT_CODE/HCI_EXT_SET_TX_POWER event is generated and that is also a success. I then call HCI_ReadTransmitPowerLevelCmd(0, HCI_READ_CURRENT_TX_POWER_LEVEL) and it returns the transmit power in dBm and not as an index in the HCI_COMMAND_COMPLETE_EVENT_CODE/HCI_READ_TRANSMIT_POWER event. The transmit power returned is the one associated with the index I called HCI_EXT_SetTxPowerCmd(txPowerIndex). At this point, the peripheral application code is working as expected; however, when I use equipment to monitor the transmit power of the advertisements, the transmit power is not actually changing. It stays at the DEFAULT_TX_POWER setting (5 dBm for my application) I have the advertisements configured to use GAP_ADV_TX_POWER_NO_PREFERENCE.
Is there something that needs to be done in the peripheral application, besides calling HCI_EXT_SetTxPowerCmd(txPowerIndex), to get the TxPower to change? Is there some setting that needs to be set to be able to change the TxPower? Any advice you can offer would be very helpful.
Thanks,
Dawn