Search found 2 matches

by tatsutaigu
Wed Jan 29, 2020 4:18 am
Forum: General Discussion
Topic: ble_spp_server read event error
Replies: 0
Views: 1603

ble_spp_server read event error

Hi, I tried to add ESP_GATTS_READ_EVT process as below line. https://github.com/espressif/esp-idf/blob/d3cc7c0dafb0f1ea347ef0a7250dfec71ad65edf/examples/bluetooth/ble_spp_server/main/ble_spp_server_demo.c#L499 case ESP_GATTS_READ_EVT: ESP_LOGI(GATTS_TABLE_TAG, "GATT_READ_EVT, conn_id %d, trans_id %d...
by tatsutaigu
Tue Jan 28, 2020 9:23 am
Forum: ESP-IDF
Topic: ble_spp_server read event error
Replies: 0
Views: 1587

ble_spp_server read event error

Hi, I would like to modify below sample source. https://github.com/espressif/esp-idf/tree/release/v3.3/examples/bluetooth/ble_spp_server I would like to read data. So, I add code as below. static void gatts_profile_event_handler(esp_gatts_cb_event_t event, esp_gatt_if_t gatts_if, esp_ble_gatts_cb_pa...