beautypg.com

B.3. command description, B.3.1. atz, B.3.2. at&f – SENA Parani-ESD100V2-110V2 User Manual

Page 42: B.3.3. at, B.3.4. at+uartconfig,baudrate,parity,stopbit,hwfc, B.3.5. at+btinfo

background image

42

B.3. Command Description


B.3.1. ATZ

Response

 OK

Purpose

Software Reset

Description

This has the same effects as Powercycling the unit.
This command disconnects any connected Bluetooth device, and stops ongoing tasks.
After rebooting, the status will be decided by the preset operation mode.
Some AT commands require the ATZ command be run so that the commands can take
effect.

B.3.2. AT&F

Response

 OK

Purpose

Hardware reset

Description

This has the same effect as initialization by pressing the factory reset button.
All parameters are initialized to factory defaults

B.3.3. AT

Response

 OK

Purpose

Check the connection status with host equipment

Description

Check if the connection to host equipment is operating normally. The serial parameters of
Parani-ESD must be same as those of host equipment. If not, the Parani-ESD will not
respond or „ERROR‟ message will appear or an abnormal sequence of strings will appear.

B.3.4. AT+UARTCONFIG,Baudrate,Parity,Stopbit,Hwfc

Response

 OK

Purpose

Set Serial parameters

Parameters

Baudrate=1200/2400/4800/9600/14400/19200/38400/57600/115200/230400/460800/921600
(Default=9600)
Parity=N/E/O (Default=N)
Stopbit=1/2 (Default=1)
Hwfc(Hardware Flow Control)=0/1 (Default=1)

Description

The Serial parameters can be set or changed. The factory default is 9600, N, 1, 1.
To take effect the ATZ command must be used or Powercycle the unit.

Example

AT+UARTCONFIG,115200,N,1,1

B.3.5. AT+BTINFO?

Response

 112233445566,DeviceName,Mode,Status,Auth,Encryp,FlowControl
 OK

Purpose

Display Bluetooth settings

Description

The current Bluetooth settings are displayed including BD address, Device name,
Operation mode, Operation status, Authentication, Data Encryption, and Hardware Flow