Current time: 03-24-2017, 07:54 PM
Hello There, Guest! Register

OCPN Timeout

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
#1
Greetings,
This is likely more of an android than an OCPN question.
I did some mild searching prior to posting this...
My setup has an RPI-3 as the boat-puter (running OCPN of course).
GPS data is fed to the RPI from (Dave's) OCPN on my android phone via a wifi UDP connection.
Works fine. :-)
However, the phone goes to sleep after the android "sleep" limit is reached and the RPI ceases to receive GPS data.
Is there a way to have the OCPN app stay awake on my phone? That would make the RPI very happy.  :-)
Kind regards,
--Bob M
Reply
#2
(01-30-2017, 08:48 PM)bobmor99 Wrote: Greetings,
....
My setup has an RPI-3 as the boat-puter (running OCPN of course).
GPS data is fed to the RPI from (Dave's) OCPN on my android phone via a wifi UDP connection.
...hat would make the RPI very happy.  :-)
...--Bob M

Hum .... Maybe it is necessary to make drink a lot of coffee to the smartphone to prevent it from falling asleep ...

More seriously, on my smartphone, Androïd 5.1.1 :
Goto parameter of your device.
then wifi
then using the "3 dots" button, go to advanced
then "Keep WIFI on during sleep".
You have 3 choices.
Reply
#3
(01-30-2017, 09:20 PM)Thank you Gilletarom. I gave that a try, but no joy.No biggie. My android phone functions as a backup GPS source. Cheers--Bob M Wrote:
(01-30-2017, 08:48 PM)bobmor99 Wrote: Greetings,
....
My setup has an RPI-3 as the boat-puter (running OCPN of course).
GPS data is fed to the RPI from (Dave's) OCPN on my android phone via a wifi UDP connection.
...hat would make the RPI very happy.  :-)
...--Bob M

Hum .... Maybe it is necessary to make drink a lot of coffee to the smartphone to prevent it from falling asleep ...

More seriously, on my smartphone, Androïd 5.1.1 :
Goto parameter of your device.
then wifi
then using the "3 dots" button, go to advanced
then "Keep WIFI on during sleep".
You have 3 choices.
Reply
#4
bobmor99....

You may like to try this little free app called "No Screen Off".

https://play.google.com/store/apps/detai...screen.off

Works for me.

Dave
Reply
#5
Many apps for this at Google Play.  Search for 'keep screen on'.  I use the first one shown and it works well. (Keep Screen On Free).

Terry

Attached Files

Thumbnail(s)
   
Reply
#6
Thank you Dave and Terry. RPI-3 is happy now.  :-)
Reply




Users browsing this thread: 1 Guest(s)