We could change the tx power during the compile time by changing mAdvertisingDefaultTxPower_c. Once compiled, the Tx power is fixed.
Is there any FSCI API for changing the TX power of kw40/41z during the run time ( while bootup)?
In “BLE Host Stack FSCI Reference Manual.pdf”
I could see TxPowerLevelRead but not Set/write.
Looking for "FSCI command" correspond to
SetTxPowerLevel (mAdvertisingDefaultTxPower_c, gAdvTxChannel_c);
During run time, we don't have an API for change the TX Power,
Txs_SetTxPowerLevel, update TX power, but you have to select the dbm that you want to send. You can't change this value in run time