I have just bought the CC2540 Mini Development Kit and started to check some BTLE performances: operative range, data throughput, etc.
I would like to know if the currently TX power used by LL Master (USB Dongle programmed with HostTestRelease firmware) and LL Slave (KeyFob programmed with KeyFobDemo firmware) is 0dBm and if there is a way to change the default setting.
Fabrizio Renzulli.
Yes, the Tx power default value is 0dBm for master and slave builds.. Use the function HCI_EXT_SetTxPowerCmd to change it. The function prototype and description can be found in hci.h.
Hi,
as far as I know, the TX powers can be set: -23dbm, -6dbm, 0 dbm and +4dbm; What If I need i.e. -10dBm tx power? Can this be done?
Regards
The four output power settings should be sufficient. Making a -10dBm power level would be possible, however there isn't any reason to. The current saving from a -6dBm to a -10dBm would be negligible.
---------------------------------------------------------------------------------------------------------Please click the Verify Answer button on this post if it answers your question.---------------------------------------------------------------------------------------------------------
Where should I call this function so as not to mess anything up? From my application's init-function of from the main before starting the system?
If you are just changing it once, the easiest thing to do is to set it in the init-function; however the stack does allow you to change it any time (even during a connection) without causing any issues.