Search found 6 matches
- Tue Mar 13, 2018 5:59 am
- Forum: ESP-IDF
- Topic: Should we check the BLE connection when we call esp_ble_gattc_read_char?
- Replies: 2
- Views: 4469
Re: Should we check the BLE connection when we call esp_ble_gattc_read_char?
Hi,kolban. Thanks for your reply! Your are right. When we call esp_ble_gattc_read_char() in such situations that is when the BLE connection is broken, I got the ESP_GATT_ERROR from the "status" field under ESP_GATTC_READ_CHAR_EVT event. I haven't process this error, that caused ESP32 failed since I ...
- Mon Mar 12, 2018 9:24 am
- Forum: ESP-IDF
- Topic: Should we check the BLE connection when we call esp_ble_gattc_read_char?
- Replies: 2
- Views: 4469
Should we check the BLE connection when we call esp_ble_gattc_read_char?
hi, if the ble connection between ESP32 and a device is suddenly broken, when we are periodically calling esp_ble_gattc_read_char ESP32 will run crash. Is there any safe manner to call esp_ble_gattc_read_char something like that: if (ble_connection_is_ok()) { esp_ble_gattc_read_char(); } thanks!
- Tue Jul 04, 2017 7:52 am
- Forum: General Discussion
- Topic: what's the maximum BLE transfer speed beteen ESP32 and Nordic alike ble SOC
- Replies: 1
- Views: 7924
Re: what's the maximum BLE transfer speed beteen ESP32 and Nordic alike ble SOC
Besides lower the connection interval, I have to extend the packet length for BLE. Luckily, ESP32's bluetooth stack accepts the MTU size exchange request issued by NRF52, resulting 247bytes/packet.Now the transfer speed between ESP32 and NRF52 using ble is up to about 12k bytes/s(with packet parsing...
- Mon Jun 26, 2017 9:04 am
- Forum: General Discussion
- Topic: what's the bluetooth event task's priority
- Replies: 4
- Views: 10134
Re: what's the bluetooth event task's priority
Thanks for your advice, One more thing I want to know is that how can you retrieve the priority of bluetooth stack and wifi stack. Are there any reference manual available? I know the example in ESP's SDK treat the app_main as a FreeRTOS's task, what about the other module like bluetooth & wifi stac...
- Mon Jun 26, 2017 5:51 am
- Forum: General Discussion
- Topic: what's the maximum BLE transfer speed beteen ESP32 and Nordic alike ble SOC
- Replies: 1
- Views: 7924
what's the maximum BLE transfer speed beteen ESP32 and Nordic alike ble SOC
Is there any way to achieve maximum ble throughtput between ESP and NRF52832? I tried to change the connection interval, but the parameter was denied by ESP32, because the BLE stack of ESP32 return 0x3b which means CONN_INTERVAL_UNACCEPTABLE. Are there any docs describing the minimum connection inte...
- Mon Jun 19, 2017 3:17 am
- Forum: General Discussion
- Topic: what's the bluetooth event task's priority
- Replies: 4
- Views: 10134
what's the bluetooth event task's priority
what's the default bluetooth event task's priority? If I want to create a FreeRTOS task that it's priority is higher than bluetooh. I want to treat the data received from bluetooth's notify event as the producer, and a task that acts as a consumer. Is there a way to set this consumer task's priority...