Closed WalterWirths closed 1 month ago
The code checks if a characteristic with "PROPERTY_WRITE" exists. But the check will fail if the writeable characteristic has the property "PROPERTY_WRITE_NO_RESPONSE". This property is used in libraries like the Arduino BLE serial lib (https://github.com/Uberi/Arduino-HardwareBLESerial). https://github.com/kai-morich/SimpleBluetoothLeTerminal/blame/6ab96d5cc8283b44c384cba76709bad2a5e80c39/app/src/main/java/de/kai_morich/simple_bluetooth_le_terminal/SerialSocket.java#L485-L486
The code checks if a characteristic with "PROPERTY_WRITE" exists. But the check will fail if the writeable characteristic has the property "PROPERTY_WRITE_NO_RESPONSE". This property is used in libraries like the Arduino BLE serial lib (https://github.com/Uberi/Arduino-HardwareBLESerial). https://github.com/kai-morich/SimpleBluetoothLeTerminal/blame/6ab96d5cc8283b44c384cba76709bad2a5e80c39/app/src/main/java/de/kai_morich/simple_bluetooth_le_terminal/SerialSocket.java#L485-L486