@iotize/device-com-ble.cordova 3.5.1 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -509,6 +509,7 @@ public class BLECom extends CordovaPlugin {
|
|
|
509
509
|
executeAsync(() -> {
|
|
510
510
|
try {
|
|
511
511
|
finalPeripheral.bleConnect();
|
|
512
|
+
finalPeripheral.setConnectionStatus(ConnectionState.CONNECTED);
|
|
512
513
|
pluginResponse.newResult("CONNECTED");
|
|
513
514
|
} catch (Exception e) {
|
|
514
515
|
pluginResponse.error(BLEComError.connectionError(e));
|