Open mikolak opened 3 years ago
write[Characteristic](withResponse: true) does not return response, which should be passed as value from the native clients.
write[Characteristic](withResponse: true)
Proposal: separate write into writeWithResponse and writeWithoutResponse, make writeWithResponse return CharacteristicWithResponse or `Uint8List.
write
writeWithResponse
writeWithoutResponse
CharacteristicWithResponse
Isn't this intended behavior? WriteWithResponse means the peripheral sends back an ack (0x13) after writing to make sure the write request worked.
Server might return a different response which would be swallowed.
write[Characteristic](withResponse: true)
does not return response, which should be passed as value from the native clients.Proposal: separate
write
intowriteWithResponse
andwriteWithoutResponse
, makewriteWithResponse
returnCharacteristicWithResponse
or `Uint8List.