User Manual

Table Of Contents
144 Appendix
Mailbox Command References
WAGO-I/O-SYSTEM 750
I/O Modules
6.3.5.21 Set Role of the Local Device (SetLocalDeviceRole, 0x56)
This command establishes the role of the local Bluetooth
®
module in the pi-
conet (master or slave).
Conditions
Mailbox size Operating mode/profile Device role
6 12 18 Config.
Real-
time
Ad hoc Master Slave
Save
config.
Restart
- - - -
Request
Byte 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
0 MBX_SETLOCALDEVICEROLE
1 T -
2 MBX_DEVICE_ROLE
Arguments
Parameter Value Description
MBX_ROLE_COORDINATOR (0x01) Master
MBX_ROLE_ROUTER (0x02) Router
MBX_DEVICE_ROLE
MBX_ROLE_ENDDEVICE (0x03) Slave
Response
Byte 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
0 MBX_SETLOCALDEVICEROLE
1 T MBX_CMD_RESULT
Return values
Parameter Value Description
MBX_CMD_DENIED_NOT_IMPLEMENTED The parameter is not im-
plemented (router)
MBX_CMD_
RESULT
MBX_CMD_INVALID_ARG Invalid value for
MBX_DEVICE_ROLE