react-native-ble-manager 11.3.1 → 11.3.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.
|
@@ -1069,7 +1069,7 @@ public class Peripheral extends BluetoothGattCallback {
|
|
|
1069
1069
|
if (!gatt.writeCharacteristic(characteristic)) {
|
|
1070
1070
|
// write without response, caller will handle the callback
|
|
1071
1071
|
for (Callback writeCallback : writeCallbacks) {
|
|
1072
|
-
writeCallback.invoke("Write failed",
|
|
1072
|
+
writeCallback.invoke("Write failed", null);
|
|
1073
1073
|
}
|
|
1074
1074
|
writeCallbacks.clear();
|
|
1075
1075
|
completedCommand();
|