blob: c3f7d1a5f2d270593a2721b50250ba2dbce6fa84 [file] [log] [blame]
1¡¢Ä¿Â¼½á¹¹£º
©À©¤©¤ cJSON.c.bak ÔÝʱδÓã¬ÓÃÓÚÀ©Õ¹
©À©¤©¤ cJSON.h
©À©¤©¤ makefile
©À©¤©¤ mobile_dm ÒÆ¶¯DMʵÏÖÎļþ¼Ð
©¦ ©À©¤©¤ file_key ÃÜÂëÎļþ
©¦ ©À©¤©¤ include
©¦ ©¦ ©¸©¤©¤ mobile_dm.h
©¦ ©À©¤©¤ mobile_dm.c ÒÆ¶¯¼ÓÃÜ´«Êä¾ßÌåʵÏÖ
©¦ ©À©¤©¤ mobile_dm_test.test ÒÆ¶¯¼ÓÃÜ´«ÊäµÄµÄ²âÊÔÎļþ
©¦ ©¸©¤©¤ Readme.txt
©À©¤©¤ Readme Ä£¿éReadmeÎļþ
©À©¤©¤ unicom_dm ÁªÍ¨DMʵÏÖÎļþ¼Ð
©¦ ©À©¤©¤ cacert.pem Êý×ÖÖ¤ÊéÎļþ£¨Ìṩ¸øÁªÍ¨£©
©¦ ©À©¤©¤ include
©¦ ©¦ ©¸©¤©¤ unicom_dm.h
©¦ ©À©¤©¤ pri.pem Ç©Ãû˽Կ£¨±¾µØ±£´æ£©
©¦ ©À©¤©¤ pubkey.pem ±¾µØ²âÊÔ¹«Ô¿
©¦ ©À©¤©¤ Read.me
©¦ ©À©¤©¤ unicom_dm.c ÁªÍ¨¼ÓÃÜ´«ÊäµÄ¾ßÌåʵÏÖ
©¦ ©¸©¤©¤ unicom_dm.test ²âÊÔÎļþ
©¸©¤©¤ zxic_dm.c DMÄ£¿éÖ÷ÎļþʵÏÖ
2¡¢ËµÃ÷
DMÓ¦Óã¬ÓÚrcSÖÐÆô¶¯£¬Ó¦ÓÃÆô¶¯Á½¸öỊ̈߳¬
2.1£ºÖ÷Ị̈߳ºÓÃÓÚ½ÓÊÕ¶¨Ê±Æ÷ÏûÏ¢£¬CPÏûÏ¢£¨CP²à¹¤³ÌÃüÁîÅäÖõÄÏûÏ¢£©£¬AT-ctrlÏûÏ¢£¨pdp¼¤»î£¬Êý¾ÝÂþÓΣ¬ÏìÓ¦¸üÐÂNVµÄÏûÏ¢£¨ÔÝδÓ㬺óÐøÓÃÓÚÀ©Õ¹£©£¬¹²Èý¸öÏûÏ¢£©£¬Ö÷Ïß³ÌÒ»¹²½ÓÊÜ 6 ¸öÏûÏ¢¡£
2.2£º×ÓỊ̈߳ºÓÃÓÚ½ÓÊÕÖ÷Ï̷߳¢Ë͹ýÀ´µÄ×¢²áÏûÏ¢£¬ÓÃÓÚ·¢Æð×¢²áÁ÷³Ì¡££¨½ÓÊÜÁ½¸öÏûÏ¢£¬Ò»ÊÇ£¬×¢²á·¢ÆðÏûÏ¢£¬¶þÊÇÏ߳̽áÊøÏûÏ¢£¬¶¼ÊôÓÚ½ø³ÌÄÚ²¿ÏûÏ¢£¬´ËÏûÏ¢¶ÓÁв»°ó¶¨ÈκÎÄ£¿é£¬¼´²»½ÓÊÜÍⲿÏûÏ¢£©
2.3£º×¢²áÁ÷³ÌÖаüº¬ÒÔϼ¸¸ö²½Ö裺
A: ÊÕ¼¯ËùÓеĴýÌá½»µÄÐÅÏ¢£¬°üÀ¨Á½¸ö²¿·Ö£¨Ò»ÊÇ´Ónv¶ÁÈ¡£¬¶þÊǶ¨Öµ£©;
B: °´ÕÕЭÒ鹿·¶¹¹Ôìjson¸ñʽµÄÊý¾Ý£»
C£ºÒÀ¾ÝÔËÓªÉÌЭÒ鹿·¶£¬ÔËÓÃÖ¸¶¨µÄ¼ÓÃÜËã·¨£¬¶ÔÌá½»µÄÊý¾ÝµÄ½øÐмÓÃÜ£¨ÁªÍ¨ºÍÒÆ¶¯¼ÓÃÜ´¦Àí²»Í¬£©
D£ºÒÀ¾ÝÔËÓªÉÌЭÒ鹿·¶£¬ÀûÓüÓÃÜͨµÀ£¨openssl£©½øÐÐÊý¾Ý´ò°ü´«Ê䣨ÁªÍ¨ºÍÒÆ¶¯£¬¼ÓÃܵÄͨµÀ²»Ò»Ñù£©
F: ÒÀ¾ÝÔËÓªÉÌЭÒ鹿·¶£¬ÊµÏÖ¸÷ÖÖ²âÊÔ¹¦ÄÜÒªÇó£¬Ò»µ«×¢²á³É¹¦»ò×¢²á´ÎÊý³¬ÏÞ£¬Í˳ö½ø³Ì¡£
3¡¢²âÊÔ˵Ã÷
3.1 ·Ö±ð¶ÔÒÆ¶¯»òÁªÍ¨µÄ°æ±¾µÄDMÏà¹ØµÄ¿ØÖÆÐÅÏ¢-nv½øÐÐÉèÖÃ
³§¼ÒÏà¹ØµÄÐÅÏ¢NVÔÚCP²àÅäÖã¨Ä¿Ç°»¹NV»¹Ã»ÓÐÈ«²¿Òƶ¯AP²à£©£¬
Manuf=
Model=
HWVersion=
SWVersion=
Intype=
Brand=
¿ØÖÆÐÅÏ¢ÔÚAP²àÅäÖã¨ÏÂÃæÊÇÒÆ¶¯ÅäÖÃʵÀý£©
secsEveryRound=1 //ÿ´Î¼ä¸ôʱ¼ä
secsEveryTime=1 //ÿÂÖ¼ä¸ôʱ¼ä
registeredRound=0 //ÒѾ­×¢²áµÄÂÖÊý
secsTime=1 //¿ªÊ¼×¢²áµÄʱ¼ä
hostName=b.fxltsbl.com // ×¢²áµÄÓòÃû
portNum=443 //×¢²áµÄ¶Ë¿ÚºÅ
registerFlag=0 //×¢²á³É¹¦µÄ±ê¼Ç
appKeyMobile=A100000853 //ÒÆ¶¯DM³§¼Ò×¢²áÕ˺Å
registerDmType=1 //ÁªÍ¨ºÍÊÇÒÆ¶¯
wcdmaModel=0 //¿ª»úÊÇĬÈϵÄģʽ
urlMobile=
imeiPrevious=
iccidPrevious=
3.2 ×¢²áµÄ¼Ç¼²Î¿´¸÷¸öÔËÓªÉ̵IJâÊÔ¹ÜÀíÆ½Ì¨
¾ßÌåµÄ²âÊÔ·½·¨ºÍ²½ÖèÇë²Î¿´Èë¿ÚËͲâÖ¸ÄÏ