coap
文章平均质量分 70
iotcsdn
这个作者很懒,什么都没留下…
展开
-
ubuntu coap 物联网协议
1.coap的安装 git clone https://github.com/authmillenon/libcoap.git//下载源码,需要安装git sudo apt-get install autoconf//安装autoconf,用于产生makefile文件 autoconf//产生makefile文件 make //执行makefile文件 make install//安装库...原创 2018-11-28 21:42:39 · 5053 阅读 · 1 评论 -
coap 源码简单修改测试
1.通过查看源码可知,返回值的定义为INDEX,修改INDEX的初始化值即可改变客户端的返回值。将INDEX的定义修改为test即可发现再次请求时返回值已经为从新定义的值。 main-->init_resources(ctx);-->coap_register_handler(r, COAP_REQUEST_GET, hnd_get_index);--->hnd_get_ind...原创 2018-11-28 22:01:07 · 1033 阅读 · 0 评论