9at+btmode, n, 11 at+setesc, nn, 12 ato – SENA Promi-SD 205 User Manual

Page 42

Advertising
background image

Promi-SD User Manual – Appendix A. AT Commands

A-6

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

9

AT+BTMODE,n

SD Response

OK

Purpose

Set operation mode

Parameters

n=0: MODE0 (Default)
n=1: MODE1
n=2: MODE2
n=3: MODE3

Description

When the operation status is ‘Pending’ currently, change the status to ‘Standby’ with
AT+BTCANCEL prior to this command.
To take effect of this command, ATZ or power off and on.

Reference

AT+BTINFO?

Example

AT+BTMODE,2

OK

ATZ

10

+++

SD Response

OK

Purpose

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

Description

In ‘Connect’ status, data from host is transmitted to the other side Bluetooth device,
and any AT command is not accepted but this command, which is not echoed on the
screen.
When Promi-SD encounters a character ‘+’ from host, it stops the data transmission and
waits for next 2 characters. If the next 2 characters aren’t both ‘+’, it restart to transmit
data including the first ‘+’ as well. If not, it converts the operation status to ‘Standby’.
If the data from host includes ‘+++’, it will convert the operation status to ‘Standby’
unexpectedly. Notice that Promi-SD holds data transmission when it encounters ‘+’, until
receiving next character.

+’ is an escape sequence character by default, which is changeable by AT+SETESC.

Reference

AT+SETESC, ATO, AT+BTCANCEL

11

AT+SETESC,nn

SD Response

OK

Purpose

Change the escape sequence character

Parameters

nn=Decimal number of ASCII code (Default=43)

Description

Escape sequence character set to ‘+’ by default is changeable.
The parameter nn must be a printable character.

Reference

+++, ATO

Example

AT+SETESC,42

12

ATO

SD 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

Advertising