54
Reference AT Commands
WAGO-I/O-SYSTEM 750
750-921
Bluetooth
®
Adapter
Manual
Version 2.0.1, applicable from FW Version 02
8.4.5.4 AT CON RETRY ENA
This command queries (
AT CON RETRY ENA ?
) or determines
(
AT CON RETRY ENA = <reconnection>
) if the WSA automatically
initiates a new connection in a cycle (
reconnection = “1”
) or not
(
reconnection = “0”
) if the wireless connection is interrupted or fails.
Example:
AT CON RETRY ENA = 1
No reconnection if the other side denies it!
Independent of the
AT CON RETRY ENA
command, the connection is not
reestablished if the other side properly closes or denies the connection
8.4.6
AT CON TAR
This command queries (
AT CON TAR ?
) or determines
(
AT CON TAR = <address port PIN>
) to which device and with what
settings an outbound connection is established. The relevant parameters are:
•
Address:
Bluetooth
®
MAC ID of the external device
•
Port:
Index of the SPP service of the external device to which a
connection is established
•
PIN:
PIN expected by the external device (value irrelevant for
connections to devices of
Bluetooth
®
standard 2.1 or higher)
Example:
AT CON TAR = 00:11:22:33:44:55 0 1234
8.4.6.1 AT CON TAR ADR
This command queries (
AT CON TAR ADR ?
) or determines
(
AT CON TAR ADR = <adr>
) to which device the outbound connection is
established:
Examples
• Explicit MAC ID:
AT CON TAR ADR = 00:11:22:33:44:55
• List of trusted devices:
(for index “2”)
AT CON TAR ADR = TRUSTED 2
• List of found devices:
(for index “1”)
AT CON TAR ADR = FOUND 1