Search found 5 matches
- Thu Jan 23, 2025 6:45 am
- Forum: ESP-IDF
- Topic: GPIO pins reset behaviour during esp_restart() in ESP-IDF
- Replies: 1
- Views: 962
GPIO pins reset behaviour during esp_restart() in ESP-IDF
Hi ESP Team, I'm currently working with ESP-IDF and have observed a change in GPIO behaviour when using the esp_restart( ) function. In ESP-IDF v5.1.4 , when esp_restart() is called, all GPIO pins are reset to their default state (logic 0). However, after updating to ESP-IDF v5.3.1 , I noticed that ...
- Thu Oct 10, 2024 4:15 am
- Forum: General Discussion
- Topic: Can esp_random() return single digit? Can it return the same random number more than once?
- Replies: 5
- Views: 3710
- Tue Sep 10, 2024 12:32 pm
- Forum: General Discussion
- Topic: Can esp_random() return single digit? Can it return the same random number more than once?
- Replies: 5
- Views: 3710
Can esp_random() return single digit? Can it return the same random number more than once?
Hi,
I have a requirement to generate 10 digits random value in my esp32 project.
I would like to know, does this esp_random() can return a single digit by any chance?
And can the function returns the same value more than once?
I have a requirement to generate 10 digits random value in my esp32 project.
I would like to know, does this esp_random() can return a single digit by any chance?
And can the function returns the same value more than once?
- Fri Sep 06, 2024 4:42 am
- Forum: ESP-IDF
- Topic: How can I send empty mqtt message to broker to delete some retained message?
- Replies: 5
- Views: 5212
Re: How can I send empty mqtt message to broker to delete some retained message?
Thanks chegewara for the response. I removed the single space in the payload.
And in the AWS after giving the access to receive zero-payloads, it got fixed.
And in the AWS after giving the access to receive zero-payloads, it got fixed.
- Thu Sep 05, 2024 7:02 am
- Forum: ESP-IDF
- Topic: How can I send empty mqtt message to broker to delete some retained message?
- Replies: 5
- Views: 5212
Re: How can I send empty mqtt message to broker to delete some retained message?
I am facing an issue while trying to delete a retained message from an MQTT topic. I use the following code to publish an empty message with the retained flag to clear the retained message on the topic: esp_mqtt_client_publish(mqtt_client, topic, " ", 0, 0, 1); However, after calling this function, ...