EasyManua.ls Logo

RF-Star nRF52832 - Device Role; Slave Service

RF-Star nRF52832
59 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
nRF52832
www.szrfstar.com V1.3 - Sep., 2020
Shenzhen RF-star Technology Co., Ltd. Page 26 of 58
Device Role
AT+ROLE=?
Function
Query parameter range of this command.
Example
AT+ROLE=?
Return Value
AT+ROLE=[0,1,2,3]
OK
Remark
This command has two parameters:
0: Salve (by default)
1: Master
2: Master-slave
3: Beacon (the serial port is closed under this mode)
Take effect after restart.
AT+ROLE?
Function
Query the current role.
Example
AT+ROLE?
Return Value
AT+ROLE=0
OK
Remark
The current role of the device is slave.
AT+ROLE=
Function
Set device role.
Example
AT+ROLE=1
Return Value
OK
Remark
The device will work in Beacon mode.
Take effect after restart, save after power off.
Slave Service
AT+SERVICE=?
Function
Query parameter range of this command.
Example
AT+SERVICE=?
Return Value
AT+SERVICE=<0,1>,<0-FFFF>,<0-FFFF>,<0-FFFF>,<0-FFFF>,<0-FF...>

Table of Contents