Instructions
" " ! "
Espressif Systems
ESP8266
AT Instruction Set
21.
AT+CIPSTAMAC_CUR – Set MAC address of station
MAC addresses of ESP8266 soft-AP and station are different, please do NOT set them to be the
same. Note that the bit 0 of the first byte of ESP8266 MAC address cannot be 1, for example, MAC
address can be "18:fe:35:98:d3:7b", but cannot be "15:fe:35:98:d3:7b".!
22.
AT+CIPSTAMAC_DEF – Set MAC address of station, save as default
MAC addresses of ESP8266 soft-AP and station are different, please do NOT set them to be the
same. Note that the bit 0 of the first byte of ESP8266 MAC address cannot be 1, for example, MAC
address can be "18:fe:35:98:d3:7b", but cannot be "15:fe:35:98:d3:7b".
AT+ CIPSTAMAC_CUR – Set MAC address of ESP8266 station, do not save to flash
Example
AT+CIPSTAMAC_CUR="18:fe:35:98:d3:7b"
Command
AT+CIPSTAMAC_CUR?
Response
+CIPSTAMAC_CUR:<mac>
OK
Parameters
<mac> string, MAC address of ESP8266 station
Command
AT+CIPSTAMAC_CUR=<mac>
Response
OK
Parameters
<mac> string, MAC address of ESP8266 station
Notes
This configuration will NOT be stored in flash.
AT+ CIPSTAMAC_DEF – Set MAC address of ESP8266 station, save to flash
Example
AT+CIPSTAMAC_DEF="18:fe:35:98:d3:7b"
Command
AT+CIPSTAMAC_DEF?
Response
+CIPSTAMAC_DEF:<mac>
OK
Parameters
<mac> string, MAC address of ESP8266 station
Command
AT+CIPSTAMAC_DEF=<mac>
Response
OK
Parameters
<mac> string, MAC address of ESP8266 station
Notes
Configuration changes will be stored in flash user parameter area.
Espressif Systems / Friday, July 15, 201641 73