You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
When I ever enter a wrong pairing number ( when the bluetooth module is not paired ) the onError callback is NOT called ( instead a native message appear to tell you error in the pairing number ) and when I try to pair again it will not pair but this time the onError callback is called with an error code 3 (pairing is already in progress ) .
If this is an issue how to cancel the pairing process ( I already tried to call unpair function with no luck it gives same error -code 3 - )
Tested Device : Note 8 with android version 4.4
Bluetooth Module Device : HC-06
Regards,
The text was updated successfully, but these errors were encountered:
Hi,
This seems to be an issue in the plugin itself.
More specifically here, where for reasons unknown reflection is used to retrieve the createBond method, whereas it is actually available on the BluetoothDeviceitself.
If you can, try using the createBond method from the BluetoothDevice directly instead of the reflection.
EDIT: Actually the new createBond method from BluetoothDevice was just added in API level 19 (Android 4.4).
Hi,
When I ever enter a wrong pairing number ( when the bluetooth module is not paired ) the onError callback is NOT called ( instead a native message appear to tell you error in the pairing number ) and when I try to pair again it will not pair but this time the onError callback is called with an error code 3 (pairing is already in progress ) .
If this is an issue how to cancel the pairing process ( I already tried to call unpair function with no luck it gives same error -code 3 - )
Tested Device : Note 8 with android version 4.4
Bluetooth Module Device : HC-06
Regards,
The text was updated successfully, but these errors were encountered: