Argox PA-20 Basic Programming Manual Manuale Utente Pagina 99

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 143
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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)
Vedere la pagina 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 142 143

Commenti su questo manuale

Nessun commento