PI1X Basic Programming Manual Ver. 1.10
94/156
4
WIFI
You can use the GET_FILETRANS_ERROR
command to get the error code. Possible error
codes and their interpretation are listed below:
GET_FILETRANS_ERRO
R
Meaning
-1
Set OK.
-2
Selected
LinkingPort is
using.
-4
Parameter erro
r.
Purpose
:
Get transmission Bluetooth
information.
Syntax
:
A$=FILE_TRANS_GETBT$
Example
:
S1$=FILE_TRANS_GETBT$
LocalAddress$=LEFT$(S1$,16)
"LocAdd:";LocalAddress$
LocalName$=MID$(S1$,17,20)
"LocName:";LocalName$
LocalSec%=ASC(MID$(S1$,45
,4))
PRINT "LocalSec:";LocalSec%
LocalEnc%=ASC(MID$(S1$,49
,4))
PRINT "LocalEnc:";LocalEnc%
LocalTimeout%=ASC(MID$(S
1$,37,4))
"LocalTimeout:";LocalTimeout
%