BLE: Use synchronous BLE events and ATTC write queue
Compare changes
+ 124
− 11
@@ -13,15 +13,29 @@ enum notification_status {
@@ -99,6 +113,8 @@ static void handle_att_event(struct epic_att_event *att_event)
@@ -142,6 +158,8 @@ static void handle_att_event(struct epic_att_event *att_event)
@@ -189,6 +207,8 @@ static void handle_att_event(struct epic_att_event *att_event)
@@ -260,6 +280,73 @@ static void handle_att_event(struct epic_att_event *att_event)
@@ -345,6 +432,7 @@ int mp_bluetooth_init(void)
@@ -617,6 +705,8 @@ int mp_bluetooth_gatts_notify_send(
@@ -642,6 +732,8 @@ int mp_bluetooth_gatts_notify_send(
@@ -775,6 +867,7 @@ int mp_bluetooth_gattc_discover_descriptors(
@@ -786,17 +879,37 @@ int mp_bluetooth_gattc_write(