Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-12-2012, 19:23   #1
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
gps and other devices via network connections?

This thread is related to running OpenCpn in a chroot environment on android devices.

My sense is it would possibly be less problematic than getting OpenCpn to use the built-in gps on an android device or via a usb cable, to connect via a wireless or bluetooth enabled gps using /dev/ttyS0 through S3, Network LIBGPS and or Network GPSD. Anybody with any experience/suggestions out there?

armido
__________________
armido is offline   Reply With Quote
Old 08-12-2012, 06:59   #2
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: gps and other devices via network connections?

I still feel it would be more reliable to use the available NMEA data from the tablet´s own GPS and port it to your installed OpenCPN prog. After all,there´s dozens of apps using the local GPS data.

There is a free utility which ´creates´ apps,or rather copies EVERY typed sequence and from this produces an automatic app. Perhaps this could be used?

The trick is to be able to catch the NMEA datastream and feed it to OpenCPN´s data port.

You could try catching the NMEA datastream produced by the FREE ´GPS Data Monitor´app which will also store the captured data in a file for later testing. You can download it as an .APK file.

Not sure it would be any easier to capture and feed the NMEA data using a bluetooth GPS device. You would also then occupy the only USB port on the tab which needs a USB ´dongle´inserted.

See attached screenshot of the datastream collected and saved.

Tore
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-12-08-11-41-42.jpg
Views:	93
Size:	371.7 KB
ID:	50897  
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 08-12-2012, 18:40   #3
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: gps and other devices via network connections?

Tore,

Thanks for your suggestions. The server in linux is gpsd, and can be configured to connect to a user defined address such as localhost:someport. The problem using the built in gps is that there is no such address associated with it. It may be possible to connect to an external gps via usb, wireless or bluetooth and by using shareGPS from the market define ports so opencpn will receive data. Considering the options offered by opencpn for connectivity, tty, usb, libgps network and another network option that escapes me at the moment - there isn't much room for deviation.

Your input is welcome and appreciated.

Thanks,
armido
__________________
armido is offline   Reply With Quote
Reply

Tags
gps

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 10:06.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.