Metrologic Optimus S Programming Manual page 187

"c" programming guide
Table of Contents

Advertisement

}
Call write_com() and read_com() to transmit and receive data respectively.
Call com_eot() to detect if connection is broken. For example,
if (com_eot (2)) printf ("Connection break");
Call close_com (2) to terminate communication and shut down the Bluetooth
module.
PAN Application
Follow the same programming flow of WLAN (802.11b) Practice.
DUN-GPRS Application
To activate the GPRS functionality on a mobile phone via the built-in Bluetooth
dial-up networking technology, follow the same programming flow of WLAN
(802.11b) Practice.
Before calling NetInit (BT_GPRS_NETWORKING), the following parameters of
DUN-GPRS must be specified.
Parameter
P_ BT_GPRS_APNAME [20]
Wedge Emulator
The program "Serial to Keyboard Converter" is a utility to let users convert data to
keyboard input, either via RS-232 or Bluetooth SPP.
The "Serial to Keyboard Converter" helps to develop a keyboard key in application
without any serial port input function. It supports multi regions, i.e., an application
can make use of this tool for varying keyboard layout.
The Bluetooth-enabled terminals allow application to send data for the purpose of
keyboard input via Bluetooth SPP in general wedge functions, such as
WedgeReady() and SendData(). That is, users can upgrade a normal wedge
application to a "wireless" wedge application. All you need to do is to modify a few
codes as shown below.
Chapter 3 Terminal Specific Function Library
Default
Description
Null
Name of Access Point for
Bluetooth DUN-GPRS
181
Index
32

Advertisement

Table of Contents
loading

This manual is also suitable for:

Optimus r

Table of Contents