B.3.13. ato, B.3.14. at+btcancel, B.3.15. at+btscan – SENA Parani-ESD100-110-200-210 User Manual

Page 41: B.3.16. at+btscan,n,to

Advertising
background image

41

Example

AT+SETESC,42

B.3.13. ATO

Response

None

Purpose

Convert the operation status of ‘Standby’ to ‘Connect’

Description

You can convert the operation status of ‘Standby’ to ‘Connect’ ready to transmit data.

Reference

+++, AT+SETESC

B.3.14. AT+BTCANCEL

Response

 OK

Purpose

Terminate the current executing task

Description

This terminates a current executing task, such as Inquiry scan and Page scan, then
converts the operation status to ‘Standby’

Reference

AT+BTSCAN, ATD, AT+BTINQ?

B.3.15. AT+BTSCAN

Response

 OK
 CONNECT 112233445566

Purpose

Wait for inquiry and connection from other Bluetooth devices

Description

This allows the inquiry and connection from the other Bluetooth devices. The operation
status will be in ‘Pending’ after this command. When connection is made and released, the
operation status is back to ‘Pending’. To convert the operation status to ‘Standby’
AT+BTCANCEL must be used.
This has the same effect as AT+BTSCAN,3,0.
When connection is made with other Bluetooth device, response will be ‘CONNECT’ with
its BD address.

Reference

ATD, AT+BTINQ?, AT+BTCANCEL

B.3.16. AT+BTSCAN,n,to

Response

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

Purpose

Wait for inquiry and connection from other Bluetooth devices for a given duration

Parameters

n=1: Allows Inquiry scan
n=2: Allows Page scan
n=3: Allows both of Inquiry scan and Page scan
to= Time duration in seconds

Description

For the given to, Parani-ESD is waiting for the inquiry and connection from other Bluetooth
devices. If the parameter of to is 0, it will wait forever.
When connection is made with other 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 to ‘Standby’.

Reference

ATD, AT+BTINQ?, AT+BTCANCEL

Example

AT+BTSCAN,2,30

Advertising