03 2018 档案

C标准库与嵌入式
摘要:stddef.h,其中包括size_t,sizeof函数返回值,不同平台的大小不一致 Size and pointer difference types[edit] The C language specification includes the typedefs size_t and ptrdi 阅读全文

posted @ 2018-03-29 14:21 yanhc 阅读(290) 评论(0) 推荐(0)

消息队列实现双向通信
摘要:消息队列实现双向通信应该用两个消息来实现,单个消息队列是单向的,两个单向的消息队列,实现双向。 Where can I find a bidirectional messaging queue? If you need an immediate reply to a message, then yo 阅读全文

posted @ 2018-03-15 23:39 yanhc 阅读(2388) 评论(0) 推荐(0)

lwip nd没有实现ra,contik有参考
摘要:lwip中关于nd的实现,没有路由器的功能,不能发送ra 在contiki中发现有nd发送ra的实现, contiki/core/net/ipv6/uip-ds6.c 在rs的接收处理中,发送sollicited,在定时器中定期发送periodic。 发送solicted的时候,其实,是让定时器直接 阅读全文

posted @ 2018-03-11 00:05 yanhc 阅读(543) 评论(0) 推荐(0)

导航