Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set BLE connection TX power #9182

Open
edwardatki opened this issue Apr 15, 2024 · 1 comment
Open

Set BLE connection TX power #9182

edwardatki opened this issue Apr 15, 2024 · 1 comment

Comments

@edwardatki
Copy link

edwardatki commented Apr 15, 2024

I recently had a board manufactured based on an NRF52840 and have experienced very poor BLE range no doubt due to a poorly designed antenna on my part, however in my search for a short term fix I discovered that there is currently no way to set the TX power for BLE connections.

It is possible to set it for advertisements with the Advertisement.tx_power property but as far as I can tell this does not carry over once a connection is established.

Given how BLE connections are implemented in circuitpython, I would suggest that connection TX power should be set globally rather than per connection. Perhaps this would best be done by finally making BLERadio.tx_power settable.

@edwardatki edwardatki changed the title Set BLE connection tx power Set BLE connection TX power Apr 15, 2024
@dhalbert dhalbert added this to the Long term milestone Apr 16, 2024
@dhalbert
Copy link
Collaborator

As noted above and in #5988, transmit power is set per connection. This is not exactly a dupe of #5988 because that proposes power control per connection. Adding both a default connection power and per-connection power I think makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants