Search found 6 matches

by mephistod2
Fri Dec 30, 2016 6:23 am
Forum: ESP-IDF
Topic: [Resolved] BLE GATT server example: Service UUID not advertised
Replies: 9
Views: 19680

Re: BLE GATT server example: Service UUID not advertised

Hi there, Unfortunately no one seemed to answer so far and I didn't find out the cause of this yet, but I looked some more into the BLE stack and API and I got a fewmore questions and problems: What is the esp_ble_gatts_app_register call exactly for ? I tried digging deeper into the stack, but don'...
by mephistod2
Thu Dec 29, 2016 12:46 pm
Forum: ESP-IDF
Topic: [Resolved] BLE GATT server example: Service UUID not advertised
Replies: 9
Views: 19680

Re: BLE GATT server example: Service UUID not advertised

"Furthermore, for some reason, I'm not able to connect to the device using the Android app "BLE Scanner", while on iOS with "LightBlue", connection seems to work without any problems."
I met the same problem, Is there any solution yet?
by mephistod2
Thu Dec 29, 2016 6:53 am
Forum: ESP-IDF
Topic: Disabling wifi: reconnect
Replies: 5
Views: 11176

Re: Disabling wifi: reconnect

case SYSTEM_EVENT_STA_DISCONNECTED: LOG_INFO("SYSTEM_EVENT_STA_DISCONNECTED\r\n"); // esp_wifi_connect(); xEventGroupClearBits(wifi_event_group, CONNECTED_BIT); I comment out “esp_wifi_connect();” but ESP32 still attempt to reconnect AP.and get "wifi: reconnect" message . so I use "esp_wifi_set_aut...
by mephistod2
Thu Dec 29, 2016 3:23 am
Forum: ESP-IDF
Topic: Disabling wifi: reconnect
Replies: 5
Views: 11176

Re: Disabling wifi: reconnect

I try to use "esp_wifi_set_auto_connect(false)" but ESP32 still continually attempt to reconnect AP. when ESP32 running for a while, "SYSTEM_EVENT_STA_DISCONNECTED" always block other my task.
by mephistod2
Mon Dec 26, 2016 12:55 pm
Forum: General Discussion
Topic: how to send BLE notification to client
Replies: 12
Views: 28034

Re: how to send BLE notification to client

I use "esp_ble_gatts_send_indicate" and get ESP32's notification.
by mephistod2
Mon Dec 26, 2016 9:24 am
Forum: General Discussion
Topic: how to send BLE notification to client
Replies: 12
Views: 28034

how to send BLE notification to client

I try to use "gatt_server " example to make connect to my ipad;

when I click Listen for notifications my ESP32 got a ESP_GATTS_WRITE_EVT on (read/write handle + 1);

but how can I send BLE notification , is there any api for this?