Search found 7 matches

by lodogg
Tue Jul 02, 2024 3:09 pm
Forum: ESP-IDF
Topic: mqtt_client keepalive
Replies: 6
Views: 4928

Re: mqtt_client keepalive

Everything is good... ok, the mqtt client is working, but I still do not understand the choice of halving the keepalive interval... why not choosing keepalive - 1 or keepalive / 3... My customers make me notice this behaviour, they setup the device with a keepalive value and then they discover that...
by lodogg
Fri Mar 08, 2024 2:30 pm
Forum: ESP-IDF
Topic: MQTT connection issue with dual connection interface WiFi and Ethernet
Replies: 0
Views: 2006

MQTT connection issue with dual connection interface WiFi and Ethernet

Good morning, I am working on a project based on idf 5.2.1 and esp32-s3. The board is designed to have a dual connectivity interface with both WiFi and Ethernet. By setting the .route_prio parameter in the esp_netif_config_t structure, I assign priority to the two interfaces. In particular, I have c...
by lodogg
Thu Aug 10, 2023 1:44 pm
Forum: General Discussion
Topic: NVS encryption activation with an OTA
Replies: 1
Views: 1207

NVS encryption activation with an OTA

Hello, I wanted to know if anyone has experience in enabling NVS encryption through an OTA. The tests I conducted involved OTA installation of a firmware that, upon startup, would update the bootloader (enabling secure boot and flash encryption) and the partition table by adding the nvs_key record a...
by lodogg
Thu Dec 15, 2022 12:01 pm
Forum: ESP-IDF
Topic: Can't understand why I have this warning comparison of unsigned expression < 0 is always false
Replies: 0
Views: 838

Can't understand why I have this warning comparison of unsigned expression < 0 is always false

Hi, I can't understand why I have this kind of warning: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] The operation is: if ( SUBSCRIPTION_EXPIRY_TIME - ((hwRtc - lastSub)*1000) < 0 ) where variable and definitions are: #define SUBSCRIPTION_EXPIRY_TIME (5*60*1000) tim...
by lodogg
Tue Nov 03, 2020 4:20 pm
Forum: General Discussion
Topic: Camera OV2640 - instable JPEG stream
Replies: 3
Views: 8169

Re: Camera OV2640 - instable JPEG stream

Same problem here.
Any update?
This is an example of "broken" image
6b5eef7030b94783aacdfaac8602cf33.jpeg
6b5eef7030b94783aacdfaac8602cf33.jpeg (38.06 KiB) Viewed 6513 times
by lodogg
Wed Sep 11, 2019 1:21 pm
Forum: General Discussion
Topic: Secure boot will not avoid load firmware on a different hardware
Replies: 0
Views: 2024

Secure boot will not avoid load firmware on a different hardware

The first test I have done, it is to dump the memory from address 0 of a module I was expecting that the firmware won't boot. I was wrong! The board boot without problem and activate secure boot on the new module. So if someone will clone my hardware, he can just dump the memory and use it on a clon...
by lodogg
Wed Sep 11, 2019 12:28 pm
Forum: General Discussion
Topic: Secure boot not so secure....
Replies: 1
Views: 3061

Secure boot not so secure....

Hi, I'm starting to use secure bootloader with the purpose that firmware will run only on my hardware. The first test I have done, is to dump the memory from address 0 of a module with secure boot and signed app and flash it to a brand new module. I was expecting that the firmware won't boot. I was ...