We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf5fec4 commit a9d1941Copy full SHA for a9d1941
src/android/Peripheral.java
@@ -621,7 +621,7 @@ private void processCommands() {
621
int delay = 0;
622
623
// 4/18/17 - NVF Added for delay for wearable writes
624
- if (command.getData()[0]==0x6f) {
+ if (command.getData()!=null && command.getData()[0]==0x6f) {
625
delay = (command.getType() == BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT)?2000:0;
626
627
}
0 commit comments