How to check if a GPS module is connected to a specific serial port on linux? -



How to check if a GPS module is connected to a specific serial port on linux? -

what want do

i need test presence , status of gps module on specific serial port

/dev/ttys2

but can't find command so.

additionnal informations

i'm running on fedora 15 distro.

i can launch gps daemon

gpsd -g -n /dev/ttys2

and check daemon informations

cgps

everything fine values returned (my module live , connected). however, command doesn't allow external programme check if it's working should.

any suggestions? !

write programme (inside external program) connects specified serial port , baud rate. asuming gps chip configured send in nmea format via serial port, receive nmea sentences 1 time second.

each such nmea line starts $gp (for gps chips). if receive chip working.

to receive more detailed configuration settings, have read manual of gps chip manufacturer.

linux gps

Comments

Popular posts from this blog

ruby on rails - Devise Logout Error in RoR -

c# - Create a Notification Object (Email or Page) At Run Time -- Dependency Injection or Factory -

model view controller - MVC Rails Planning -