How to config RF TX Power

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
LeCa_2156671
Level 4
Level 4
First like received First like given

Hi BCM,

     We want to config the BCM20736 RF TX power in some work mode, but we do not know how to call the APIs in WICED, especially the parameter. And we do not find any description about the RF TX power configuration.

     Is there any detail introduction about this part ?

     Many thanks...

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

With reference to hello_sensor app, look for

blecm_setTxPowerInADV(0)


Check out this thread too...


blecm_setTxPowerInADV not working in SDK 2.1.1

View solution in original post

0 Likes
5 Replies
LeCa_2156671
Level 4
Level 4
First like received First like given

Hi BCMs,

     Exactly questions as below:

     1. In WICED, is the function of blecm_setTxPowerInADV() used to set the RF Power ?

     2. What type of this function parameter, db? the parameter unit is db ?

     3. When to call this function? before ADV start  or after ?

     tks

0 Likes

So what are you getting? One problem I see with this implementation is that it rounds up to the next 4dB. And so if you really want low Tx power, set much lower and verify it with an SA.

lemancai

0 Likes

Hi Boont,

     We study the thread U recommand, and we have succeed to set the TX power lower than default.

     Tks

0 Likes
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

With reference to hello_sensor app, look for

blecm_setTxPowerInADV(0)


Check out this thread too...


blecm_setTxPowerInADV not working in SDK 2.1.1

0 Likes
Anonymous
Not applicable

I have also tried moderating the advertising power by using this method and found that it had no effect as measured by scope showing current draw during advertising events.

With the above thread, and the thread referenced by Boont's reply above, that makes at least three users who have demonstrated that the function does not work as advertised.  Can we get some developers to concur on this, and commit to fixing it, or else provide instructions on how to control advertising power?  Because the function provided has no effect on advertising power.

We are trying hard to extend battery life and we have no need to advertise 30 meters away.   Our device pairing takes place at very close proximity and excessive advertising power only wastes precious energy.

Thanks,

eric

0 Likes