
Chapter 3 Terminal Specific Function Library
181
}
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
Default
Description
Index
P_ BT_GPRS_APNAME [20]
Null
Name of Access Point for
Bluetooth DUN-GPRS
32
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.
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...