Open glennra opened 5 years ago
The status parameter is used to check if a connection was successful but the newState parameter should be checked for the connection state. Also there is no propagation of other statuses such as "disconnected by device".
Possible fix here: https://github.com/tijmenvangulik/cordova-ble/commit/b802262619711f5bffc2ebcaf0d3037f9d6ddd81
The status parameter is used to check if a connection was successful but the newState parameter should be checked for the connection state. Also there is no propagation of other statuses such as "disconnected by device".