当前位置:网站首页>利用adb 调试设备串口信息的一个小方法
利用adb 调试设备串口信息的一个小方法
2022-06-23 05:34:00 【Ti-laser】
遇到一个调试gps信息的问题,由于gps被焊接在设备上,硬件人员为了让pc能够接收gps信息采用的方法是并接一条串口线到gps串口,这样很麻烦,采用下面的方法可以通过android的adb 用usb捕获信息给pc。
首先在pc上安装虚拟串口软件:
下载网址:http://www.qiujicai.com/?post=42
然后创建一个虚拟串口对,比如串口2连接到串口3。
用secureCRT打开com2
调用cmd,进入cmd模式。
输入下面命令:
cmd.exe >com3 0<&1
这时候应该可以看到secureCRT 输出了字符。
继续输入;adb shell
Cat /dev/ttyS3
可以看到输出gps定位信息。
关闭securCRT,然后用gps软件打开COM2即可捕获gps信息。
边栏推荐
- Link of Baidu URL Parameters? Recherche sur le chiffrement et le décryptage des paramètres d'URL (exemple de Code)
- C Advanced Learning -- Reflection
- 业务逻辑安全思路总结
- 从 WAN 到 SD-WAN 边缘设备的网络架构
- 剑指 Offer 42. 连续子数组的最大和
- Home address exchange
- Steam教育对国内大学生的影响力
- Smart port: how to realize intelligent port supervision based on the national standard gb28181 protocol easygbs?
- Day_ 12 smart health project jasperreports
- Day_ 02 smart communication health project - appointment management - inspection item management
猜你喜欢
随机推荐
haas506 2.0开发教程-高级组件库-modem.net(仅支持2.2以上版本)
C language obtains second, millisecond, subtle and nanosecond timestamps
Day_ 05 smart communication health project - appointment management - appointment settings
【踩坑记录】数据库连接未关闭连接,释放资源的坑
Kubesphere offline deployment without network environment
minio单节点部署 minio分布式部署 傻瓜式部署过程 (一)
MySQL5.6 (5.7-8) 基于shardingsphere5.1.1 Sharding-Proxy模式读写分离
杂七杂八的东东
综合培养学生脑力思维的少儿编程
Mysql5.6 (5.7-8) is based on shardingsphere5.1.1 sharding proxy mode. Read / write separation
图解 Google V8 # 18 :异步编程(一):V8是如何实现微任务的?
I heard you want to embed ppt on WordPress website?
问题:访问组件中数据object(定义的数据)中属性也为object对象中的属性时,报错现象
How to build a data application system based on overall value for energy enterprises
Day_ 08 smart health project - mobile terminal development - physical examination appointment
索引——MySQL
Termux
Day_ 03 smart communication health project - appointment management - inspection team management
js创建数组(元素都是对象)
qt creater搭建osgearth环境(osgQT MSVC2017)









