5.3.4.4 Connect Device by Address(C,<0,1>,<address>)

Format: C,<0,1>,<address>

The C command initiates a connection to a remote Bluetooth Low Energy device. The command expects two input parameters.

The first parameter indicates the address type. The value ‘0’ refers to a public address and ‘1’ refers to a random private address. The second parameter expects the address of the remote Bluetooth Low Energy device in hex format where the connection needs to be made. When this command is used to connect to an already bonded device, the link is not automatically secured. Instead, the user must use command B to secure the link after the connection is established.

Example: C,0,00A053112233 // Connect to the Bluetooth Low Energy address 00A053112233
Response: Trying // Start connecting
%CONNECT% // Status string
ERR // Syntax error or invalid parameter
%ERR_CONN% // Status string