|
The following lists summarize the Connection Manager Framework APIs and their intended usage. This section includes interaction API with Profile Manager Plug-in and Transport plug-in interface APIs. For Transport Plug-in, API document is only capturing PDP and WLAN Transport Plug-in interface.
- CM - PM Plug-in APIs
NetPMGetProfile NetPMGetDefaultProfileId
- CM - PDP Transport Plug-in APIs
NetPDPInit NetPDPOpenConnection NetPDPCloseConnection NetPdpDeInit NetPdpTunnelRequest
- CM - WLAN Transport Plug-in API
NetWlanInit NetWlanOpenConnection NetWlanCloseConnection NetWlanDeInit NetWlanTunnelRequest
The lists below summarize the Callback Ids returned by registered CM callback functions used by the PDP and WLAN Transport Plug-in interfaces.
- PDP Callback Ids
NET_EVENT_PDP_ACTIVATION_RSP NET_EVENT_PDP_DEACTIVATION_RSP NET_EVENT_PDP_DEACTIVATION_IND NET_EVENT_PDP_SUSPEND_IND NET_EVENT_PDP_RESUME_IND NET_EVENT_PDP_TUNNEL
- WLAN Callback Ids
NET_EVENT_WLAN_CONNECTION_RSP NET_EVENT_WLAN_DISCONNECTION_RSP NET_EVENT_WLAN_DISCONNECTION_IND NET_EVENT_WLAN_TUNNEL
NetErr_t (Error values)
NetEvent_t (Net Event type)NetEventInfo_t (NET Event Information)NetDevInfo_t (NET Device Information)
NetProfileType_t (NET Profile Type)NetPdpProfileInfo_t (NET PDP Profile Information)NetWlanProfileInfo_t (NET WLAN Profile Info)NetProfile_t (NET Profile)NetBssInfo_t (NET WLAN BSS Info)NetBssType_t (NET BSS type)
In LiMo Foundation Platform Release 1, only IPv4 address type shall be supported. IPv6 may be supported in future releases.
NetAddrType_t (NET Address Type )NetAddr_t (NET Address)
NetTransportType_t (NET Transport type)NetCMTunnelInfo_t (NET Tunnel Info)
NetAuthType_t (NET Authentication Type)NetAuthInfo_t (NET Authentication Information)
NetPdpQosType_t (NET PDP QOS Type)NetPdpQosGprs_t (NET PDP GPRS QOS Type)NetPdpQosUmts_t (NET PDP 3G QOS Type)NetPdpQosInfo_t (NET PDP QoS information)
- CM Defined
NET_CM_FAILURE
NET_CM_SUCCESS
NET_CM_INVALID_ID
- Other Defined Constants
NET_DEVICE_NAME_LEN_MAX
NET_CONNECTIONS_MAX
NET_PDP_APN_LEN_MAX
NET_PDP_AUTH_USERNAME_LEN_MAX
NET_PDP_AUTH_PASSWORD_LEN_MAX
NET_DNS_ADDR_MAX
This section describes the Profile Manager Plug-in APIs that shall be used by Connection Manager.
NetPMGetProfile NetPMGetDefaultProfileId
NetPDPInit NetPDPOpenConnection NetPDPCloseConnection NetPdpDeInit NetPdpTunnelRequest
Connection Manager needs to register a callback function with PDP transport plug-in to receive asynchronous events. This section describes the callback function which will be used to notify the Connection manager about the PDP Transport Plug-in Asynchronous events.
NetPdpEvtCb
Plug-in will allocate the memory for event data. Once Context returns from callback then plug-in will free the memory allocated to event data.
- PDP Asynchronous Events
NetPdpTransportEvent_t
Events are:
NET_EVENT_PDP_ACTIVATION_RSP NET_EVENT_PDP_DEACTIVATION_RSP NET_EVENT_PDP_DEACTIVATION_IND NET_EVENT_PDP_SUSPEND_IND NET_EVENT_PDP_RESUME_IND NET_EVENT_PDP_TUNNEL
- PDP Connection Information
NetPdpConnInfo_t
NetWlanInit NetWlanOpenConnection NetWlanCloseConnection NetWlanDeInit NetWlanTunnelRequest
- WLAN Callback Specification (WLAN Transport Plug-in to CM)
- Connection Manager needs to register a callback function with WLAN transport plug-in to receive asynchronous WLAN events. This section describes the callback function which will be used to notify the Connection manager about the WLAN Transport Plug-in Asynchronous events.
NetWlanEvtCb
The Plug-in will allocate the memory for event data. Once Context returns from callback then plug-in will free the memory allocated to event data.
NetWlanTransportEvent_t
Events are:
NET_EVENT_WLAN_CONNECTION_RSP NET_EVENT_WLAN_DISCONNECTION_RSP NET_EVENT_WLAN_DISCONNECTION_IND NET_EVENT_WLAN_TUNNEL
NetWlanConnInfo_t
Generated on Mon Mar 31 01:01:00 2008 by
1.5.4
|