Philip Peitsch
Philip Peitsch
Fixed in https://github.com/don/cordova-plugin-ble-central/commit/8d574ca5eb6a5e86765dda9c0a17d6c7aa1f9a1c
I've just encountered this issue recently. It's likely caused by the lazy-loading of the BLE bridge here: https://github.com/imranaftab/Ionic-react-capacitor-BLE-scan-issue-/blob/61d5021df934f1fe7150a257802edbdea89b4baa/ios/App/App/config.xml#L6 This is on my radar to fix in the coming weeks. @delvinwidjaja...
Noting for myself, one attempt which might affect this was previously made at https://github.com/don/cordova-plugin-ble-central/pull/735 That approach is what I'd entertain here, will need to figure out the threading issue described...
@tigohenryschultz apologies for the confusion, but what you are describing is exactly what I expect to see 🙂 It does result, but the first time it resolves with `false` because...
On the first call, I'd simply call a second time if it returns false. If the value comes back true, you're good to assume the Bluetooth is enabled!
Hello @Sebartus Unfortunately, this plugin doesn't provide the capability to define a service and characteristic, as would be necessary to support the proper CTS workflow. I have no real plans...
Hi @Darkmagister, I'm not aware of how arduino firmware can be pushed via Bluetooth. A quick google turns up things like https://learn.sparkfun.com/tutorials/esp32-ota-updates-over-ble-from-a-react-web-application/all , which suggests it's possible. This isn't on...
Just spring-cleaning a bit. The plugin supports all the low level things required to create such a service in javascript. I can't see any improvements or additional features needed to...
This has some relation to #826
Fixed in https://github.com/don/cordova-plugin-ble-central/commit/26a142dcc9a4330591cf2b90a32987bc897b8db8