extmod/btstack: Add support for CCCD to allow client subscriptions.
This allows gatts_write(..., send_update=True) to work, which will send notifications/indications to subscribed clients. btstack already created the CCCD but writes to it were ignored. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
@@ -84,7 +84,7 @@
|
||||
#define MP_BLUETOOTH_DEFAULT_ATTR_LEN (20)
|
||||
#endif
|
||||
|
||||
#define MP_BLUETOOTH_CCCB_LEN (2)
|
||||
#define MP_BLUETOOTH_CCCD_LEN (2)
|
||||
|
||||
// Advertisement packet lengths
|
||||
#define MP_BLUETOOTH_GAP_ADV_MAX_LEN (32)
|
||||
|
||||
Reference in New Issue
Block a user