Adjust the TX power level

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

cross mob
Anonymous
Not applicable

Hi,

Is there any API to adjust the tx power level without re-connect or reboot?

Thanks

ChienYi

0 Likes
1 Solution
Anonymous
Not applicable

Hello chienyiyen,

  1. Scan results are advertising reports, and these are passed in through a callback registered with blecm_RegleAdvReportCb()
  2. See hello_client sample app for an example usage
    .

I hope this answers your questions

Thank you

JT

View solution in original post

8 Replies
ShawnA_01
Employee
Employee
10 questions asked 5 comments on KBA First comment on KBA
0 Likes
Anonymous
Not applicable

Hi Shawn,

Thanks for your reply.

When the device is in the search mode, could we use the API to adjust the TX power level?

Thanks

ChienYi

0 Likes

Not familiar with search mode? Do you mean scanning?

Here's the BLE modes...

  • Standby: device does not send or receive packets
  • Advertising: peripheral sends advertising packets on special channels
    • Uses 3 channels which include 37, 38, and 39; these channels are 2.402GHz, 2.426GHz, and 2.480GHz respectively
    • Advertising packets can vary in length from 8 to 39 octets
    • Connectable(directed and undirected),Non-connectable(undirected)
  • Scanning: central device listens on advertising channels
  • Initiating: central device establishes a connection to the peripheral device which sent the advertisement
  • Connected: devices communicate with one another in a master or slave role
Anonymous
Not applicable

Hi mwf,

Thanks for your reply.

I mean the advertising and initiating mode.


Another question, Is there API which we can get the scanning result?

Thanks

ChienYi

0 Likes
Anonymous
Not applicable

Hello chienyiyen,

What do you mean by the scanning result?

Result of available Advertisers/Broadcasters?

JT

0 Likes
Anonymous
Not applicable

Hello JT,

Yes.

Thanks

ChienYi

0 Likes
Anonymous
Not applicable

Hello chienyiyen,

  1. Scan results are advertising reports, and these are passed in through a callback registered with blecm_RegleAdvReportCb()
  2. See hello_client sample app for an example usage
    .

I hope this answers your questions

Thank you

JT

Anonymous
Not applicable

Hi JT,

Thanks for your reply.

It is useful!~

Thanks

ChienYi

0 Likes