Argox PA-20 Basic Programming Manual Uživatelský manuál Strana 97

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 143
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 96
PT-Basic Programming Manual Ver. 1.00 96/143
run BT_SART.
BT_OPEN
Purpose:
Bluetooth connect.
Syntax:
BT_OPEN
Example:
BT_OPEN
…
…
BT_CLOSE
Description:
This command can connect to other Bluetooth device.Befor use this
command, you have to set the target Bluetooth MAC address by
using “BT_SETLOCALSET” command.
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 connect ok.
5
Connect timeout.
6
The terminal is not PT-20B.
7
Bluetooth module power disable, please
run BT_ SART.
10
Bluetooth already connect.
BT_CLOSE
Purpose:
Bluetooth disconnect.
Syntax:
BT_CLOSE
Example:
BT_OPEN
…
…
BT_CLOSE
Description:
This command can disconnect Bluetooth. If you want to
disconnect, you can use “BT_STOP” or this command.
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 disconnect ok.
5
Connect timeout.
6
The terminal is not PT-20B.
7
Bluetooth module power disable,
please run BT_ SART.
BT_WRITE
Zobrazit stránku 96
1 2 ... 92 93 94 95 96 97 98 99 100 101 102 ... 142 143

Komentáře k této Příručce

Žádné komentáře