当前位置:网站首页>A small method of debugging equipment serial port information with ADB

A small method of debugging equipment serial port information with ADB

2022-06-23 07:00:00 Ti-laser

Encountered a debug gps The question of information , because gps Welded to equipment , Hardware personnel to make pc Be able to receive gps The method of information is to connect a serial port cable to gps A serial port , It's a hassle , The following method can be used to android Of adb use usb Capture information to pc.

First, in the pc Install virtual serial port software on :

Download url :http://www.qiujicai.com/?post=42 

Then create a virtual serial port pair , For example, serial port 2 Connect to the serial port 3.

use secureCRT open com2

call cmd, Get into cmd Pattern .

Enter the following command :

cmd.exe >com3 0<&1 

It should be possible to see secureCRT  Characters output .

Continue to input ;adb shell 

  Cat /dev/ttyS3

You can see the output gps Location information .

close securCRT, And then use gps Software on COM2 To capture gps Information .

原网站

版权声明
本文为[Ti-laser]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230534067358.html