RSSI for connections - help with setRSSIHandler() #1994
Replies: 3 comments
-
Posted at 2017-02-03 by @gfwilliams Right now, you can:
I'm afraid there isn't a way to get the RSSI of the other device if the Puck is central - you'd have to disconnect and use edit: I'll try and fix those docs too |
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-03 by billsalt Hi @gfwilliams, Hope I'm not taking too much of your bandwidth, but really appreciate the help as I explore the puck with some practical applications. I've been in contact with the Nordic folks and the SoftDevice does support getting RSSI for each handle (connection). It would be great to have a way to access this on the puck. See below:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2017-02-03 by @gfwilliams I've filed a bug for it here: espruino/Espruino#1047 But it's pretty low priority IMO since if you're disconnected you can just scan for advertising packets. It is all Open Source so if you're desperate it's possible to add it yourself :) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-02-03 by billsalt
Hi,
I need some help understanding setRSSIHandler(). I want to get RSSI for individual connections that are made from the puck-js when operating as a Central. The scenario is: device connects to puck (puck as peripheral), puck connects to another device (puck as central) simultaneously. What does setRSSIHandler report?
A code snippet would also be helpful; the documentation shows a commented snippet without context and is probably part of my confusion.
Thanks!
Bill
Beta Was this translation helpful? Give feedback.
All reactions