![Anybus Wireless Bolt Скачать руководство пользователя страница 12](http://html1.mh-extra.com/html/anybus/wireless-bolt/wireless-bolt_reference-manual_2948747012.webp)
AT Commands
10 (88)
3.3
Bluetooth Classic Commands
3.3.1
AT*BCP Connect Peer
AT*BCP=
Bluetooth Connect to Peer. The connection will not be retried if unsuccessful.
Syntax:
AT*BCP=<bd_addr>,<name>,<role>
Input Parameters:
Name
Type
Description
bd_addr
MACAddress
If specified the MAC address of the remote Bluetooth device must
match this value.
name
String
If name is specified and S register 2017 is 1 the remote name must
match this value exactly. If S register 2017 is 0 this is a case
sensitive substring of the remote name to connect to, e.g. if
specified to DUT it will try to connect to DUT, DUTx, xDUT and
xDUTx, but not to dut.
role
Integer
The role of the remote device:
100: PAN User role, PAN Profile
101: Network Access Point role, PAN Profile,
103: PAN, This will first try to connect to PANU, and if it fails,
connect to NAP
All others:Reserved
Example:
Input: AT*BCP=8C8B83EE2ACB,,101 will return the handle of the connection
and OK if the connection succeeds, ERROR otherwise.
3.3.2
AT*BCC Close Connection
AT*BCC=
Bluetooth Close Connection
Syntax:
AT*BCC=<handle>
Input Parameters:
Name
Type
Description
handle
Integer
The handle of the connection to close. If set to 0 and there is no
connection with handle 0 any ongoing connection attempts and
retries will be aborted.
Example:
Input: AT*BCC=0 gives OK when the connection with handle 0 is closed.
Wireless Bolt
™
/ Wireless Bridge II
™
Reference Guide
SCM-1202-004 EN 1.7