D T 5 0 - M C O M M A N D R E F E R E N C E G U I D E 1 . 1 P a g e
38 | 38
+UBTMSR:<role>
OK
Successful response.
ERROR
Error message.
Parameter
Description
role
0: Master
1: Slave
bd_addr
Address of the remote device.
8.1.15 Master slave role UBTMSP
AT Command
Description
AT+UBTMSP?
Reads the role policy of the device.
AT+UBTMSP=<role_policy>
Writes the role policy of the device.
Response
Description
+UBTMSP:<role_policy>
OK
Successful read response.
OK
Successful write response.
ERROR
Error message.
Parameter
Description
role_policy
0: Always attempt to become master on incoming
connections.
1 (default): Always let the connecting device select
master/slave role on incoming connections.