Metrologic Optimus S Programming Manual page 138

"c" programming guide
Table of Contents

Advertisement

132
"C" Programming Guide For Optimus S/R
NetClose
It is necessary for the application to check the status of IPReady (one of the
NetStatus items) before performing any networking operations.
NetInit() is to enable the default module, either Bluetooth PAN or
802.11b.
NetInit (3) enables the GPRS functionality on a mobile phone via
Bluetooth DUN.
NetInit (4) enables PPP connection via a modem cradle.
NetInit (5) enables PPP connection via direct RS-232.
Model#
WLAN
Bluetooth PAN
Bluetooth
GPRS
PPP via IR
PPP via RS-232
Return
If successful, it returns 0.
On error, it returns -1. (Usually it is caused by hardware problems.)
See Also
GetNetStatus, NetClose
Purpose
To shut down TCP/IP networking operations.
Syntax
int NetClose (void);
Example
val = NetClose();
Description
This routine shuts down the TCP/IP networking operations, and the power of
wireless modules is cut off. Networking operations can be restarted by calling
NetInit.
Return
If successful, it returns 0.
On error, it returns -1. (Usually it is caused by hardware problems.) (?)
See Also
NetInit
Optimus
S
---
NetInit()
DUN-
NetInit
(3)
NetInit
(4)
---
Optimus R
---
NetInit()
NetInit()
---
NetInit
---
(3)
NetInit
NetInit
(4)
(4)
NetInit
NetInit
(5)
(5)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents