Error when try to set the MAC address of the ESP32 Ethernet
-
- Posts: 12
- Joined: Fri Oct 13, 2023 1:09 pm
Error when try to set the MAC address of the ESP32 Ethernet
I have a board configured to work with ethernet, wifi and bluetooth. So far so good, but I can't change the Ethernet MAC address. On command AT+CIPETHMAC=<"mac"> I get ERROR.
The read command (AT+CIPETHMAC) works without a problem.
I would like to be able to change the MAC address at any time with a command, if anyone knows a reason why it can't be changed, or maybe has an idea how to make a new "custom" command for the change, I'd be grateful if you could share your opinion.
Thank you.
The read command (AT+CIPETHMAC) works without a problem.
I would like to be able to change the MAC address at any time with a command, if anyone knows a reason why it can't be changed, or maybe has an idea how to make a new "custom" command for the change, I'd be grateful if you could share your opinion.
Thank you.
Re: Error when try to set the MAC address of the ESP32 Ethernet
could you please provide the AT+GMR, i would like to provide a debug library for you to see what happened.
Re: Error when try to set the MAC address of the ESP32 Ethernet
and do you have the AT download port logs, does the log have "xx:xx:xx:xx:xx:xx\r\n" output?
-
- Posts: 12
- Joined: Fri Oct 13, 2023 1:09 pm
Re: Error when try to set the MAC address of the ESP32 Ethernet
Hello, thank for your answer.
Here is a AT+GMR answer:
I have config logs like this:
Menuconfig -> Component config -> Log output -> Default log verbosity (Debug)
Menuconfig -> Component config -> Log output -> Maximum log verbosity (Same as default)
... and receive a lot of debug messages when start the module.
But when i send AT+CIPETHMAC="1a:f:35:98:d4:7b" didn't receive any. There is only AT response like this
Here is a AT+GMR answer:
Code: Select all
AT+GMR
AT version:3.3.0.0-dev(s-d5269eb - ESP32 - Sep 19 2023 03:00:47)
SDK version:v5.0.2-376-g24b9d38a24-dirty
compile time(34be80ff):Nov 2 2023 11:29:47
Bin version:v3.2.0.0(MY-PICO)
OK
Menuconfig -> Component config -> Log output -> Default log verbosity (Debug)
Menuconfig -> Component config -> Log output -> Maximum log verbosity (Same as default)
... and receive a lot of debug messages when start the module.
But when i send AT+CIPETHMAC="1a:f:35:98:d4:7b" didn't receive any. There is only AT response like this
Code: Select all
AT+CIPETHMAC="1a:fe:35:98:d4:7b"\r\n\r\nERROR
Re: Error when try to set the MAC address of the ESP32 Ethernet
i reproduced your issue, let me try to fix it, thanks for your report.
Re: Error when try to set the MAC address of the ESP32 Ethernet
i did a bugfix for it, could you please have a try.
> use latest master branch and replace components/at/lib/ library with the attachment.
> use latest master branch and replace components/at/lib/ library with the attachment.
- Attachments
-
- libespat.zip
- (2.42 MiB) Downloaded 1251 times
-
- Posts: 12
- Joined: Fri Oct 13, 2023 1:09 pm
Re: Error when try to set the MAC address of the ESP32 Ethernet
I tried it and it seems to work fine.
Thank you
Thank you
Re: Error when try to set the MAC address of the ESP32 Ethernet
thanks for the feedback. this bugfix will sync to esp-at master branch within two weeks, please know.
~
~
Re: Error when try to set the MAC address of the ESP32 Ethernet
this issue should be fixed after: https://github.com/espressif/esp-at/com ... c6738a24b1
please know.
please know.
-
- Posts: 12
- Joined: Fri Oct 13, 2023 1:09 pm
Re: Error when try to set the MAC address of the ESP32 Ethernet
Yes, it is fixed.
Thank you.
Thank you.
Who is online
Users browsing this forum: No registered users and 43 guests