Congratulate me. It turned out to compile the driver adapter USB-to-Serial pl2303.ko. The driver allows you to connect usb GPS device. In particular, I was able to connect this .
Procedure:
Throws driver on the device. Ideally, in / modules ( I have worked with the sd card )
pl2303.zip (76.16K)
Number of downloads: 186
enter the command in a terminal ( I entered through the adb)
stty -F /dev/ttyUSB0 ispeed 4800 && cat < /dev/ttyUSB0
Obtain data from satellites
Spoiler
$GPGGA,083635.771,,,,,0,00,,,M,0.0,M,,0000*5C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,083635.771,V,,,,,,,300311,,*25
$GPGGA,083636.771,,,,,0,00,,,M,0.0,M,,0000*5F
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,083636.771,V,,,,,,,300311,,*26
$GPGGA,083637.771,,,,,0,00,,,M,0.0,M,,0000*5E
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,23,89,179,24,11,57,047,,13,50,208,,19,41,150,*74
$GPGSV,3,2,12,24,41,030,,20,36,345,,32,26,016,,28,12,267,*76
$GPGSV,3,3,12,17,12,322,,03,11,150,,07,07,199,,31,01,062,*7D
$GPRMC,083637.771,V,,,,,,,300311,,*27
$GPGGA,083638.771,,,,,0,00,,,M,0.0,M,,0000*51
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGGA,083635.771,,,,,0,00,,,M,0.0,M,,0000*5C
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,083635.771,V,,,,,,,300311,,*25
$GPGGA,083636.771,,,,,0,00,,,M,0.0,M,,0000*5F
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPRMC,083636.771,V,,,,,,,300311,,*26
$GPGGA,083637.771,,,,,0,00,,,M,0.0,M,,0000*5E
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,23,89,179,24,11,57,047,,13,50,208,,19,41,150,*74
$GPGSV,3,2,12,24,41,030,,20,36,345,,32,26,016,,28,12,267,*76
$GPGSV,3,3,12,17,12,322,,03,11,150,,07,07,199,,31,01,062,*7D
$GPRMC,083637.771,V,,,,,,,300311,,*27
$GPGGA,083638.771,,,,,0,00,,,M,0.0,M,,0000*51
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
how to take on and make the startup of the module I think will understand )
Retrieving data from satellites so far only through the terminal, probably need to take adroid gps api
沒有留言:
張貼留言