Integration Guide
Version 1.11
GSM0000PB001
Page 43
1.11 - 4/22/03
9.4 Enfora Packet Application Programming Interface
Figure 16 provides the general embedded architecture for the Enabler-G modem. There are various levels
of access provided to allow complete application design flexibility.
COM Port Library
UDP SLIP Port Library
UDP PPP Port Library
UDP Socket Port Library
UDP Messaging Library
UDP Modem Library
CDPD Parameters Table
GPRS Parameters Table
Port libraries
Messaging
libraries
Modem libraries
Figure 16 Library Layout
The table below can be used to help decide which library configuration is the best for a project.
UDP SLIP Port
Library
UDP PPP Port
Library
UDP Soc
ke
t Port
Library
U
D
P
M
e
ssaging
Library
w
ith SLIP
U
D
P
M
e
ssaging
Library
w
ith PPP
U
D
P
M
e
ssaging
Library
w
ith Socket
U
D
P
M
odem Library
w
ith SLIP
U
D
P
M
odem Library
w
ith PPP
U
D
P
M
odem Library
w
ith Socket
Benefits
Allows dynamic IP assignment
!
!
!
!
!
!
Allows multiple application to
access the modem
!
!
!
Allow AT Commands
!
!
!
!
!
!
Allows modem control
message
!
!
!
!
!
!
!
!
!
Provide modem control
message formatting
!
!
!
!
!
!
Provides modem parameters
database service
!
!
!
Suitable for micro controller
programming
!
!
!
!
!
!
Requirements
Requires TCP/IP stack
!
!
!
Memory
usage
Low Low Low Low Low Low High High High
Table 3 - Modem Library Configurations