Search found 5 matches

by Cacomixtle
Tue Dec 12, 2023 11:17 pm
Forum: ESP-IDF
Topic: Is there a way to have ESP32 send its logs to a web server?
Replies: 6
Views: 47015

Re: Is there a way to have ESP32 send its logs to a web server?


I used the MQTT client to send log prints to a broker on the network. It works very well and can handle a ridiculous number of prints per second.
I used the mqtt_event_handler callback event MQTT_EVENT_CONNECTED to register a new log vprintf function.
Here's how I did it.
To get the log output ...
by Cacomixtle
Mon Sep 25, 2023 11:34 pm
Forum: ESP RainMaker
Topic: How to change the wifi AP credentials on an existing (claimed) node?
Replies: 3
Views: 75306

Re: How to change the wifi AP credentials on an existing (claimed) node?

Hi ESP_Piyush,

I'm looking for an example of how to press and hold the boot button for more than 3 seconds and then release it to perform a specific action. I attempted to use a Semaphore Binary, but occasionally, the interrupt seems to trigger automatically. I think that incorporating a timer for ...
by Cacomixtle
Wed Sep 13, 2023 9:25 pm
Forum: ESP-IDF
Topic: how to run Modbus RTU On ESP IDF
Replies: 9
Views: 14777

Re: how to run Modbus RTU On ESP IDF

Hi, I would like to flush the UART RX Buffer because I'm getting wrong data after encountering a 0x108 error. For example, I have CID_TEMPERATURE and CID_HUMIDITY values in device_parameters. When I get a 0x108 error while calling mbc_master_get_parameter for CID_TEMPERATURE, the next call for CID ...
by Cacomixtle
Thu Oct 20, 2022 9:34 pm
Forum: ESP-IDF
Topic: how to run Modbus RTU On ESP IDF
Replies: 9
Views: 14777

Re: how to run Modbus RTU On ESP IDF

Hi ESP_alisitsyn,

Thanks a lot, it works like a charm with mbc_master_send_request
by Cacomixtle
Mon Oct 10, 2022 2:10 am
Forum: ESP-IDF
Topic: how to run Modbus RTU On ESP IDF
Replies: 9
Views: 14777

Re: how to run Modbus RTU On ESP IDF

Hi, I would like to use modbus function 6 for write single holding register, so how I can do this with modbus library? Because it uses function 10 for write multiple registers, and my device doesn't recognise this function.

I hope someone can help me.

Thanks in advance.

Go to advanced search