Search found 34 matches

by zamek42@gmail.com
Sun Jul 04, 2021 6:25 pm
Forum: General Discussion
Topic: after refresh git invalid application of 'sizeof' to incomplete type 'struct __lock'
Replies: 5
Views: 5417

after refresh git invalid application of 'sizeof' to incomplete type 'struct __lock'

Hi All, Today after I've refreshed idf (git pull origin master & git submodule update) I've tried to compile my application and I've got the following error: esp-idf/components/newlib/locks.c:240:23: error: invalid application of 'sizeof' to incomplete type 'struct __lock' _Static_assert(sizeof(stru...
by zamek42@gmail.com
Fri Jul 02, 2021 5:00 am
Forum: Hardware
Topic: Which module will be good?
Replies: 4
Views: 3381

Re: Which module will be good?

Hi,

Thx, I'll check it

Bye Zamek
by zamek42@gmail.com
Thu Jul 01, 2021 2:59 pm
Forum: General Discussion
Topic: Enabling BLE Notifications
Replies: 1
Views: 2224

Re: Enabling BLE Notifications

Hi, I used it for a heart rate sensor, esp ble gattc client example was good for me. In nutshell (GATT parts): 1. on ESP_GATTC_CONNECT_EVT you need to call esp_ble_gattc_send_mtu_req() 2. on ESP_GATTC_CFG_MTU_EVT you need to call esp_ble_gattc_search_service() 3. on ESP_GATTC_SEARCH_RES_EVT you need...
by zamek42@gmail.com
Tue Jun 29, 2021 12:47 pm
Forum: Hardware
Topic: Which module will be good?
Replies: 4
Views: 3381

Re: Which module will be good?

Hi Chegewara , Thx for reply, and do you have information about an spi lcd which is compatible with lvgl library? Because I can use wroom modules. At this moment I have a project based on wroom module including ipex,16MB,wifi,ble, but there is not enough pins for a parallel lcd. I have never make an...
by zamek42@gmail.com
Tue Jun 29, 2021 10:49 am
Forum: Hardware
Topic: Which module will be good?
Replies: 4
Views: 3381

Which module will be good?

Hi All, I need these peripherals for my project: - 2 UART (including console) - wifi - Bluetooth 4.x LE - IPEX antenna - LCD display (color & grahics capability) - 2 GPIO - 8MB FLASH I found Kaluga board but AFAIK there is no 8Mb esp-s2-wrover module with 8Mb. Do you have information about what modu...
by zamek42@gmail.com
Tue Jun 22, 2021 9:50 am
Forum: General Discussion
Topic: idf bluetooth gatt client more than one characteristic?
Replies: 0
Views: 1280

idf bluetooth gatt client more than one characteristic?

Hi All,

I need to use a hr sensor, my esp idf app is a gatt client. It works well, but I also need to get the battery level of the sensor. How can I connect more than one characteristic on a gatt client. Is there an example or code snippet to show it?

thx,
Zamek
by zamek42@gmail.com
Wed Apr 28, 2021 5:51 pm
Forum: ESP-IDF
Topic: OTA update howto wanted
Replies: 2
Views: 2055

Re: OTA update howto wanted

Hi zliudr, Thx, I've checked it, but something is not clear for me: - I have a very large application (VLA), I want to run it on device from ota_0 or ota_1. - do I need to create a little factory application (FA), it will be booted first, and that will be the first app. at start? - my large applicat...
by zamek42@gmail.com
Tue Apr 27, 2021 8:33 pm
Forum: ESP-IDF
Topic: OTA update howto wanted
Replies: 2
Views: 2055

OTA update howto wanted

Hi All, I want to update my esp idf application with OTA update. This binary file is large (1.3Mb). How can I create an OTA update with devkit C (4MB flash)? I have a webserver with https, I can download json with filename and version. Do I need to use otatool to copy first version to ota_0 partitio...
by zamek42@gmail.com
Tue Apr 27, 2021 11:04 am
Forum: ESP-IDF
Topic: https client: Failed to verify peer certificate
Replies: 6
Views: 7609

Re: https client: Failed to verify peer certificate

I found it,
I have to add full chained certificate to my ca_cert.pem, not only the server certificate. It works well.
by zamek42@gmail.com
Tue Apr 27, 2021 8:08 am
Forum: ESP-IDF
Topic: https client: Failed to verify peer certificate
Replies: 6
Views: 7609

https client: Failed to verify peer certificate

Hi All, I would like to download a simple file from a web server with https. I'd downloaded the certificate from server with firefox and I'd stored it with ca_cert.pem named text file. It is a correct server cert. I tried this code: extern const uint8_t server_cert_pem_start[] asm("_binary_ca_cert_p...