Search found 2 matches
- Wed Jun 14, 2017 8:06 am
- Forum: General Discussion
- Topic: How to send data (write char) to BLE without delay?
- Replies: 3
- Views: 8600
Re: How to send data (write char) to BLE without delay?
It works! Thank you for your very detailed and helpful reply. I try to divide the data array to several arrays which size of less than 20 bytes,and set the packet to ESP_GATT_WRITE_TYPE_NO_RSP, then write the arrays one by one to char, finally it dose work, my BLE device receive the data without lat...
- Tue Jun 13, 2017 2:14 am
- Forum: General Discussion
- Topic: How to send data (write char) to BLE without delay?
- Replies: 3
- Views: 8600
How to send data (write char) to BLE without delay?
I call the esp_ble_gattc_write_char() method to send a command to my BLE device, the command is an uint16_t array contain only 40 data like this: uint16_t rawCodes[] = {2550, 950, 350, ……., 600, 300}; I think my data is small enough, but I still get 500ms delay when I send the command from ESP32 to ...