Argox PA-20 Basic Programming Manual Instrukcja Użytkownika Strona 99

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 143
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 98
PT-Basic Programming Manual Ver. 1.00 98/143
code. Possible error codes and their interpretation are listed below:
GET_BT_ERROR
Meaning
1
Write OK.
2
Parameter error, please check your
parmeter.
6
The terminal is not PT-20B.
7
Bluetooth module power disable,
please run BT_ SART.
9
Bluetooth not connect to other
bluetooth device, please run
BT_OPEN.
BT_READ$
Purpose
Read characters from Bluetooth module.
Syntax
A$=BT_READ$(N%)
Example
STR1$=BT_READ$(1)
Description
If Bluetooth is connected, this command can read characters from
Bluetooth module.
A$ is a string variable to be assigned to the data.
N% is an integer variable indicating number of bytes to be read
from other Bluetooth device.
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
Read OK.
2
Parameter error, please check your
parmeter.
6
The terminal is not PT-20B.
7
Bluetooth module power disable,
please run BT_ SART.
9
Bluetooth not connect to other
bluetooth device, please run
BT_OPEN.
BT_GETLOCALINFO$
Purpose
Get Bluetooth information.
Syntax
A$=BT_GETLOCALINFO$
Example
S1$=BT_GETLOCALINFO$
LocalAddress$=LEFT$(S1$,16)
Przeglądanie stron 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 142 143

Komentarze do niniejszej Instrukcji

Brak uwag