WAGO-I/O-SYSTEM 750
Reference AT Commands
59
750-921
Bluetooth
®
Adapter
Manual
Version 2.0.1, applicable from FW Version 02
8.8.2
AT INQ COD
This command queries (
AT INQ COD ?
) or determines
(
AT INQ COD = <CoD filter>
) with which CoD the search results are
filtered by reachable
Bluetooth
®
devices.
The value represents a bit field of 32 bits. To ensure that a device within range
appears in the search results, its CoD must not be equal to 0 at least at the bit
positions in which the filter value is not equal to zero.
In the factory default settings, the WSA uses 0x1f00 as its own CoD and 0x0000
as the filter for searching other devices. The value 0x00000 means that search
results are not filtered. If the CoD filter for your own device discovery is
configured to 0x1f00, other WSA units within range are displayed preferentially
(see example).
Example:
AT INQ COD = 1f00
8.8.3
AT INQ COUNT
This command queries (
AT INQ COUNT ?
) or determines
(
AT INQ COUNT = <pass count>
) how many passes are made during
device discovery. Each pass takes approx. 2.5 seconds. A higher number of passes
increases the probability of finding a specific device, but requires more time.
Example:
AT INQ COUNT = 4
8.8.4
AT INQ START
The
AT INQ START
command starts the searching for
Bluetooth
®
devices in
range. After completion, a list of MAC IDs found is output together with the
strength of the signal received.
The
AT RDEV FOUND
command can be used to display the list again.
Output:
00 SUCCESS
results:
0: bdadr=“00:09:dd:50:11:1c” rssi=“-38”
>
8.9
AT LOGOUT
The command
AT LOGOUT
is only available when the AT command interface
has been opened by switchover of the wired, serial interface. The AT command
interface is closed when this command is executed. After this, the wired, serial
interface is again available for data transmission via the SPP service “DATA”.
The AT command interface can also be accessed again via the SPP service
“CONFIG” after this command has been executed.