summaryrefslogtreecommitdiff
path: root/extmod/modbluetooth.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-04-05 15:33:55 +1000
committerDamien George <damien.p.george@gmail.com>2020-04-07 13:46:56 +1000
commitc5a21a94f8f5cec391df3728b413644d47f455d2 (patch)
treeba3095c9ca5c01be639de123dbf20e40581a70ad /extmod/modbluetooth.h
parent899e89d4c672c94cea794d5e3128e9cefce15382 (diff)
extmod/modbluetooth: Provide FLAG_WRITE_NO_RESPONSE for characteristics.
This flag is supported and needs to be set if characteristics are write- without-response.
Diffstat (limited to 'extmod/modbluetooth.h')
-rw-r--r--extmod/modbluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/modbluetooth.h b/extmod/modbluetooth.h
index 2055b979b..376d3f5ac 100644
--- a/extmod/modbluetooth.h
+++ b/extmod/modbluetooth.h
@@ -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)