User`s guide
Chapter
5
BASIC
Commands
131
"N%" is an integer variable, indicating which wireless module is to be used (all
applicable to the CPT-8500, and partially to 8x60).
Value Meaning
0
1
2
3
802.11b (default)
Bluetooth
GPRS
Mobile’s GPRS via Bluetooth
Example
START TCPIP ' this is hardware-dependent
See Also
OFF TCPIP, ON TCPIP GOSUB…, STOP TCPIP, TCP_ERR_CODE,
TCP_OPEN
STOP TCPIP
Purpose
To disable communication via TCP/IP.
Syntax
STOP TCPIP
Remarks
Example
STOP TCPIP
See Also
START TCPIP, TCP_OPEN
TCP_ERR_CODE
Purpose
To check the result after executing any command relating to TCP/IP (except STOP
TCPIP).
Syntax
A% = TCP_ERR_CODE
Remarks
"A%" is an integer variable to be assigned to the result, indicating an error
description.
If a routine is working normally, the return value will be 0 in general. However, it
will return “N%” (the connection number) for TCP_OPEN and “1 ~ 255” (the
length of data being read) for NREAD$.
Value Meaning
0
3000
3001
Normal*
Invalid connection number
Connection is already opened.