11Slave Role Service; Master Role Scan - Ebyte E104-BT53C3 User Manual

Ble5.2 chip type bluetooth wireless module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd

6.3.11Slave role service

Inquire
Setting
<para3>, <para4>, <para5>, <para6>
para1:UUID bits (0:16 bits; 1:128 bits)
para2: module server UUID (third and fourth bytes), length 4
Para3: indicates the module receive channel UUID (the third and fourth bytes of the 128-bit
UUID). The length is 4
Para4: Module send channel UUID (the third and fourth bytes of the 128-bit UUID), length
Parameter
4
Para5: Wireless AT instruction channel UUID (the third and fourth bytes of the 128-bit UUID),
length 4
Para6: 128-bit base UUID (the third and fourth bytes of the base UUID are replaced with the
UUID of the preceding parameters to form the actual 128bit UUID of the module). The length
is 32
Restart takes effect, power failure save;
Description
This directive is only valid for slave roles (single-slave, master-slave, and Beacon);
The base UUID of 0000xxxx-0000-1000-8000-00805F9B34FB is unavailable.
Example Query the default 16-bit secondary role service
Command :AT+SERVICE?
Return :+SERVICE=0,FFF0,FFF1,FFF2,FFF3
Example Set the 128-bit slave role service
Example
Instruction: the AT + SERVICE = 1000, 1000, 2000, 3000, 4, 9 ECADC240EE5A9E093F3A3B50000406E
Return :+OK
Example Query the configured 128-bit secondary role service
Command :AT+SERVICE?
Returns: + SERVICE = 1000, 1000, 2000, 3000, 4, 9 ECADC240EE5A9E093F3A3B50000406E

6.3.12 Master role scan

Inquire
Setting
AT+ SCAN =[para1], <para2>, <para3>
para1: Current scanning status. 0: stop. 1: Scanning is being performed
Parameters
para2: indicates the scanning timeout period. The value ranges from 1 to 65535, in seconds
Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd
Command
AT+SERVICE?
AT+ SERVICE=<para1>, <para2>,
Command
AT+SCAN?
Reply
+ SERVICE =<para1>, <para2>, <para3>, <para4>,
<para5>, <para6>
+OK:succcess
+ERR=[NUM]:Error
Reply
+ SCAN=[para1], [para2], [para3]
+OK:success
0 02:83:E1:66:C2:D0 -89
1 9C:19:C2:39:7D:35 -75
......
+ERR=[NUM]:Error
E104-BT53C3 Manual User
19

Advertisement

Table of Contents
loading

Table of Contents