beautypg.com

Bluetooth commands (only for pt-20b), 19 bluetooth commands (only for pt-20b) – Argox PA-20 Basic Programming Manual User Manual

Page 96

background image

PT-Basic Programming Manual Ver. 1.00

95/143

3.19 Bluetooth commands (Only for PT-20B)

These commands only for PT-20B, and our Bluetooth module only support SPP

mode(Serial Port Profile).

BT_START

Purpose: Bluetooth module power enable.

Syntax: BT_START

Example: BT_START


BT_STOP

Description: This command can enable Bluetooth module power. After use this

command, the left led will flash blue light.If you want to use other

Bluetooth command, you must run this command first.

You can use the “GET_BT_ERROR” command to get the error

code. Possible error codes and their interpretation are listed below:

GET_BT_ERROR Meaning

1

Bluetooth module power enable.

6

The terminal is not PT-20B.

8

Bluetooth module has been power

enable, please run.

BT_STOP

Purpose: Bluetooth module power disable.

Syntax: BT_STOP

Example: BT_START


BT_STOP

Description: This command can disable Bluetooth module power. The left led

will stop flashing.

You can use the “GET_BT_ERROR” command to get the error

code. Possible error codes and their interpretation are listed below:

GET_BT_ERROR Meaning

1

Bluetooth module power disable.

6

The terminal is not PT-20B.

7

Bluetooth module power disable, please