08 2018 档案
摘要:[('system library', 'fopen', 'No such process'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', ...
阅读全文
摘要:Frames由下图可以看出 - SDU由多个I-frames中的Information Payload组成 - 一个I-frames又拆分成多个HCI data payloadsocket bufferssk_buff, 套接字缓冲区,在linux网络子系统中的各...
阅读全文
摘要:L2CAP in protocol首先看一下L2CAP在Bluetooth protocol architecture diagram中的位置: Features of L2CAPLogical Link Control and Adaptation Protocol...
阅读全文
摘要:在上文,https://blog.csdn.net/feiwatson/article/details/81712933中主要理解了在Kernel中USB adapter是如何实现USB设备驱动,以及HCI数据是通过不同的pipes和host通信的。Control p...
阅读全文
摘要:主要分析一下蓝牙USB Adapter使用USB接口传输HCI包的实现及过程。 参照上面的Bluetooth core system architecture图, 蓝牙USB Adapter作为Bluetooth controller以USB的物理形式连接到Linux...
阅读全文
摘要:Bluez支持的featuresCore Specification 4.2 (GAP, L2CAP, RFCOMM, SDP, GATT) Classic Bluetooth (BR/EDR)Bluetooth Smart (Low Energy)Audi...
阅读全文
摘要:py2exe 可以用来将python program 以exe的形式发布。安装py2exe对于python 3.x pip install py2exe 可以直接安装对于python 2.7, 需要下载exe安装, https://sourceforge....
阅读全文
摘要:Bluez支持的features Core Specification 4.2 (GAP, L2CAP, RFCOMM, SDP, GATT) Classic Bluetooth (BR/EDR) Bluetooth Smart (Low Energy) Audio and media (A2DP,
阅读全文
摘要:首先先了解一下bluez, 以及常用的tools. - hcitool、bluetoothctl等工具,可以进行BLE设备的扫描、连接、配对、广播等操作; - hcitool可以发送HCI command,设置BLE的广播数据; - gatttool可以在GAT...
阅读全文
摘要:创建用户在https://www.cloudmqtt.com/上创建一个帐户 转到右上角的控制面板 点击“创建”按钮安装libsudo pip install paho-mqtt注:不加·sudo可会有如下一些错误Exception:Traceback (most r...
阅读全文
摘要:安装mosquitto下载源代码包 wget http://mosquitto.org/files/source/mosquitto-1.5.tar.gz 解压 tar zxfv mosquitto-1.5.tar.gz 进入目录 cd mosquitto-1.5 编...
阅读全文
摘要:Linux I2C 驱动结构i2c体系结构由三部分组成i2C core i2c core提供了i2c 总线驱动 和 设备驱动的注册,注销方法 i2C and SMBus protocol 实现i2C “bus” driver algorithm driver adap...
阅读全文
摘要:使用 /proc 文件系统来访问 Linux 内核的内容https://www.ibm.com/developerworks/cn/linux/l-proc.html /proc 文件系统并不是 GNU/Linux 系统中的惟一一个虚拟文件系统。在这种系统上,sys...
阅读全文
摘要:转一个挺不错的文章使用 /sys 文件系统访问 Linux 内核https://www.ibm.com/developerworks/cn/linux/l-cn-sysfs/ 如果你正在开发的设备驱动程序中需要与用户层的接口,一般可选的方法有: 注册虚拟的字符...
阅读全文

浙公网安备 33010602011771号