fix(nimble): Address compilation issues in nimble examples

This commit is contained in:
Rahul Tank
2025-10-13 10:50:19 +05:30
parent d66ebb86d2
commit 07a9d40a75
34 changed files with 173 additions and 32 deletions
@@ -118,12 +118,14 @@ void app_main(void) {
return;
}
#if CONFIG_BT_NIMBLE_GAP_SERVICE
/* GAP service initialization */
rc = gap_init();
if (rc != 0) {
ESP_LOGE(TAG, "failed to initialize GAP service, error code: %d", rc);
return;
}
#endif
/* GATT server initialization */
rc = gatt_svc_init();