17 atd, 19 ath – SENA Promi-SD 205 User Manual

Page 44

Advertising
background image

Promi-SD User Manual – Appendix A. AT Commands

A-8

Copyright © 2006 Sena Technologies, Inc. All rights reserved.

Purpose

Wait for connection by the Bluetooth device with given BD address

Parameters

112233445566=BD address
to= time duration in seconds

Description

For the given to, Promi-SD is waiting for the connection from 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, SD response will be ‘CONNECT’
with its BD address. If there is no connection made within this time duration, SD response
is ‘ERROR’ and the operation status becomes to ‘Standby’.

Reference

ATD, AT+BTINQ?, AT+BTCANCEL

Example

AT+BTSCAN000B530011FF,30

17

ATD

SD Response

OK

CONNECT 112233445566

or

OK

ERROR

Purpose

Connect to the last connected Bluetooth device

Description

Promi -SD saves the BD address of the Bluetooth device most recently connected. ATD
can make connection to it without input its BD address.
If it fails to make connection, SD response is ‘ERROR’.

Reference

AT+BTINQ?, AT+BTSCAN

18

ATD112233445566

SD Response

OK

CONNECT 112233445566

or

OK

ERROR

Purpose

Connect to the Bluetooth device with given BD address

Parameters

112233445566=BD address

Description

Promi -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. This attempt
continues for 5 minutes.
If it fails to make connection, SD response is ‘ERROR’.

Reference

AT+BTINQ?, AT+BTSCAN

Example

ATD000B530011FF

19

ATH

SD Response

OK

DISCONNECT

Purpose

Release the current connection

Description

The current Bluetooth connection is released normally. It takes about 30 seconds to
detect an abnormal disconnection such as power off and moving out of service range.

Reference

ATD, AT+BTSCAN

Advertising