Search found 728 matches

by chegewara
Sun Jun 23, 2019 6:38 pm
Forum: ESP32 IDF
Topic: How to receive a byte array via BLE???
Replies: 3
Views: 92

Re: How to receive a byte array via BLE???

Thru ble you can send packets of bytes, its up to you what those bytes represent. If you send array of bytes it will be just packet of bytes for ble application, but in your code you can cast it to array or even structure. Look here: esp_ble_gattc_write_char_descr(esp_gatt_if_tgattc_if, uint16_t con...
by chegewara
Thu Jun 13, 2019 4:14 pm
Forum: ESP32 IDF
Topic: Captive portal for esp-idf instead of Arduino
Replies: 2
Views: 169

Re: Captive portal for esp-idf instead of Arduino

Recently i found this one and with very few changes it works:
https://github.com/cornelis-61/esp32_Captdns
by chegewara
Thu Jun 13, 2019 4:00 pm
Forum: ESP32 IDF
Topic: esp_http_client_read() returning wrong data
Replies: 1
Views: 109

Re: esp_http_client_read() returning wrong data

Probably data amount is bigger than buffer size and you have to read and concatenate data in this event: case HTTP_EVENT_ON_DATA: ESP_LOGD(TAG, "HTTP_EVENT_ON_DATA, len=%d", evt->data_len); if (!esp_http_client_is_chunked_response(evt->client)) { // Write out data // printf("%.*s", evt->data_len, (c...
by chegewara
Thu Jun 13, 2019 3:48 pm
Forum: ESP32 Arduino
Topic: [SOLVED] I'm wondering if the ESP32 can call a method right before it crashes
Replies: 3
Views: 213

Re: [SOLVED] I'm wondering if the ESP32 can call a method right before it crashes

Probably its not what you are looking for, but in freertos you have stack overflow hook, which can be called right before crash (in 1 particualr case):
https://www.freertos.org/Stacks-and-sta ... cking.html
by chegewara
Wed Jun 12, 2019 6:50 pm
Forum: ESP32 IDF
Topic: why ble manufacturer data is empty?
Replies: 7
Views: 343

Re: why ble manufacturer data is empty?

There is few things. First of all like i suspected manufacturer data is send in scan response packet. This is advertising packet which is length of 17 bytes: I (18439) GAP: mibp manufacturer size:20, adv_data_len:17 I (18439) GAP: 03 19 00 00 02 01 06 03 03 cd ab 05 09 6d 69 62 I (18449) GAP: 70 Man...
by chegewara
Tue Jun 11, 2019 8:51 pm
Forum: ESP32 IDF
Topic: OTA with Classic Bluetooth
Replies: 2
Views: 145

Re: OTA with Classic Bluetooth

Can you confirm that your binary size is:
Total Write binary data length : 719696

Go to advanced search