User's Manual Part 2

11.4: Data Mode Commands Chapter 11: AT Commands Reference
41
Connect_To_Serial_Service_Data_Mode (AT*ADCP=)
AT Command Description
AT*ADCP=<bd_addr>, <role_and_profile>,
<rfcomm_server_channel>,
<must_be_master><CR>
Connect to a serial service enabled on a
remote device. This request is used to
connect to profiles based on the Serial
Port Profile.
The connection shall be used in data
mode.
When the host connects to a service on a
remote device it implicitly registers to
receive the Se-
rial_Connection_Data_Mode_Closed
event.
Command
Parameters
Type Value
bd_addr Bd_Addr Bluetooth device address of the device to
connect to.
role_and_profile enumerator 0: DevB role, Serial Port Profile
1: Gateway role, Dial-Up Networking Profile
2: LAN Access Point role, LAN Access Profile
rfcomm_server_chan enumerator RFCOMM server channel number on which this
service can be found.
0: Service search will be performed
automatically and the first available
<role_and_profile> will be connected.
1-30: RFCOMM server channel number.
This server channel number can be retrieved
using a service search operation.
31-255: Invalid values.
must_be_master enumerator 0: The remote device may choose to become
master or slave.
1: This device must be master of the new
connection.
Responses Description
<CR><LF>*ADCP:<connection_handle><CR><LF>OK<CR><LF> Successful response.
<CR><LF>ERROR<CR><LF> Error response.
Response
Parameters
Type Value
connection_handle integer The connection handle identifies the connection.
The connection handle is used when closing the
connection.
Model Constraint
cB-OEMSPA311
cB-OEMSPA331
cB-OEMSPA312
cB-OEMSPA332
Only supports serial port and dial-up networking profiles and not
LAN access profile.