8000 Adding these changes because looks good and even they not needed with… · pycom/pycom-micropython-sigfox@e3f3b41 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit e3f3b41

Browse files
committed
Adding these changes because looks good and even they not needed with esp-idf 3.3.1 adding them to keep sync with the FW with esp-idf 4.1
1 parent ca673c0 commit e3f3b41

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

esp32/mods/modbt.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,10 @@ void bt_resume(bool reconnect)
389389
nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "Bluetooth enable failed"));
390390
}
391391

392+
esp_ble_gap_register_callback(gap_events_handler);
393+
esp_ble_gattc_register_callback(gattc_events_handler);
394+
esp_ble_gatts_register_callback(gatts_event_handler);
395+
392396
esp_ble_gattc_app_register(MOD_BT_CLIENT_APP_ID);
393397
esp_ble_gatts_app_register(MOD_BT_SERVER_APP_ID);
394398

0 commit comments

Comments
 (0)
0