User's Guide

MP280B User’s Guide
12
5.1 Default broadcast data
After the module is powered on, a default interval of 200ms will be broadcast. The
default is 9 bytes of data:
{
0x00, 0x00, //custom device type code, default is 00 00, can be set by AT
command;
0x00, 0x00, 0x00, 0x00, //four-way PWM current output status (default), or the
acquired value of two ADCs;
0x00, //module power supply percentage, 2.0V = 0%;
0x00, 0x00, //IO configuration, IO output input status, this byte changes in real
time with the current state of IO;
}
5.2 Custom broadcast data
If you use the AT command to customize the broadcast content, the maximum length
is 16 bytes, the specific format is
{
0x00, 0x00, //custom device type code, default is 00 00, can be set by AT
command;
Data [n], //custom broadcast data, n <= 16 ;
}
Note: The total length is 2+n bytes, and the custom broadcast data can be modified by the
AT command and saved after power down. If the custom broadcast data is all 0 (16
bytes), then the custom broadcast is considered not to be used, but the system default
broadcast content is used. To avoid excessive power consumption caused by excessive
broadcast data, you can also set the custom broadcast data to any value of 1 byte.