Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2020
,
Chengdu Ebyte Electronic Technology Co., Ltd
12
AT+ VER
Query version
information
OK--AT+VER: HV: V1.0
,
SV: V1.0
After executing this command, the module will echo the current software and hardware version number.
6.7 Query MAC address
Command
Description
Echo
AT+ MAC
Query MAC address
如:
OK--AT+MAC: 0x98072D8E79DE
After executing this instruction, the module will return to display the MAC address.
6.8 Query / Set device’s name
Command
Description
Echo
AT+ NAME
Query/Set device’s
name
Example: OK--AT+NAME: CdEbyte_MultiRole
Execute the command AT+NAME=CdEbyte_MultiRole to set the current module name, no more than 20 characters.
Return PARA SET: CdEbyte_MultiRole after success.
6.9 Query/Set UART configuration
Command
Description
Echo
AT+UART
Query/Set UART
Configuration
Example: OK--AT+UART: 115200,8,1,0
Execute the command AT+UART=115200,8,1,0 to set the current module name. After success, return PARA SET:
115200,8,1,0.
The first data represents the baud rate: 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 128000, 230400, 256000,
460800, 921600;
The second data represents the data bit: 5,6,7,8;
The third data represents the stop bit: 0,1;
The fourth data represents the check digit: 0(none)
,
1(even)
,
2(odd)).
6.10 Query/Set device’s role
Command
Description
Echo
AT+ROLE
Query/Set device’s role Example: OK--AT+ROLE: Normal
Execute the command AT+ROLE=0 to set the current module role to normal mode. After successful, return PARA SET:
Normal
;
Execute the command AT+ROLE=1 to set the current module role to multi-role mode. After successful, return to PARA