diff options
author | Damien George <damien.p.george@gmail.com> | 2020-04-05 15:33:55 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-07 13:46:56 +1000 |
commit | c5a21a94f8f5cec391df3728b413644d47f455d2 (patch) | |
tree | ba3095c9ca5c01be639de123dbf20e40581a70ad /extmod/modbluetooth.c | |
parent | 899e89d4c672c94cea794d5e3128e9cefce15382 (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.c')
-rw-r--r-- | extmod/modbluetooth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/modbluetooth.c b/extmod/modbluetooth.c index 6c59d05c4..41e46b2f3 100644 --- a/extmod/modbluetooth.c +++ b/extmod/modbluetooth.c @@ -761,6 +761,7 @@ STATIC const mp_rom_map_elem_t mp_module_bluetooth_globals_table[] = { { MP_ROM_QSTR(MP_QSTR_FLAG_READ), MP_ROM_INT(MP_BLUETOOTH_CHARACTERISTIC_FLAG_READ) }, { MP_ROM_QSTR(MP_QSTR_FLAG_WRITE), MP_ROM_INT(MP_BLUETOOTH_CHARACTERISTIC_FLAG_WRITE) }, { MP_ROM_QSTR(MP_QSTR_FLAG_NOTIFY), MP_ROM_INT(MP_BLUETOOTH_CHARACTERISTIC_FLAG_NOTIFY) }, + { MP_ROM_QSTR(MP_QSTR_FLAG_WRITE_NO_RESPONSE), MP_ROM_INT(MP_BLUETOOTH_CHARACTERISTIC_FLAG_WRITE_NO_RESPONSE) }, }; STATIC MP_DEFINE_CONST_DICT(mp_module_bluetooth_globals, mp_module_bluetooth_globals_table); |