
110
"C" Programming Guide For Optimus S/R
3.11.4 PPP via IR/RS-232
PPP, short for Point-to-Point Protocol, is a method of connecting a terminal to the Internet
over serial links. PPP sends the computer's TCP/IP packets to a server that puts them onto
the Internet.
PPP Connection via IR
It is supported on the Optimus S and Optimus R when being connected to the
proprietary modem cradle.
Note: The version of IR control board on the modem cradle must be greater than SV3.01.
For baud rate setting, any value other than 57600 bps (default) must be configured
through the DIP switch.
PPP Connection via RS-232
It is supported on the Optimus R only when being connected to a generic modem
(direct RS-232).
PPP Connection Practice
Follow the same programming flow of WLAN (802.11b) Practice.
Before calling
NetInit(4)
or
NetInit(5)
, the following parameters of PPP must be
specified.
Parameter
Default
Description
Index
P_PPP_DIALUPPHONE [20]
Null
Phone number of ISP
70
P_PPP_LOGINNAME [20]
Null
Login user name of ISP
71
P_PPP_LOGINPASSWORD [20] Null
Login password of ISP
72
P_PPP_BAUDRATE
0x00
Baud rate matching modem
cradle or modem
73
Note: For baud rate values of IR or RS-232, see the baud rate setting in open_com.
External Libraries
Below are available libraries that support PPP connection over serial links.
Series
External Libraries
Optimus S
Batch
ops_ppp.lib
Summary of Contents for Optimus R
Page 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Page 6: ......
Page 8: ...2 C Programming Guide For Optimus S R...
Page 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Page 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Page 24: ...18 C Programming Guide For Optimus S R...
Page 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...