I’ve been attempting to detect whether a bluetooth device is connected to an android phone once a button is clicked. If detected, I would like to interact with this device from within my app. The device I’m talking about is http://www.senanetworks.com/sd1000-01.html . I’ve used the example code of https://www.npmjs.com/package/react-native-ble-manager to test it out, but unfortunately, it’s not picking up this
Tag: bluetooth
Web Bluetooth: how to check if bluetooth is enabled with javascript?
Is it possible to check if bluetooth is enabled with javascript and is there any event to detect its change? There is getAvailability() method in Web Bluetooth API: getAvailability() returns a promise that resolves with true if the user agent is running on a system that has a Bluetooth radio and false otherwise. The powered state of the Bluetooth radio