User Manual

Table Of Contents
148 Appendix
Mailbox Command References
WAGO-I/O-SYSTEM 750
I/O Modules
6.3.5.24 Read MAC-ID of a Remote Bluetooth
®
Device (GetRemoteDeviceMacID,
0x81)
This command accesses a list of visible Bluetooth
®
devices in the environment
and queries the Bluetooth
®
MAC-ID of a remote device. The prerequisite for
this command is the prior execution of a search process with the command
"ScanRemoteDevices", which initiates the creation of this list. If an attempt is
made to access the list before the search process is complete, the command
answers with MBX_CMD_DENIED_BUSY. In this case, the query should be
repeated after a certain waiting period.
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_GETREMOTEDEVICEMACID
1 T -
2 MBX_DEVICE_INDEX
Arguments
Parameter Value Description
MBX_DEVICE_INDEX [0 ...15]
Index of the device whose MAC-ID is to be read. A
maximum of 16 found devices are administered.
Response
Byte 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
0 MBX_GETREMOTEDEVICEMACID
1 T MBX_RESULT
MBX_NR_FOUND_DEVICES
2 MBX_MACID_BYTE (LSB)
3 MBX_MACID_BYTE
4 MBX_MACID_BYTE
5 MBX_MACID_BYTE
6 MBX_MACID_BYTE
7 MBX_MACID_BYTE (MSB)