When Bangle.js 2 connects to an Android device? I think if the Android device attempted to connect to the Bangle, there's characteristic 0x2A00 on service 0x1800 that shows the device name.
But since it's effectively the Bangle that is driving the connection, it might be better if you had a characteristic on the Android GATT server that the Bangle wrote the name into.
Having said that, the Bangle's default advertised name is Bangle.js abcd where abcd is the last 4 digits of the Mac address - so given you have the address it'd be trivial to figure out what the name is
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
When Bangle.js 2 connects to an Android device? I think if the Android device attempted to connect to the Bangle, there's characteristic 0x2A00 on service 0x1800 that shows the device name.
But since it's effectively the Bangle that is driving the connection, it might be better if you had a characteristic on the Android GATT server that the Bangle wrote the name into.
Having said that, the Bangle's default advertised name is
Bangle.js abcd
whereabcd
is the last 4 digits of the Mac address - so given you have the address it'd be trivial to figure out what the name is