Detecting presence of Bangle.js 2 on Linux command line #6969
Replies: 1 comment
-
Posted at 2024-07-14 by user140377 Try https://www.espruino.com/Interfacing, it has gatttool demos. Also I would wrap the gatttool in the shell command timeout. Posted at 2024-07-14 by arthurgleckler Thanks. I tried gatttool, but like the other tools, it never sees the Bangle.js 2. It sees countless other devices in the area, but not the watch. Curious. Posted at 2024-07-14 by @fanoush
Posted at 2024-07-22 by @gfwilliams As @fanoush says - it may be your Bangle is already connected to something (like your phone) so is not advertising - but you can force it if you need to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2024-07-14 by arthurgleckler
I'm hoping to use Bluetooth LE and my Bangle.js 2 to let my Linux laptop detect whether I'm it. I've read all kinds of Linux tutorials on using hcitool, gattttool, and other command-line tools, but I've never been able to get one of them to detect the watch. (It detects my phone and other devices just fine.) Does anyone know of a way to detect whether the watch is nearby on the Linux command line?
Thanks for any clues.
Beta Was this translation helpful? Give feedback.
All reactions