
PT-Basic Programming Manual Ver. 1.00 98/143
code. Possible error codes and their interpretation are listed below:
Parameter error, please check your
parmeter.
The terminal is not PT-20B.
Bluetooth module power disable,
please run BT_ SART.
Bluetooth not connect to other
bluetooth device, please run
BT_OPEN.
Read characters from Bluetooth module.
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:
Parameter error, please check your
parmeter.
The terminal is not PT-20B.
Bluetooth module power disable,
please run BT_ SART.
Bluetooth not connect to other
bluetooth device, please run
BT_OPEN.
Get Bluetooth information.
…
S1$=BT_GETLOCALINFO$
LocalAddress$=LEFT$(S1$,16)
Comentarios a estos manuales