Hello, I have just started with ESP32 and tried to run esp-idf gatt-server example on Heltek board. I configured everthing as described in idf tutorials, successfully built in eclipse and flashed to device. The monitor shows:
Code: Select all
...
I (613) GATTS_DEMO: REGISTER_APP_EVT, status 0, app_id 0
I (623) GATTS_DEMO: CREATE_SERVICE_EVT, status 0, service_handle 40
I (623) GATTS_DEMO: SERVICE_START_EVT, status 0, service_handle 40
I (633) GATTS_DEMO: ADD_CHAR_EVT, status 0, attr_handle 42, service_handle 40
I (633) GATTS_DEMO: the gatts demo char length = 3
I (633) GATTS_DEMO: prf_char[0] =11
I (633) GATTS_DEMO: prf_char[1] =22
I (633) GATTS_DEMO: prf_char[2] =33
I (643) GATTS_DEMO: ADD_DESCR_EVT, status 0, attr_handle 43, service_handle 40
I (643) GATTS_DEMO: REGISTER_APP_EVT, status 0, app_id 1
I (643) GATTS_DEMO: CREATE_SERVICE_EVT, status 0, service_handle 44
E (653) BT: osi_mem_dbg_record invalid !!
I (653) GATTS_DEMO: SERVICE_START_EVT, status 0, service_handle 44
I (653) GATTS_DEMO: ADD_CHAR_EVT, status 0, attr_handle 46, service_handle 44
I (663) GATTS_DEMO: ADD_DESCR_EVT, status 0, attr_handle 47, service_handle 44
And thats all, no BLE scanned by nRF Connect. I checked "esp_ble_gap_ "functions return values and they are all 0. But It seems that bluetooth hardware does not work. Please help.