Philip Peitsch

Results 274 comments of Philip Peitsch

For my own records, the behaviour here was changed in 443c9d1cfb7cedfb7a2341dedc68ea5c4b10d764, in response to #32 It looks like the bug has long since been fixed in cordova itself, so it...

Hi @dufrenb , this is somewhat non-trivial to implement in the plugin currently. The `CBManager` is initialised as soon as the plugin is loaded, which automatically prompts the authorisation request....

Just noting, this is related to these discussions * https://github.com/don/cordova-plugin-ble-central/pull/769 * https://github.com/don/cordova-plugin-ble-central/pull/735 * https://github.com/don/cordova-plugin-ble-central/issues/739#issuecomment-619149028

The `getData` log there is a normal part of the `startNotification` flow: https://github.com/don/cordova-plugin-ble-central/blob/0732380e27772a08df2c6ce6447b4cab901ad4d2/src/ios/BLECentralPlugin.m#L300 Does the Peripheral automatically start sending notifications as soon as you turn them on? Or do you...

Apologies @AngeNew , this fell off my radar. Yes, I'd do the write and then subscribe. What's the console output of `result` there? I'd suggest taking a look at https://github.com/don/cordova-plugin-ble-central/issues/913#issuecomment-1103876933...

As of 1.4.2, it's possible to enable background processing modes on iOS to help with this situation: https://github.com/don/cordova-plugin-ble-central/pull/888 However, no progress has been made on the Android front.

@Doomkyn I believe you might want to look at the `setPin` workflow here. I'm not sure if that fits your requirements exactly though, apologies: https://github.com/don/cordova-plugin-ble-central#setpin

Looking at the PR that added the `setPin` method (https://github.com/don/cordova-plugin-ble-central/pull/718/files) looks like it might be meant to be called before connection? The best I could suggest is checking whether that...

Good pickup! I'll put it on my list... patches welcome however if you have the time & expertise to assist.