summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/btstack/modbluetooth_btstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'extmod/btstack/modbluetooth_btstack.h')
-rw-r--r--extmod/btstack/modbluetooth_btstack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/btstack/modbluetooth_btstack.h b/extmod/btstack/modbluetooth_btstack.h
index 3bdb5f271e..c943b6d72d 100644
--- a/extmod/btstack/modbluetooth_btstack.h
+++ b/extmod/btstack/modbluetooth_btstack.h
@@ -33,6 +33,8 @@
#include "lib/btstack/src/btstack.h"
+typedef struct _mp_btstack_pending_op_t mp_btstack_pending_op_t;
+
typedef struct _mp_bluetooth_btstack_root_pointers_t {
// This stores both the advertising data and the scan response data, concatenated together.
uint8_t *adv_data;
@@ -45,6 +47,7 @@ typedef struct _mp_bluetooth_btstack_root_pointers_t {
#if MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE
// Registration for notify/indicate events.
gatt_client_notification_t notification;
+ btstack_linked_list_t pending_ops;
#endif
} mp_bluetooth_btstack_root_pointers_t;