Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Samsung Android BLE multiple read/write

In Samsung 4.2 to 4.3 BLE App Migration Guide (http://developer.samsung.com/ble) it says:

The synchronous nature of the stack and F/W hasn’t been affected. That is, if we call for example, writeCharacteristic for a particular characteristic, if it returns true, the next call to any BluetoothGatt or BluetoothGattServer method should be done after the onCharacteristicRead callback is received. This is because the stack is designed to support and process only one GATT call at a time, and if, for example, you call writeCharacteristic or readCharacteristic of any characteristic soon after the first one, it is ignored.

Is there mistake in this paragraph? When I need multiple writes why should I need to read that characteristics before/after each write? I think it should be like this:

.. That is, if we call for example, writeCharacteristic for a particular characteristic, if it returns true, the next call to any BluetoothGatt or BluetoothGattServer method should be done after the onCharacteristicWrite callback is received. ...

like image 836
ulusoyca Avatar asked Feb 21 '26 13:02

ulusoyca


1 Answers

Yes it is of course the onCharacteristicWrite callback. Most likely a copy paste error

like image 150
user2009449 Avatar answered Feb 24 '26 02:02

user2009449



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!