A.3.20. atd, A.3.22. ath  (athx, athbdaddr) – SENA Parani-SD1000U User Manual

Page 36

Advertising
background image

Example

AT+BTSCAN,2,30

A.3.19. AT+BTSCAN112233445566,to

Response

 OK
 CONNECT 112233445566
or
 OK
 ERROR

Purpose

Wait for connection by a Bluetooth device with a given BD address

Parameters

112233445566=BD address
to= time duration in seconds

Description

Parani-SD will wait to be connected to by the Bluetooth device with the given BD address.
If the parameter of to is 0, it will wait forever.
When connection is made with the Bluetooth device, response will be „CONNECT‟ with its
BD address. If there is no

connection made within this time duration, response is „ERROR‟

and the operation status becomes „Standby‟.

Example

AT+BTSCAN000B530011FF,30

A.3.20. ATD

Response

 OK
 CONNECT 112233445566
or
 OK
 ERROR

Purpose

Connect to the last connected Bluetooth device

Description

Parani-SD saves the BD address of the Bluetooth device most recently connected to.
If it fails to make a connection, response will display an „ERROR‟.

A.3.21. ATD112233445566

Response

 OK
 CONNECT 112233445566
or
 OK
 ERROR

Purpose

Connect to a specific Bluetooth device with a given BD address

Parameters

112233445566 = BD address

Description

Parani-SD attempts to connect to the Bluetooth device with the given BD address. To make
successful connection, the Bluetooth device must be in Page scan mode. This attempt
continues for 5 minutes.
If it fails to make connection, response is „ERROR ‟.

Example

ATD000B530011FF

A.3.22. ATH (ATHx, ATHbdaddr)

Response

 OK
 DISCONNECT

Purpose

Release the current connection

Advertising