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

Bluetooth rf-transceiver
Table of Contents

Advertisement

170
Appendix
Response
Byte
0
1
2
3
4
5
6
7
8
*)
Applies to Mailbox sizes 12 and 18 bytes
Return values
Parameters
MBX_RESULT
MBX_MACID_BYTE
MBX_NR_FOUND_DEVICES [0 ... 15]
*)
750-644 I/O module or Bluetooth
12.3.6.3

Reading the Device Names of a Remote Device

GetRemoteDeviceName, 0x82
When called, the name of a remote 750-644 I/O module or Bluetooth
in the wireless network is queried (see appendix "Reading the MAC ID of a
Remote Device"). Since this information must be requested via remote device and
no quick response can be guaranteed, the first request starts with the name
resolution, but it responds with MBX_CMD_DENIED_BUSY without returning
the name. Repeating the query delivers MBX_CMD_OK and the character chain
of the queried device name as soon as the name has been determined. The call
returns an error if "ScanRemoteDevices" has not been called beforehand and the
scan (initial call) ended successfully. As long as the name query is running, the
wireless module is not available for any other functions. Functions that do not use
the wireless module are carried out normally.
When the name query ends, a new call of "GetRemoteDeviceName" returns the
Bluetooth
Name"). A maximum of [Mailbox size -3] characters are displayed.
7
6
2
2
T
Value
MBX_CMD_DENIED
_BUSY
MBX_CMD_OUT_OF
_RANGE
Bytes of the MAC ID
®
®
name of the remote device (see appendix "Reading a Local Device
750-644 Bluetooth
5
4
2
2
MBX_GETREMOTEDEVICEMACID
MBX_RESULT
MBX_NR_FOUND_DEVICES
MBX_MACID_BYTE (LSB)
MBX_MACID_BYTE
MBX_MACID_BYTE
MBX_MACID_BYTE
MBX_MACID_BYTE
MBX_MACID_BYTE (MSB)
SPP device
Version 2.0.0, valid from FW/HW Version 03/03
WAGO-I/O-SYSTEM 750
®
RF-Transceiver
3
2
1
2
2
2
*)
*)
*)
*)
*)
*)
Description
The scan process has not yet been
stated or concluded.
The specified index is greater than or
equal to the number of the devices
found
*)
or no devices
*)
with the
specified Class-of-Device were
found.
Valid if
MBX_RESULT = MBX_CMD_OK.
Parameter is not returned when
Mailbox size is 6 bytes.
Number of devices found
devices
*)
were found, this parameter
has the value 0; valid if
MBX_RESULT =
MBX_CMD_OUT_OF_RANGE
®
SPP device
0
2
*)
; if no
Manual

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

750-644

Table of Contents