[Bangle.js 2] how to get connected device name? #7277
Replies: 1 comment
-
Posted at 2025-01-03 by @fanoush Name is not relevant when connection is made. The device that is initiating the connection does not tell its name and may not have one. If you have the address you may try to scan for nearby devices and see if some name has same address but most likely it won't be visible. Posted at 2025-01-04 by JeonLab Thank you, @fanoush. Posted at 2025-01-04 by Jay The address you are currently seeing is a random privat resolvable address. Espruino will be able to resolve it using the As shown in the docs, you can resolve a private address already in the NRF Posted at 2025-01-04 by JeonLab @jay, thank you for your comment. I will try it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2025-01-02 by JeonLab
Happy New Year, everyone!
I wanted to show a device name that’s connected to my watch. I can get the address using
NRF.getSecurityStatus().connected_addr
, but I wanted the name of the device.
Is there any way to get the connected device name instead of the address?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions