上一页 1 ··· 514 515 516 517 518 519 520 521 522 ··· 618 下一页

2019年10月25日

摘要: libusb_bulk_transfer函数说明 API_EXPORTED int libusb_bulk_transfer(struct libusb_device_handle *dev_handle, API_EXPORTED int libusb_bulk_transfer(struct l 阅读全文
posted @ 2019-10-25 10:37 lydstory 阅读(955) 评论(0) 推荐(0)
摘要: 首先, 我的设备是一个KNX无线接受模块, 利用UART与主机相连, 看到的设备就是ttyUSBx 利用libusb写了一个程序, 调用同步I/O 的API, 即libusb_bulk_transfer来传输数据给KNX模块, 代码片段如下: ..... 前面一系列的libusb_init()lib 阅读全文
posted @ 2019-10-25 10:24 lydstory 阅读(1628) 评论(0) 推荐(0)

2019年10月24日

摘要: 免费最好的数据恢复软件是什么 阅读全文
posted @ 2019-10-24 23:47 lydstory 阅读(166) 评论(0) 推荐(0)
摘要: memset(send_buf, 0, SEND_BUFF_LEN); const char * pStr = "this is test txt"; strcpy((char*)send_buf,pStr); unsigned char数组 赋值与长度unsigned char数组 赋值与长度 u 阅读全文
posted @ 2019-10-24 21:59 lydstory 阅读(8655) 评论(0) 推荐(0)
摘要: http://www.stmcu.org.cn/module/forum/forum.php?mod=viewthread&tid=614827&highlight=USB 阅读全文
posted @ 2019-10-24 19:27 lydstory 阅读(1625) 评论(0) 推荐(0)
摘要: 写入 0x81读出 0x01 对USB输出端点进行初始化,包括端点地址、传输类型和最大包长度 注意一下,USB初始化时,也有读/写之分。 写入: cyusb_bulk_transfer(writehandle, 0x01, data, length, transferred, timeout); 读 阅读全文
posted @ 2019-10-24 19:02 lydstory 阅读(2296) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2019-10-24 18:24 lydstory 阅读(686) 评论(0) 推荐(0)
摘要: 你把机器关机一次,估计被你只写满不读,限速死锁了,因为目前没有心跳控制 阅读全文
posted @ 2019-10-24 17:33 lydstory 阅读(474) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/zdyueguanyun/article/details/51192885 阅读全文
posted @ 2019-10-24 16:58 lydstory 阅读(3827) 评论(0) 推荐(0)
摘要: 通过帧收发,算法计算速率 通过帧收发,算法计算速率 通过帧收发,算法计算速率 阅读全文
posted @ 2019-10-24 16:26 lydstory 阅读(266) 评论(0) 推荐(0)
上一页 1 ··· 514 515 516 517 518 519 520 521 522 ··· 618 下一页

导航