Search found 10 matches

by Gienek
Wed May 22, 2024 11:28 am
Forum: ESP-IDF
Topic: SSL/TLS PEM file during runtime
Replies: 2
Views: 727

Re: SSL/TLS PEM file during runtime

Thank you! That really helped :D
by Gienek
Tue May 21, 2024 10:26 am
Forum: ESP-IDF
Topic: SSL/TLS PEM file during runtime
Replies: 2
Views: 727

SSL/TLS PEM file during runtime

Hi, I need guidence. We are making IoT infrastructure with ESP32C3, ESP-IDF. I need MQTT WSS, MQTTS and HTTPS requests. So far I used OpenSSL to peek cerificate of servers and extract PEM file (examples). Everything is working. But how should it look like in production code ? My idea: do the same on...
by Gienek
Mon Mar 04, 2024 7:58 am
Forum: ESP-IDF
Topic: Azure IoT Hub no SDK - TLS read error :-0x004C
Replies: 2
Views: 986

Re: Azure IoT Hub no SDK - TLS read error :-0x004C

I made one test - tried to connect, send, reconnect. After setting refresh_connection_after_ms: mqtt_cfg.network.timeout_ms = 10000; mqtt_cfg.network.reconnect_timeout_ms = 10000; mqtt_cfg.network.disable_auto_reconnect = false; // mqtt_cfg.network.refresh_connection_after_ms = 25000; it started wor...
by Gienek
Tue Feb 27, 2024 1:45 pm
Forum: ESP-IDF
Topic: Azure IoT Hub no SDK - TLS read error :-0x004C
Replies: 2
Views: 986

Azure IoT Hub no SDK - TLS read error :-0x004C

Hi, I have done registration to DPS, procedure of refreshing SAS tokens and sending telemetry to IoT HUB. It worked for some time. After several days it stopped working. There was several failures. One success and then no more success. I isolated problem by writing desktop Pyton script which is real...
by Gienek
Wed Mar 29, 2023 8:07 am
Forum: ESP-IDF
Topic: ESP32-S3 upload app from USB MSC
Replies: 0
Views: 870

ESP32-S3 upload app from USB MSC

Hi, I'm working under USB connectivity. I need 3 stages: - (host) during boot if bin file is present on flash drive upload it and reboot, - (host) when app is launched use flash drive MSC to store logs, - (slave) when master is detected with additional circuit, set device in CDC mode. I would prefer...
by Gienek
Wed Mar 22, 2023 8:33 am
Forum: ESP-IDF
Topic: Template for GoogleTest Native and ESP-IDF target
Replies: 0
Views: 1273

Template for GoogleTest Native and ESP-IDF target

Hi, I was trying hard to create build process that will speed up development. I wanted to test platform independent code on native. In the repo there is described process of testing custom ESP-IDF components in C++ Environment Status Duration ------------------ -------- ------------ esp32-s3-devkitc...
by Gienek
Wed Mar 22, 2023 8:29 am
Forum: ESP-BOX
Topic: ESP32 S3 Box Lite unstable uploading
Replies: 3
Views: 29177

Re: ESP32 S3 Box Lite unstable uploading

Hi, it turned out that ESP Box Light is in some way broken - I got it from official Ali store.
Now I got S3 Devkit V1 N8R2 from reseller in Poland and it is working perfectly fine.
by Gienek
Mon Mar 13, 2023 10:14 am
Forum: ESP-BOX
Topic: ESP32 S3 Box Lite unstable uploading
Replies: 3
Views: 29177

ESP32 S3 Box Lite unstable uploading

Hi, I bought mentioned box in Official Espressif Ali Store. Programming it using USB-C is really tedious. I stared with online tool which wasn't working at all with USB C. Then tried with platformio and esptool. After several attempts with different upload speeds progress reached several % and faile...
by Gienek
Tue Jan 03, 2023 7:19 am
Forum: ESP IoT Solution
Topic: MQTT data logins with ESP32
Replies: 2
Views: 3000

Re: MQTT data logins with ESP32

Thank you for quick reply. Reference documentation is what I needed, and ofc comments in code. Not everything is clear to me, but it started clearing out as I'm working. I've bought some books but they are mostly focused on playing with ESP. One book about concepts of IoT was quite helpful. Document...
by Gienek
Wed Dec 21, 2022 11:22 am
Forum: ESP IoT Solution
Topic: MQTT data logins with ESP32
Replies: 2
Views: 3000

MQTT data logins with ESP32

Hi, I'm software engineer in medical related company. We would like to introduce data logging for our products using ESP32C3 and MQTT. I used to work with STM32 and don't have much experience with ESP32 despite some Arduino projects. I've briefly read doc https://docs.espressif.com/projects/esp-idf/...