HC-05蓝牙配对AT指令

HC-05蓝牙配对方法:

蓝牙A:
AT\n
AT+NAME=Bluetooth1\n
AT+ROLE=1\n
AT+PSWD=1120\n
AT+UART=115200,0,0\n
AT+RMAAD\n
AT+ADDR?\n
记录ADDR:2017:3:136087

蓝牙B:
AT\n
AT+NAME=Bluetooth1\n
AT+ROLE=1\n
AT+PSWD=1120\n
AT+UART=115200,0,0\n
AT+RMAAD\n
AT+BIND=2017,3,136087\n
AT+ADDR?\n
记录ADDR:2017,3,136089

蓝牙A:
AT+BIND=2017,3,136089\n

上一篇:牛客面经


下一篇:使用httpclient5启动https协议桩请求报SSLPeerUnverifiedException