getConnectedDevice
See original GitHub issueawait RNBluetoothClassic.getConnectedDevice(); - returned an error - No devices connected (( But the device is already connected! Device: iPad Air
index.tsx:274 Error: No bluetooth device connected
at RNBluetoothClassic.fn [as getConnectedDevice] (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:2165:36)
at App.initialize$ (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:133436:88)
at tryCatch (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:29290:19)
at Generator.invoke [as _invoke] (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:29465:24)
at Generator.prototype.(anonymous function) [as next] (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:29333:23)
at tryCatch (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:29290:19)
at invoke (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:29366:22)
at http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:29376:15
at tryCallOne (http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:3244:14)
at http://192.168.0.107:8081/index.bundle?platform=ios&dev=true&minify=false:3345:17
index.tsx:279 initializeDevices::list
index.tsx:280 []
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
BluetoothManager - Android Developers
Get connected devices for the specified profile. int, getConnectionState(BluetoothDevice ... public List<BluetoothDevice> getConnectedDevices (int profile).
Read more >BluetoothManager.getConnectedDevices - Java - Tabnine
Get list of connected Bluetooth LE devices ; BluetoothManager bluetoothManager = (BluetoothManager) mContext.getSystemService(Context.BLUETOOTH_SERVICE); ; List< ...
Read more >Android bluetooth get connected devices - Stack Overflow
To see a complete list, this is a 2-step operation: get list of currently paired devices; scan for, or discover, all others in...
Read more >Example usage for android.bluetooth BluetoothManager ...
Introduction. In this page you can find the example usage for android.bluetooth BluetoothManager getConnectedDevices.
Read more >BluetoothManager.GetConnectedDevices(ProfileType) Method
Get connected devices for the specified profile.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the info @kenjdavidson! Our app is for enterprise / government use so they are used to paying $1500+ for RFID scanners. I reached out to a manufacturer so will see how that goes. I confirmed the device I am using works with iOS because I tested with SerialMagic Keys iOS app.
Thanks for the shoutout on mustache! My wife hated it at first then when I shaved it she missed it and I have had it ever since. Haha!
I’m not an expert, but I’d say 99% from the manufacturer. The only company I’ve seen RELEASE their MFi codes is Zebra (scanners/printers) but those are only for test, in order to release the app to the store you need to have the manufacturer sign off on each iteration of your app (name,version,reason for use). The vendor we use has been fantastic in this regards, but for just playing around with bluetooth classic, it doesn’t seem realistic.
MFi compliant devices seem to be 3-4x the cost of non MFi compliant devices (with regards to Zebra anyhow). It makes sense, since it costs these companies so much to go through the MFi processes, they need to recoup it somehow.
Again, I may be completely wrong - so take this with a grain of salt.
ps… That’s a god damned amazing mustache! My wife refuses to come near me if I even attempt one.