- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have to decrease the TX power via runtime of the app.
As it is considered somewhat of a risk on our side, we would like to understand better the API function:
CyBle_SetTxPowerLevel
Does the function have any restrictions?
e.g,
When it can be used?
Does it require a delay?
and What will be the safest place to use it?
Unfortunately we cannot change the default settings of the BLE TX power level in PsocCreator.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @D_Sd_3235936 ,
You can call the CyBle_SetTxPowerLevel after CYBLE_EVT_STACK_ON event. Please call the function after few calls of CyBle_ProcessEvents(). For more information, please refer to this function description in the BLE component datasheet.
You can confirm the TxPower level set in the project with CyBle_GetTxPowerLevel api. This function reads the transmit power of the BLE radio for the given BLE sub-system channel group.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @D_Sd_3235936 ,
You can call the CyBle_SetTxPowerLevel after CYBLE_EVT_STACK_ON event. Please call the function after few calls of CyBle_ProcessEvents(). For more information, please refer to this function description in the BLE component datasheet.
You can confirm the TxPower level set in the project with CyBle_GetTxPowerLevel api. This function reads the transmit power of the BLE radio for the given BLE sub-system channel group.
Thanks,
P Yugandhar.