±¾²Î¿¼´úÂëÊÊÓÃÓÚ7100ºÍ7520V3µÈ¶à¿îÖÐÐË΢оƬ£¬ÓÃÓÚÖ¸µ¼¿Í»§ÔÚÍⲿMCUÉÏ¿ª·¢at¿Í»§¶ËÓ¦ÓÃỊ̈߳¬ÆäÖÐat_clientΪAT¿Í»§¶ËµÄ¿ò¼ÜÄ£¿é£¬¶ÔÉÏΪ¶à¸öÓ¦ÓÃÏß³ÌÌṩ֧³Å·þÎñ£»user_demoΪsocketÀ©Õ¹ATÃüÁîµÄ¿Í»§¶ËʵÏֲο¼£»²Î¿¼´úÂëÊÇ»ùÓÚlinux²Ù×÷ϵͳʵÏֵ쬻ù´¡Ö§³Å½Ó¿Ú·â×°³Élibcom.a¾²Ì¬¿â£¬¿Í»§Ê¹ÓÃʱ£¬¶Ô²Ù×÷ϵͳµÄ½Ó¿Ú½øÐÐÌæ»»¡£ | |
ATÃüÁîµÄÇëÇóÊÇÒÔAT´òÍ·\r\n½áβµÄ×Ö·û´®£¬ÏìÓ¦ÊÇÒÔ\r\n´òÍ·\r\n½áβµÄ×Ö·û£¬¾ßÌåÃèÊöÏêϸ¼û3gpp-27007ÐÒé | |
Ò»ÌõATÇëÇóÏ·¢ºó£¬ÔÚûÓÐÊÕµ½ÏìÓ¦(OK»òERROR)ǰһ°ã²»ÔÊÐíÏ·¢ÏÂÒ»ÌõÇëÇó | |
ʵÏÖÔÀíΪ£ºat_client¶ÔÏÂÍê³É¶ÔATͨµÀµÄ¶Áд²Ù×÷£¬ÄÚ²¿Íê³ÉATÃüÁîµÄ½âÎöºÍ·â×°£¬¶ÔÉÏÌṩÏûÏ¢»úÖÆ£¬¹©Ó¦Óýø³Ìͨ¹ýÏûÏ¢Íê³ÉATÏà¹ØÊ¼þÁ÷³Ì¡£ | |
Óû§¼¶Ó¦Óýø³ÌÔÚat_clientÖ®ÉϽøÐÐATÏà¹ØÓ¦Óýø³ÌµÄ¿ª·¢£¬Í¨¹ýget_modem_info½Ó¿Úͬ²½½øÐзþÎñ¶ËµÄ²Ù×÷ºÍÐÅÏ¢»ñÈ¡£»Í¨¹ýg_autoinfo_proc_arryÊý×é×¢²á¸ÐÐËȤµÄÖ÷¶¯Éϱ¨¡£ | |
´úÂëÁ÷³Ì£º | |
1¡¢at_demo²Î¿¼Ä£¿é£¬Ñ¡ÓÃsocketµÄÀ©Õ¹ATÃüÁî×÷Ϊģ¿é£¬Óû§¶þ´Î¿ª·¢µÄÓ¦Óýø³Ì·ÂÔì¸ÃÄ£¿é£¬¶ÔÉϽÓÊÕ¸üÉϲãµÄÊý¾Ý·þÎñ£¬¶ÔϽÓÊÕat_clientÉϱ¨µÄÖ÷¶¯Éϱ¨ÏûÏ¢£¬²¢Í¨¹ýget_modem_info½Ó¿ÚʵÏÖͬ²½µÄAT¶¯×÷ÇëÇóµÄ²Ù×÷£» | |
2¡¢at_clientÄ£¿éÊÕµ½ÏûÏ¢ºó¸ù¾Ý×¢²áµÄ´¦Àíº¯Êý×é³ÉATÇëÇó·¢ËÍ(´Ó´®¿Ú\USBÐéÄâ´®¿Ú)¸øÖÐÐË΢SOC£¬Í¬Ê±¼Ç¼ÏÂͨµÀ״̬(demo´úÂë¼Ç¼ÁËATÇëÇó×Ö·û´®ºÍÏìÓ¦´¦Àíº¯Êý) | |
3¡¢µ±ÊÕµ½ATÏìӦʱ´¦Àí²¢ÅжÏÊÇÏìÓ¦»¹ÊÇÖ÷¶¯Éϱ¨\Öмä½á¹ûÉϱ¨ | |
4¡¢Èç¹ûÊÇÖ÷¶¯Éϱ¨\Öмä½á¹û£¬¸ù¾Ý½âÎö³öÀ´µÄATǰ׺ƥÅäµ½´¦Àíº¯Êý²¢½âÎö | |
5¡¢Èç¹ûÊÇÏìÓ¦£¬Ðè¸ù¾ÝÇëÇóʱ¼Ç¼µÄÏìÓ¦´¦Àíº¯Êý½âÎö´¦Àí£¬´¦ÀíÍêºóÇå³ýͨµÀ״̬ | |
6¡¢×îºó£¬½«½âÎöºóµÄ½á¹û×é×°³É¶ÔÓ¦µÄRSPÓ¦´ðÏûÏ¢»òINDÏûÏ¢£¬Éϱ¨¸ø¶ÔÓ¦µÄÒµÎñÄ£¿é | |
×¢Òâµã£º | |
1¡¢ÖÐÐË΢Èí¼þƽ̨£¬¿ª»úºó£¬ÊÕµ½ÍⲿMCUµÄATÇëÇó£¬Èô²»ÊÇÕý³£µÄ¿ª»úATÃüÁîÁ÷³Ì£¬»á»Ø¸´ERR¸øÍⲿMCU£¬´ËʱÍⲿMCUÊÕµ½ERRºó£¬ÐèÒª½øÐÐÖØÐ¿ª»ú³õʼ»¯»òÕßÕû»úÖØÆô²Ù×÷ | |
2¡¢¶ÔÓÚÖ§³ÖÈȲå°ÎµÄË«·½Í¨ÐÅ»úÖÆ£¬ÈçUSB£¬ÔòÒªÇóÍⲿMCU¼ì²âµ½ÈȲå°Îʼþºó£¬±ØÐë½øÐÐÖØÐ¿ª»ú³õʼ»¯»òÕßÕû»úÖØÆô²Ù×÷ | |
3¡¢ÍⲿMCUÔÚδÊÕµ½ÖÐÐË΢SOCµÄµÚÒ»ÌõÖ÷¶¯Éϱ¨ZMSRIÏûÏ¢£¬²»ÔÊÐíÏ·¢ÈκÎATÃüÁîÇëÇó£¬ÒòΪ´ËʱÖÐÐË΢SOCÉÐδ׼±¸ºÃ | |
4¡¢ÍⲿMCUÊÕµ½µÄµÚÒ»ÌõÀ´×ÔÖÐÐË΢SOCµÄATÃüÁî²»ÊÇZMSRIÏûÏ¢£¬ÔòÈÏΪÖÐÐË΢SOCÓëÍⲿMCUδͬ²½£¬ÐëÖØÆôÖÐÐË΢SOC»òÕû»úÖØÆô | |
5¡¢ÍⲿMCUÈôÕý³£ÔËÐÐʱÓÖÊÕµ½ÖÐÐË΢SOCÆô¶¯µÄÖ÷¶¯Éϱ¨ZMSRI£¬ÔòÈÏΪÖÐÐË΢SOC³öÏÖÒì³£ÖØÆô£¬±ØÐëÖ´ÐÐÕû»úÖØÆô | |
6¡¢ÍⲿMCU·¢ËÍATÇëÇóºó£¬Èô³¬Ê±(ºêÖµ¿É¸Ä£¬Ä¿Ç°È±Ê¡Îª5·ÖÖÓ)δÊÕµ½ATÓ¦´ð£¬ÔòÖØÐ·¢Ë͸ÃATÇëÇó£¬ÈôÈÔÈ»³¬Ê±Î´ÊÕµ½Ó¦´ð£¬ÔòÈÏΪÖÐÐË΢оƬÒì³££» | |
7¡¢ÍⲿMCUµÄPPP¿Í»§¶Ë·¢Ë͵ÄATÃüÁîÇëÇ󣬱£³ÖÓëÆÕͨATÒ»ÑùµÄÈÝ´í»úÖÆ£¬ÒÔ½â¾öË«·½µÄÒì²½ÖØÆôÒì³£ | |
8¡¢ÍⲿMCUͨ¹ýÀ©Õ¹ATÃüÁî֪ͨÖÐÐË΢SOC½øÐÐfotaÉý¼¶£¬´ËºóÍⲿMCU²»×¼×öÆäËûÓëÖÐÐË΢SOC¹ØÁªµÄÒµÎñÁ÷³Ìʼþ | |
ÌØ±ð×¢Òâµã£º | |
AT+ZWORKLOCKÓÃÓÚÉêÇëÖÐÐË΢оƬµÄʹÓÃȨ£¬Ò»µ©ÉêÇ룬²»»áÔÙ½øÈëÖÐÐË΢Éî˯£¬ËùÒÔ¶ÔÓÚ¹¦ºÄÒªÇó¸ßµÄÐͺŻú£¬Îñ±Ø×¢Òâ³ÖËøÊ±¼ä²»Äܹý³¤£¬7100оƬÔÔòÉϲ»Äܳ¬¹ý·ÖÖÓ¼¶¡£ | |
AT+ZSETOUTÓÃÓÚÇл»ATͨµÀΪ±ê×¼Êä³ö£¬ÕâÑùttyͨµÀ¾Í¿ÉÒÔÓÃÓÚµ÷ÊÔ£¬¼´ÊäÈëÖÐÐË΢µÄµ÷ÊÔÏà¹ØµÄÀ©Õ¹ATÃüÁÊä³öµ÷ÊÔÏàÓ¦µÄlog´òÓ¡µ½MCUµÄ¿ØÖÆÌ¨£» |