Reading The Mac Id Of A Remote Device - WAGO I/O-SYSTEM 750 Manual

Bluetooth rf-transceiver
Table of Contents

Advertisement

WAGO-I/O-SYSTEM 750
®
750-644 Bluetooth
RF-Transceiver
Return values
Parameters
MBX_RESULT
MBX_COD
*)
750-644 I/O module or Bluetooth
12.3.6.2

Reading the MAC ID of a Remote Device

GetRemoteDeviceMacID, 0x81
This command is used to access a list of 750-644 I/O modules or Bluetooth
devices visible in the area and to query the Bluetooth
750-644 I/O module or Bluetooth
execution of a scan process with the command "ScanRemoteDevices", which
initiates creation of this list. If an attempt is made to access the list before the scan
process is complete, the command responds with MBX_CMD_DENIED_BUSY.
In this case, the query should be repeated after a few seconds.
If this command is used with a Mailbox size of 6 bytes, the command only returns
the number of devices found. To query the MAC IDs of the devices, however, the
block transfer can be used (see DLD_Start, DLD_Cont, DLD_End commands).
Execute the "ScanRemoteDevices" beforehand!
Before calling up "GetRemoteDeviceMacID", the "ScanRemoteDevices"
command must be executed (see appendix "Scanning for a Remote Device in the
Wireless Network").
Conditions
Mailbox size
6
(●)
Request
Byte
0
1
2
Arguments
Parameters
MBX_DEVICE_INDEX
750-644 I/O module or Bluetooth
*)
Manual
Version 2.0.0, valid from FW/HW Version 03/03
Value
MBX_CMD_DENIED_BUSY
24 Bit
®
SPP device
12
18
Config. Real-time Ad-hoc Master Slave
7
6
2
2
MBX_GETREMOTEDEVICEMACID
T
Value
[0 ... 15]
®
SPP device
Description
A running scan process or another
function is blocking the wireless
module.
Class-of-Device of the devices
scanned.
With MBX_COD = 0x0, the CoD is
ignored.
®
®
SPP device. This command requires prior
Mode
Device role
-
-
5
4
3
2
2
2
-
MBX_DEVICE_INDEX
Description
Index of the device
read. A maximum of 16 found devices
administered.
Appendix
®
MAC ID of a remote
Save
config.
-
2
1
2
2
*)
whose MAC ID is to be
*)
169
*)
to be
SPP
Reboot
-
0
2
are

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

750-644

Table of Contents