technique
文章平均质量分 59
zhu_hit
这个作者很懒,什么都没留下…
展开
-
转载:C++调用方式总结
<br />__stdcall: <br /> _stdcall 调用约定相当于16位动态库中经常使用的PASCAL调用约定。在32位的VC++5.0中PASCAL调用约定不再被支持(实际上它已被定义为__stdcall。除了__pascal外,__fortran和__syscall也不被支持),取而代之的是__stdcall调用约定。两者实质上是一致的,即函数的参数自右向左通过栈传递,被调用的函数在返回前清理传送参数的内存栈,但不同的是函数名的修饰部分(关于函数名的修饰部分在后面将详细说明)。<原创 2010-08-23 10:52:00 · 627 阅读 · 0 评论 -
modem上各种指示灯的意义
HS (High-speed) Lights when communicating at 48000 bps or faster. AA (Auto-Answer) Lights when Auto-Answer is activated. Blinks when detecting an incoming ring. RI (Ring Indicate) Blinks when detecting incoming ring. CD (Carrier Detect) Lights when the Dat原创 2010-08-12 13:02:00 · 3675 阅读 · 0 评论 -
auto dial issue
I fixed a autoras bug last week. I can tell much details for confidentially regime. Just write a artical for knowledge acquisition.Autoras is implemented in CE as a driver as a autoras.dll. CE load it if sysgen_autoras is set when building the image. And t原创 2010-08-10 18:02:00 · 666 阅读 · 0 评论 -
An GPSID sample code for Windows Mobile
I wrote a GPS driver for Mobile_XXX last week. They told me GPS could be driven base on either UART or GPSID. I haven't heard of GPSID before that. So I decided to drive GPS on UART directly. It's a little complicated, because I have to read date from seri原创 2010-08-10 19:16:00 · 1164 阅读 · 0 评论 -
"sysgen_" dependency for Windows CE
CE build modules based on the "sysgen_" setting. Sometimes, some special sysgens will be set automatically by building tools. For example, sysgen_ppp will be added automatically if sysgen_l2tp is set. Build tools implement the functionality like this:in pu原创 2010-08-05 10:57:00 · 735 阅读 · 0 评论 -
a bug of building PPP module
<br />I found an interesting issue for building PPP module. Generally, I build PPP like this:<br />cd private/winceos/comm/ppp2/ppp build -c sysgen ppp <br />And then ppp.dll will be created in the release directory. But I found the ppp.dll that I got t原创 2010-08-05 10:27:00 · 560 阅读 · 0 评论 -
TLS doesn't work on PPPoE in Chelan: MTU issue
I fixed a MTU bug this week. The test resule is very interesting and confusing. 1) PPPoE works well if select other authentication method;2) PPTP works well if only EAP-TLS is selected for authentication method;3) PPPoE connection failed if only EAP-TLS is原创 2010-07-29 13:47:00 · 931 阅读 · 0 评论 -
数对变量就能做对题,链表类面试题的经典解法(2)-- 基础题
先啰嗦一下,链表的题有一个特点,一旦你把解题思路理清之后,第一件事就是数一下变量的个数,一定要数清楚。链表的解题逻辑确定之后变量个数也是确定的,只能多用不能少用,少用一个就会导致程序特别复杂甚至写不出来,所以面试的过程中千万不要为了节省一个变量而折腾。原创 2010-07-19 10:27:00 · 468 阅读 · 0 评论 -
基于无线传感器网络的水文监测系统
以前的一位同事要拉项目,前一段时间临时帮她写了个方案。结果她说我写的太快了,怀疑是我抄的,要不然怎么上午10点写,还不到中午就写完了。懒得跟她解释,不用就算了,我自己贴到博客吧。(其实仔细看就发现了,没怎么写实质性的内容,最占时间的是画那几张图)基于无线传感器网络的水文监测系统1.基于自组网的数据汇集系统图1 无线传感器网络水文监测系统分为三部分,数据采集系统,数据汇集系统和数据处理系统。数据采集系统由每一个传感器节点自主完成,具体实现在下一节介绍。数据处理系统由其他单位负责设计完成。本节重点介绍数据汇集系原创 2010-07-20 10:28:00 · 2880 阅读 · 0 评论 -
ICMP/IGMP/DNS/FTP/HTTP/TFTP/SNMP/Telnet...
ICMP: IPIGMP: IPDNS: UDP 53FTP: TCP 21+HTTP:TCP 80TFTP: UDP 69SNMP: UDP 161Telnet: TCP 23原创 2010-06-28 13:37:00 · 2771 阅读 · 0 评论 -
the dependency of sysgen variables, and how to map sysgen to modules
<br />The bat files in public/cebase/oak/misc define the dependency between sysgen variables. And add modules to image according to the sysgen variable definations.<br /> <br />For example, if SYSGEN_ISAPI_CONFIG depends on SYSGEN_HTTPD, you have to add th原创 2010-11-02 11:09:00 · 574 阅读 · 0 评论