便便代码人生

关注技术, 偶尔动动手

[哈] 成功建立IAP (Internet Access Point)

Posted by bianbian on 2007-06-23 19:49

本文Tags: ,

在nokia forum上终于找到指南针,成功建立IAP。
正在研究cnwap的代理(好像是PROXIES表)是怎么建立的。

(1) Create OUTGOING_GPRS entry
(2) Create NETWORK entry (6600 only)
(3) Open LOCATION table
search for MOBILE, get id
(4) Create IAP entry that sets
IAP_SERVICE_TYPE = OUTGOING_GPRS
IAP_SERVICE = id of (1)
IAP_NETWORK = id of (2)
IAP_LOCATION = id of (3)
(5) Create WAP_ACCESS_POINT entry
WAP_CURRENT_BEARER = WAP_IP_BEARER
(6) Create WAP_IP_BEARER entry
WAP_IAP = id of (4)
WAP_ACCESS_POINT_ID = id of (5)

NOTES:
!!! Look over cdbcols.h, make sure you set ALL fields !!!
*should set COMMDB_NAME of (1),(4),(5) and GPRS_APN of (1) same, but maybe not necessary
*(6) has NO name
*(2) requires only COMMDB_NAME field
*”id” means value from ReadUint(COMMDB_ID,id) after creating/finding

标签: ,

遵守创作共用协议,转载请链接形式注明来自http://bianbian.org 做人要厚道

相关日志

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

(required)