User's Manual

Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
71
CONN-GUIDE-BT740_v0.2
Receipt of the response is not an indication that the connection has established. If the connection is to be
accepted, the module sends EVT_INCOMING_CONNECTION when the connection is fully established,
as shown in the message sequence chart below.
HOST MODULE
RSP_CONNECTION_SETUP (handle)
CMD_CONNECTION_SETUP (bdaddr,accept,handle)
EVT_CONNECTION_SETUP (bdaddr)
Connection Established
Incoming connection
EVT_INCOMING_CONNECTION
(channelid, bdaddr, uuid)
Figure 8-2: Service Incoming Connection sequence diagram
Note: If auto accept was specified when the module was put into connectable mode, then for
incoming connections there is only an EVT_INCOMING_CONNECTION message.
Connection Established
EVT_INCOMING_CONNECTION
(channelid, bdaddr, uuid)
Incoming connection
HOST MODULE
Figure 8-3: Service Incoming Connection with auto accept specified
8.11.3 Make Outgoing Connection
This command makes an outgoing connection to a profile in the remote peer.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
13
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_ MAKE_CONNECTION]
3
FLOW_IN
??
Runtime value
4
HANDLE
0..255
Can be any value the host
wants to set.
This value is echoed by the module in the
response.
5..10
BDADDR[]
Nap[0,1]:Uap[2]:Lap[3,4,5]
Bluetooth address
11..12
UUID[]
0x1101(SPP)
0x1124(HID)
Uuid of the profile to connect to. Offset 11
is the MSB.
13
RFU
0
Always set to zero