Search found 67 matches

by rtborg
Sun Apr 17, 2022 7:53 am
Forum: General Discussion
Topic: Get AP MAC address wihout initializing WiFi
Replies: 4
Views: 3079

Re: Get AP MAC address wihout initializing WiFi

I tried that, but it fails: if (ESP_OK == esp_efuse_mac_get_custom(ap_mac)) sprintf((char *)name, "GATEWAY-%02X%02X", ap_mac[4], ap_mac[5]); else sprintf((char *)name, "GATEWAY-%02X%02X", 0xde, 0xad); I (568) system_api: Base MAC address is not set I (578) system_api: read default base MAC address f...
by rtborg
Sun Apr 17, 2022 6:38 am
Forum: General Discussion
Topic: Get AP MAC address wihout initializing WiFi
Replies: 4
Views: 3079

Get AP MAC address wihout initializing WiFi

I have an application which uses AP mode for provisioning, and I am required to provide a unique SSID. The AP SSID, default password and some other details are stored in records in the NVS, which are created upon the very first device boot. I was thinking of using the last six digits of the device M...
by rtborg
Fri Apr 01, 2022 6:57 pm
Forum: General Discussion
Topic: Application configuration file
Replies: 0
Views: 1113

Application configuration file

One of the requirements for a project I am working on is to be able to work with configuration file - the user should be able to upload a JSON or YAML file to the ESP32, which would then parse it and configure its application with details such as: - IP address - MQTT broker - MQTT topics to publish/...
by rtborg
Fri Apr 01, 2022 11:26 am
Forum: ESP-IDF
Topic: Modbus master err = 0x107 (ESP_ERR_TIMEOUT)
Replies: 2
Views: 2135

Re: Modbus master err = 0x107 (ESP_ERR_TIMEOUT)

Hello,

The problem was rectified when I changed the RS485 adapter board.

Thank you for the input.
by rtborg
Wed Mar 30, 2022 1:02 pm
Forum: ESP-IDF
Topic: Modbus master err = 0x107 (ESP_ERR_TIMEOUT)
Replies: 2
Views: 2135

Modbus master err = 0x107 (ESP_ERR_TIMEOUT)

I am using the Modbus master example with the following hardware: - ESP32 DevKitC V4 - RTU mode, baud rate 115200 - Slave respond timeout: 2000 ms - SparkFun RS485 breakout board - RS485-to-USB adapter - pyModSlave simulator I've compiled the example code and it runs on the board. Using pyModSerial,...
by rtborg
Thu Mar 24, 2022 6:12 am
Forum: ESP-IDF
Topic: xTakeSemaphore and SPI Ethernet (w5500) in ethernet/basic example
Replies: 6
Views: 4298

Re: xTakeSemaphore and SPI Ethernet (w5500) in ethernet/basic example

@ESP_ondrej,

I think I probably have identified the problem, it's that the interrupt pin of my board is not wired.

Is there a way to change the behavior of the library to not use the interrupt?
by rtborg
Wed Mar 23, 2022 2:02 pm
Forum: ESP-IDF
Topic: xTakeSemaphore and SPI Ethernet (w5500) in ethernet/basic example
Replies: 6
Views: 4298

Re: xTakeSemaphore and SPI Ethernet (w5500) in ethernet/basic example

@slandis Could you post your code, please? I am having trouble getting W550 to work.

Thanks