摘要: readdir函数 #include <dirent.h> struct dirent *readdir(DIR *dirp); The readdir() function returns a pointer to a dirent structure representing the next 阅读全文
posted @ 2021-10-02 10:48 feiwatson 阅读(28) 评论(0) 推荐(0) 编辑
摘要: Block-Wise Transfers in the Constrained Application Protocol (CoAP) https://www.rfc-editor.org/rfc/rfc7959.html In summary, this specification adds a 阅读全文
posted @ 2021-09-25 20:30 feiwatson 阅读(87) 评论(0) 推荐(0) 编辑
摘要: http://coap.technology/ The CoAP resource directory provides a way to discover the properties of the nodes on your network. CoAP has been designed to 阅读全文
posted @ 2021-09-25 20:12 feiwatson 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 以下是基于libcoap, 在ubuntu上,一个shell中运行./coap-server, 另外一个为client. client的commands 和log 如下: 1.列出资源 2.讲一个28K的文件写入server的example_data 3.读回example_data并写入本地文件 阅读全文
posted @ 2021-09-25 15:44 feiwatson 阅读(456) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install xrdp https://www.jb51.net/article/192171.htm 阅读全文
posted @ 2021-08-08 23:34 feiwatson 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 在上一篇中,用raspberryPi能够扫描到Ti SensorTag. 但是没有获得更多的数据,并且发现sensor Tag并没有回复scan request。https://blog.csdn.net/feiwatson/article/details/... 阅读全文
posted @ 2018-10-05 21:51 feiwatson 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 前面几篇分别简单涉及了raspberryPi上bluezBLE snifferTI SensorTaghttps://blog.csdn.net/feiwatson/article/details/81590397https://blog.csdn.net/... 阅读全文
posted @ 2018-10-05 20:11 feiwatson 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 硬件cc2650 SensorTagConnect with App在手机上安装Ti提供的sensorTag App即可和sensorTag 建立连接。如下手机截图, 阅读全文
posted @ 2018-10-05 17:08 feiwatson 阅读(157) 评论(0) 推荐(0) 编辑
摘要: BLE Snifferhttps://www.adafruit.com/product/2269Bluefruit LE Sniffer - Bluetooth Low Energy (BLE 4.0) - nRF51822nrf51822模块https:/... 阅读全文
posted @ 2018-10-05 10:14 feiwatson 阅读(1101) 评论(0) 推荐(0) 编辑
摘要: **proto_ops:**该结构体包含了某个特定的“protocol family"的一系列functions。 其包含的functions和struct proto很类似,但是其在socket层 (见下图中1的位置)。例如,inet_stream_ops... 阅读全文
posted @ 2018-09-20 14:35 feiwatson 阅读(803) 评论(0) 推荐(0) 编辑