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

cross mob
DeCo_1926091
Level 4
Level 4
First like received

I've found CyBle_SetTxPowerLevel(0) in a program called Proximity Bonding, peripheral.  It's purpose is to reduce the advertising transmitter power to such a low level that in order to bond a central device must be placed within a cm or two of it.  This seems to work sometimes and not so much at other times.

I've been unable to find any documentation that talks about the parameter "0".  All I've found are indications (enum) that the value can be from 0x01 through 0x07.

Is the use of "0" legit and, if so, what does it really mean?

Thanks for your help,

Dennis

0 Likes
1 Solution

Hi Dennis,

     You need to pass a valid value for Power Level. '0' is not a valid value. Enum CYBLE_BLESS_PWR_LVL_T  does not have  a valid  '0' value. This is a bug in this example. Thanks for pointing this out.

-Gyan

View solution in original post

4 Replies