Query The Mac Address Of The Connected Device; Read Mac Binding Status, Enable Or Disable Mac Binding; Read And Set Binding Mac; Query And Set The Mtu Length - Ebyte E104-BT51 User Manual

Cc2640r2f ble5.0 low power consumption, bluetooth to serial port module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Description:MAC address displays as hexadecimal ASCII

6.24 Query the MAC address of the connected device

Command
Query:AT+PEERMAC?
Description: ASCIIImmediately It takes effect immediately, can only be used when connecting, otherwise an error is
returned and the MAC address displays as hexadecimal ASCII

6.25 Read MAC binding status, enable or disable MAC binding

Command
Query:AT+BONDEN?
Setting:AT+ BONDEN =[para]
Description:Restart to take effect, save when power off

6.26 Read and set binding MAC

Command
Query:AT+BONDMAC?
Setting:AT+BONDMAC=[para]
Description: Restart to take effect, save when power off, follow the small segment mode, that is, the MAC address high
level is followed, and the MAC address displays as hexadecimal ASCII
For example, set the banding MAC to "F0E1D2C3B4A5":41 54 2B 42 4F 4E 44 4D 41 43 3D F0E1D2C3B4A5

6.27 Query and set the MTU length

Command
Query:AT+MTU?
Setting:AT+MTU=[para]
Description:It takes effect on next connection, save when power off
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
3-24
Response
+OK=[para]
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
Response
+OK=[para]
+OK:Success
+ERR=[NUM]:Error
E104-BT51 User Manual
Example:F0E1D2C3B4A5
Parameter
para:MAC address
Example:F0E1D2C3B4A5
Parameter
para:0,1
0:Binding disabled
1:Binding enabled
Parameter
para:MAC address
Example:F0E1D2C3B4A5
Parameter
para:27~230

Advertisement

Table of Contents
loading

Table of Contents