User Manual
Table Of Contents
Chapter 3. Commands
link_id
Numeric connection identifier
Events
• CONNECT event is delivered after successful CALL command.
• NO CARRIER event is delivered if CALL fails.
Examples
Example 3-1. Creating successful connection to 00:07:80:bf:bf:01 channel 1
CALL 00:07:80:bf:bf:01 1 RFCOMM
CALL 0
CONNECT 0 RFCOMM 1
Example 3-2. Creating successful connection to 00:07:80:bf:bf:01 Serial Port Profile
(UUID16 SPP = 1101)
CALL 00:07:80:bf:bf:01 1101 RFCOMM
CALL 0
CONNECT 0 RFCOMM 2
Example 3-3. Unsuccessful connection attempt to 00:07:80:bf:bf:01
CALL 00:07:80:bf:bf:01 1 RFCOMM
CALL 0
NO CARRIER 0 ERROR 406 RFC_CONNECTION_FAILED
CLOSE
Command CLOSE is used to terminate previously opened connection. See command
CALL for more information about opening connections.
Synopsis
CLOSE {link_id}
Description
link_id
Numeric connection identifier from previously used command CALL or from
event RING.
Response
No response.
Events
• NO CARRIER event is delivered after link is closed.
INQUIRY
Command INQUIRY is used to find other Bluetooth devices in the area.
6