extmod/modbluetooth: Provide FLAG_WRITE_NO_RESPONSE for characteristics.

This flag is supported and needs to be set if characteristics are write-
without-response.
This commit is contained in:
Damien George
2020-04-05 15:33:55 +10:00
parent 899e89d4c6
commit c5a21a94f8
3 changed files with 3 additions and 3 deletions

View File

@@ -65,6 +65,7 @@
// These match the spec values for these flags so can be passed directly to the stack.
#define MP_BLUETOOTH_CHARACTERISTIC_FLAG_READ (1 << 1)
#define MP_BLUETOOTH_CHARACTERISTIC_FLAG_WRITE_NO_RESPONSE (1 << 2)
#define MP_BLUETOOTH_CHARACTERISTIC_FLAG_WRITE (1 << 3)
#define MP_BLUETOOTH_CHARACTERISTIC_FLAG_NOTIFY (1 << 4)