Search found 19 matches

by elDi@mond
Mon Apr 22, 2024 5:29 am
Forum: General Discussion
Topic: mbedtls_ssl_read returned -0x7100 or -0x4C
Replies: 1
Views: 2031

Re: mbedtls_ssl_read returned -0x7100 or -0x4C

The problem is solved!

0x7100 SSL - Bad input parameters to function
Solution: Missed "\r\n" at the end of request
0x004C NET - Reading information from the socket failed
Soulion: Marks end of data stream
by elDi@mond
Thu Apr 18, 2024 8:02 am
Forum: General Discussion
Topic: mbedtls_ssl_read returned -0x7100 or -0x4C
Replies: 1
Views: 2031

mbedtls_ssl_read returned -0x7100 or -0x4C

I have a trouble with load image file from my web server. My code is based on \examples\protocols\https_mbedtls code example ESP_LOGI(TAG, "Writing HTTP request..."); size_t written_bytes = 0; size_t request_size = strlen(https_request.request); do { ret = mbedtls_ssl_write(&ssl, (const unsigned cha...
by elDi@mond
Thu May 25, 2023 6:59 am
Forum: ESP-IDF
Topic: ESP32 BLE Connection speed-up
Replies: 2
Views: 1382

Re: ESP32 BLE Connection speed-up

Bump :|
by elDi@mond
Wed May 17, 2023 10:01 am
Forum: ESP-IDF
Topic: ESP32 BLE Connection speed-up
Replies: 2
Views: 1382

ESP32 BLE Connection speed-up

Greeting all! I have several (4 at now, and up to 16 in future) ESP32 devices working thru BLE. At some moment one device recieve new data from phone and must to resend it to another devices thru BLE. So, i initing connection via esp_ble_gattc_open (...), then check status of connection in case of E...
by elDi@mond
Thu Aug 18, 2022 10:28 am
Forum: ESP-IDF
Topic: MTU with BLE-MESH & BLE
Replies: 2
Views: 2113

MTU with BLE-MESH & BLE

Hi, everyone My project assuming coexist BLE-MESH and BLE in parallel. I need to send some amount of data (about 2-4Kb) thru BLE. So i hit problem unable to change MTU size. esp_ble_gatt_set_local_mtu(517) returns ESP_OK When connecting there are message: ESP_GATTS_MTU_EVT, MTU 23 Thru NRF-connect i...
by elDi@mond
Fri Jul 15, 2022 10:21 am
Forum: General Discussion
Topic: Delete stored BLE Mesh configuration
Replies: 4
Views: 3448

Re: Delete stored BLE Mesh configuration

I found it! :D

Code: Select all

esp_ble_mesh_provisioner_direct_erase_settings()
by elDi@mond
Tue Jul 12, 2022 8:35 am
Forum: General Discussion
Topic: Delete stored BLE Mesh configuration
Replies: 4
Views: 3448

Re: Delete stored BLE Mesh configuration

And if i need to hard-reset stored parametrs, by pushing button, what should be done?
by elDi@mond
Mon Jul 11, 2022 5:20 am
Forum: General Discussion
Topic: Delete stored BLE Mesh configuration
Replies: 4
Views: 3448

Delete stored BLE Mesh configuration

To save network settings enough set parameter in menuconfig Store BLE Mesh configuration
Question is how to "manual", thru code, remove saved parameters?
by elDi@mond
Fri Jul 08, 2022 6:42 am
Forum: General Discussion
Topic: BLE Mesh parameters
Replies: 3
Views: 10120

Re: BLE Mesh parameters

I have a same question, how to delete stored network settings?
by elDi@mond
Wed Apr 20, 2022 12:35 pm
Forum: ESP-IDF
Topic: Multi client ble mesh
Replies: 13
Views: 8988

Re: Multi client ble mesh

any ideas? i realy need help

How, using vendor model, i can increase node number, what should i change?

with best regards