I think I've answered the first question. Some Espressif examples, such as ble_spp_server call xQueueSend() from the GATT event handler, so the xxxFromISR() versions are not necessary.
I'm still unsure about the second question - any suggestions?
Search found 7 matches
- Tue Nov 23, 2021 3:09 am
- Forum: ESP-IDF
- Topic: ESP32 FreeRTOS - Posting to a queue from BLE GATT event handler
- Replies: 1
- Views: 2449
- Wed Nov 17, 2021 4:04 am
- Forum: ESP-IDF
- Topic: ESP32 FreeRTOS - Posting to a queue from BLE GATT event handler
- Replies: 1
- Views: 2449
ESP32 FreeRTOS - Posting to a queue from BLE GATT event handler
I have an ESP32 running as a GATT server which receives 512 bytes of data at a time from the GATT client. I want to then transmit this data over UART. A pointer to the data gets posted to a FreeRTOS queue, which is received by my uart_tx_task. I am thinking the fastest way to do this would be to hav...
- Thu Jun 24, 2021 5:16 am
- Forum: ESP-IDF
- Topic: BLE error detection
- Replies: 1
- Views: 2417
BLE error detection
Hi I've read in a few places that the BLE spec requires a packet to be retransmitted if its checksum calculated at the receiver does not match the checksum sent by the transmitter i.e. error detection. I want to confirm whether this is true, and that the ESP32 BLE stack using Bluedroid implements th...
- Thu Jun 03, 2021 8:07 pm
- Forum: General Discussion
- Topic: OTA update using encrypted binary over HTTPS
- Replies: 4
- Views: 8893
Re: OTA update using encrypted binary over HTTPS
Replying for traction. I'm also interested in seeing an answer to this.
- Thu Apr 08, 2021 2:16 am
- Forum: ESP-IDF
- Topic: Where are characteristic values stored in ESP-IDF?
- Replies: 0
- Views: 1906
Where are characteristic values stored in ESP-IDF?
I was looking through the gatts_table_creat_demo.c example and I noticed in the attribute table all of the characteristic value entries in the table, the "value" field (i.e. esp_attr_desc_t.value) is a pointer to char_value[4] (a literal array of 8-bit hex values). This struck me as odd because I th...
- Wed Mar 31, 2021 12:54 am
- Forum: General Discussion
- Topic: BLE throughput from smartphone to ESP32
- Replies: 0
- Views: 2588
BLE throughput from smartphone to ESP32
I am beginning to plan a project using an ESP32-WROVER-E and would like to measure the BLE throughput. I am looking to do OTA over BLE. I have set up two ESP32's with the throughput client and server examples provided by Espressif. Both write and notify throughput report a data rate of ~91 kB/s whic...
- Thu Jan 28, 2021 10:12 pm
- Forum: ESP-IDF
- Topic: Does the ESP-IDF Bluetooth API use any hardware timers
- Replies: 1
- Views: 1837
Does the ESP-IDF Bluetooth API use any hardware timers
I am considering using an ESP32 for a new project. This project will require use of all four of the ESP32's hardware timers. I also want to use Bluetooth/BLE for this project using the ESP-IDF API. I am wanting to know if the API uses any of the hardware timers to implement the Bluetooth functions, ...