﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-socketref-随笔分类-Embed/ARM/X86</title><link>http://www.cppblog.com/socketref/category/7038.html</link><description>opensource in my life!
Technical Engineer</description><language>zh-cn</language><lastBuildDate>Mon, 09 Feb 2009 12:32:55 GMT</lastBuildDate><pubDate>Mon, 09 Feb 2009 12:32:55 GMT</pubDate><ttl>60</ttl><item><title>enFora - GPRS 模块使用简易AT命令</title><link>http://www.cppblog.com/socketref/archive/2009/02/08/73238.html</link><dc:creator>放屁阿狗</dc:creator><author>放屁阿狗</author><pubDate>Sun, 08 Feb 2009 14:23:00 GMT</pubDate><guid>http://www.cppblog.com/socketref/archive/2009/02/08/73238.html</guid><wfw:comment>http://www.cppblog.com/socketref/comments/73238.html</wfw:comment><comments>http://www.cppblog.com/socketref/archive/2009/02/08/73238.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/socketref/comments/commentRss/73238.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/socketref/services/trackbacks/73238.html</trackback:ping><description><![CDATA[初始化过程：<br>AT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //测试端口是否连接<br>AT&amp;F&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //恢复到出厂设置<br>ATZ&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //将所有参数值恢复到出厂设置<br>AT&amp;W&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //保存设置<br>*ATE0&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //输入的命令不回显<br>AT+IPR=115200&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //设置波特率<br>AT+CMEE=2&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //获得ME扩展错误代码<br>AT+CPIN?&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：+CPIN: READY&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //间接测试SIM卡是否插好，原意用来查看PIN码<br>AT+CIMI&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：SIM卡的全球识别号,OK&nbsp;&nbsp;&nbsp; //判断SIM卡是否正常工作<br>AT+CSQ&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：XX，99&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //测试网络信号强度，在10~31范围内即可<br>AT+CGREG?&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：+CGREG:0,1 OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //判断网络是否登记入网<br>AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;CMNET&#8221;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //设置为IP方式，接入移动梦网<br>AT$HOSTIF=2&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //设置TCP透传模式<br>AT$AREG=1&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //自动登录设置<br>*AT$PADDST=&#8221;61.152.242.117&#8221;,8401&nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //设置服务器地址，端口号，可能由外部输入<br>AT$PADDISC=1&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //保证可以从透传模式下退出<br>*AT$IDLETO=300&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //设置闲置自动断线间隔<br>AT&amp;C1&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //通过DCD管脚监视网络连接情况<br>AT&amp;W&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //保存设置<br>ATD*99#&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp; CONNECT&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //拨号，上网了，可以开始发送数据。当再次收到OK时表示断线，也可由DCD判断<br>AT$DISC&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 回应：OK&nbsp;&nbsp;&nbsp; OK&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; //主动从网络上断开<br><br>断线监视：<br>当DCD脚为高电平时，说明断线，可由硬件监视该脚。当透传模式被挂起时，DCD也为高电平<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><img src ="http://www.cppblog.com/socketref/aggbug/73238.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/socketref/" target="_blank">放屁阿狗</a> 2009-02-08 22:23 <a href="http://www.cppblog.com/socketref/archive/2009/02/08/73238.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>btsc 代码更新 串行数据协议传输，增加明文 CRC校验</title><link>http://www.cppblog.com/socketref/archive/2008/07/04/55285.html</link><dc:creator>放屁阿狗</dc:creator><author>放屁阿狗</author><pubDate>Thu, 03 Jul 2008 18:35:00 GMT</pubDate><guid>http://www.cppblog.com/socketref/archive/2008/07/04/55285.html</guid><wfw:comment>http://www.cppblog.com/socketref/comments/55285.html</wfw:comment><comments>http://www.cppblog.com/socketref/archive/2008/07/04/55285.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/socketref/comments/commentRss/55285.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/socketref/services/trackbacks/55285.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;2&nbsp;/*&nbsp;&nbsp;3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name:&nbsp;&nbsp;&n...&nbsp;&nbsp;<a href='http://www.cppblog.com/socketref/archive/2008/07/04/55285.html'>阅读全文</a><img src ="http://www.cppblog.com/socketref/aggbug/55285.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/socketref/" target="_blank">放屁阿狗</a> 2008-07-04 02:35 <a href="http://www.cppblog.com/socketref/archive/2008/07/04/55285.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>WINCE 设置环境变量-系统加载路径</title><link>http://www.cppblog.com/socketref/archive/2008/07/04/55279.html</link><dc:creator>放屁阿狗</dc:creator><author>放屁阿狗</author><pubDate>Thu, 03 Jul 2008 17:24:00 GMT</pubDate><guid>http://www.cppblog.com/socketref/archive/2008/07/04/55279.html</guid><wfw:comment>http://www.cppblog.com/socketref/comments/55279.html</wfw:comment><comments>http://www.cppblog.com/socketref/archive/2008/07/04/55279.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/socketref/comments/commentRss/55279.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/socketref/services/trackbacks/55279.html</trackback:ping><description><![CDATA[{<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; TCHAR pText[] = _T("\\Windows\\0\\NandFlashPartition\\MediaLib\0\\Storage Card\\MediaLib\0\0");<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; CString strText(pText,sizeof(pText));<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; SaveMultString(HKEY_LOCAL_MACHINE,_T("Loader"),_T("SystemPath"),strText,sizeof(pText));<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DeleteKey(HKEY_LOCAL_MACHINE,_T("SOFTWARE\\sample\\PLAY"));<br>&nbsp;&nbsp;&nbsp; }<br><img src ="http://www.cppblog.com/socketref/aggbug/55279.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/socketref/" target="_blank">放屁阿狗</a> 2008-07-04 01:24 <a href="http://www.cppblog.com/socketref/archive/2008/07/04/55279.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>【Linux Kernel】 读码时写的一些笔记，毕竟写给自己看，有些乱（好好理解kernel，能更好写出高效的驱动和应用代码）</title><link>http://www.cppblog.com/socketref/archive/2008/07/04/55271.html</link><dc:creator>放屁阿狗</dc:creator><author>放屁阿狗</author><pubDate>Thu, 03 Jul 2008 17:11:00 GMT</pubDate><guid>http://www.cppblog.com/socketref/archive/2008/07/04/55271.html</guid><wfw:comment>http://www.cppblog.com/socketref/comments/55271.html</wfw:comment><comments>http://www.cppblog.com/socketref/archive/2008/07/04/55271.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cppblog.com/socketref/comments/commentRss/55271.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/socketref/services/trackbacks/55271.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp; 摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->bh处理1.三种旧式的bottom half 处理类型IMMEDIATE_BH:&nbsp; driver注册入tq_immediate队列，等待调度TQUEUE_BH: &nbsp;&n...&nbsp;&nbsp;<a href='http://www.cppblog.com/socketref/archive/2008/07/04/55271.html'>阅读全文</a><img src ="http://www.cppblog.com/socketref/aggbug/55271.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/socketref/" target="_blank">放屁阿狗</a> 2008-07-04 01:11 <a href="http://www.cppblog.com/socketref/archive/2008/07/04/55271.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>