Author Topic: “Waiting for Device” in SD, intermittent.  (Read 4998 times)

Uptimist

“Waiting for Device” in SD, intermittent.
« on: May 26, 2020, 09:37:35 pm »
I have a PAW Rosetta.  IPad Pro running Skydemon (both up to date).
Every so often during flight the iPad shows “Waiting for device” and I lose position information.
Often it reconnects automatically after a moment. Sometimes it takes longer, and I resort to kickstarting it by hitting “stop navigating” then “go flying” again, and it reconnects, which is less than ideal if during a critical phase of flight.

Today I tried running two tablets together - cheap Android (Samsung Tab) and the IPad.
I got the disconnects on the iPad but not the Android tablet.

This has been happening for some time, and previously very helpful PaW support have soldered the power cable in (to eliminate loose usb connection as cause).
I have connection type set to Pilotaware(UDP).

I also tested at home, and it never drops out With IPad sitting on the kitchen table, And PAW 20ft away in the garden. Could it be something to do with the aircraft environment, but why specific to IPad?.  Maybe because IPad is also maintaining Bluetooth connection to GTN750 audio...could it be struggling to do both things at the same time?  I guess I could try without the GTN connection to see if that makes a difference, I can’t remember whether I’ve done that before and still had the issue.

I can supply track logs from today’s flight if that would help,

Many thanks

Admin

Re: “Waiting for Device” in SD, intermittent.
« Reply #1 on: May 26, 2020, 10:32:38 pm »
Sounds like the bluetooth may be possible
Impossible to test at home unfortunately?
Thx
Lee

exfirepro

Re: “Waiting for Device” in SD, intermittent.
« Reply #2 on: May 26, 2020, 10:39:11 pm »
Hi,

The ‘Waiting for Device’ message on SKyDemon clearly indicates a connectivity issue between the devices. You say you have the connection type set to PilotAware (UDP) - is that on both devices, or is the connectivity setting in PilotAware/Config still on ‘Auto’? That can cause the effect you are seeing. Worth checking. This should be set to the same as you are using in SD.

Regards

Peter

PaulSS

Re: “Waiting for Device” in SD, intermittent.
« Reply #3 on: May 26, 2020, 10:39:22 pm »
I have my iPad with a Bluetooth connection to my David Clark headset and there are no such problems.

Based on no technical expertise at all, I'm off to Ladbrokes to put my bet on it being a power issue (brown out). Is the power supply in the aircraft the same as it is when it's on the kitchen table?

Gyronaut

Re: “Waiting for Device” in SD, intermittent.
« Reply #4 on: May 27, 2020, 01:09:38 pm »
I'm having the same problems as Uptimist however, I also have an error message that appears when navigating across the tabs in the 192.168.1.1/config.cgi page. When changing between tabs e.g. Home – Configure – Logging – etc. I will get the following Tab error message “Method Not Implemented” and “HTTP Request Method Not Supported” at which point the progress bar stops moving across the page and my Samsung Tab S2 “hangs” for ad infinitum.

During flight and using the latest installation of SkyDemon, I get a similar error message to Uptimist “Waiting for Location Data” at which point I have to restart SkyDemon navigation and use “Location Services” and not “PilotAware”.

During my latest trip I had to restart the PAW 3 times before giving up and reverting to SkyDemon “Location Services”. My PAW classic is using the latest software update (20190621) and my licence was renewed recently and now expires 20210428.

Admin

Re: “Waiting for Device” in SD, intermittent.
« Reply #5 on: May 27, 2020, 01:11:49 pm »
there seems to be a few anecdotal stories on Android web browsers
Which web browser are you using on android ?

Can you confirm that your android device has ALL battery saving options disabled
This is known to mess up the WiFi connection

thx
Lee
« Last Edit: May 27, 2020, 01:15:14 pm by Admin »

Uptimist

Re: “Waiting for Device” in SD, intermittent.
« Reply #6 on: May 27, 2020, 05:17:11 pm »
there seems to be a few anecdotal stories on Android web browsers
Which web browser are you using on android ?

Can you confirm that your android device has ALL battery saving options disabled
This is known to mess up the WiFi connection

thx
Lee

Hi Lee - it's the Android one which is OK, it's the ipad I'm having problems with.

@PaulSS - yes, power seems to be a very common theme, but then not sure why it remains to connected to Android tablet while disconnected from iPad.  Interesting to note you're running ok with both bluetooth to DC and wifi to PAW concurrently.  I suppose the only way for me to rule this out definitively is try flying again with bluetooth off and see if it goes away.

@exfirepro - I'm not sure what you mean by "both devices".  The PAW is set to UDP connection type (so not the Auto default).  The iPad (Skydemon) only has one option I'm aware of "PilotAware", I don't see anything referencing UDP?

I'm using the original USB cable that came with the unit, soldered into the board at the PAW end, with a fully charged Anker 21000 power block, not sure what more I can do than that, power-wise.

Thanks for the suggestions.

PaulSS

Re: “Waiting for Device” in SD, intermittent.
« Reply #7 on: May 27, 2020, 05:42:33 pm »
I run my PAW from a Charge4 USB hub which is wired into the aircraft power. The power cable from the Charge4 to the PAW is 18 AWG wire terminated at each end with the appropriate USB plugs. The mini USB plugged into the PAW itself is secured with hot glue (well, it's cold now but was hot when it came out of the glue gun) tp make sure it doesn't wiggle its way loose.

Uptimist

Re: “Waiting for Device” in SD, intermittent.
« Reply #8 on: May 28, 2020, 10:31:35 am »
I run my PAW from a Charge4 USB hub which is wired into the aircraft power. The power cable from the Charge4 to the PAW is 18 AWG wire terminated at each end with the appropriate USB plugs. The mini USB plugged into the PAW itself is secured with hot glue (well, it's cold now but was hot when it came out of the glue gun) tp make sure it doesn't wiggle its way loose.

Sounds pretty solid. I do have PAW recommended power cable, supplied by them, and soldered into board by them!  Don't think it's a power issue unless the cable is randomly defective.
Is there any way to tell from track logs if power is an issue, just to rule this out as red herring?

PaulSS

Re: “Waiting for Device” in SD, intermittent.
« Reply #9 on: May 28, 2020, 10:59:22 am »
Oh, now we’re straying into the realm of dragons. I do know the home page will tell you what’s happening with the power right now i.e if it’s being throttled etc. I would imagine the logging page would tell those in the know if there was a power snag but I wouldn’t have thought the same of the track logs. I imagine that’s just a record of the position ‘breadcrumbs’, as opposed to the state of the compute itself.

Hopefully someone who knows what they’re talking about can confirm or deny

Admin

Re: “Waiting for Device” in SD, intermittent.
« Reply #10 on: May 28, 2020, 12:40:09 pm »
Is there any way to tell from track logs if power is an issue, just to rule this out as red herring?
Yes messages are indeed sent to the logfile, and also the Hotspot Home page.

Thx
Lee

Uptimist

Re: “Waiting for Device” in SD, intermittent.
« Reply #11 on: May 28, 2020, 03:31:20 pm »
Is there any way to tell from track logs if power is an issue, just to rule this out as red herring?
Yes messages are indeed sent to the logfile, and also the Hotspot Home page.

Thx
Lee

Understood. Is it obvious (for the uninitiated) where and what to look for, or can I send you the file to inspect?
Thanks

Admin

Re: “Waiting for Device” in SD, intermittent.
« Reply #12 on: May 28, 2020, 03:52:31 pm »
Understood. Is it obvious (for the uninitiated) where and what to look for, or can I send you the file to inspect?
Thanks
try searching for the keyword THROTTLE
Also canyou report what is seen on the home page ?

steveu

Re: “Waiting for Device” in SD, intermittent.
« Reply #13 on: May 28, 2020, 07:04:58 pm »
I'm an admin in a team of same on a large flying forum (>60,000) users.

One of the things we have a lot of problems with is people using data compression or saving in browsers on mobile devices. We end up with failed logins, odd invalid session errors, or constant connection/disconnection issues, with need to re-log in.

If using an mobile device, it may be worth disabling data saving/compression. Or, if you feel you need that in your main browser, download and install a different one for PAW. Googling will show you how to turn the feature on/off for testing...

Uptimist

Re: “Waiting for Device” in SD, intermittent.
« Reply #14 on: May 28, 2020, 08:59:31 pm »
Understood. Is it obvious (for the uninitiated) where and what to look for, or can I send you the file to inspect?
Thanks
try searching for the keyword THROTTLE
Also canyou report what is seen on the home page ?

Like this?
$PALOG,20200526,142305,THROTTLE,1,UV,0,FC,1,TH

There are a couple like that every minute in the log.

And a lot of these:

$PALOG,20200526,105117,WIFI,UDP,192.168.1.27:4000,DISCONNECTED
$PALOG,20200526,105117,WIFI,UDP,192.168.1.27:2000,ATTEMPT
$PALOG,20200526,105117,DEBUG,MODEC-FILTER-PASS,7380C8,206,SIG,200,MAX,170,FILTER,16198,VDIFF

Unfortunately I didn't check the home page during flight.  I can fire it up now if that would help, but so far it has always been fine on the ground.

I do have a confession though - while looking for the track logs, I noticed that I had loaded an old aircraft configuration (flown before lockdown) and forgot to switch back to my usual. The old config had connection type set to AUTO not UDP.  So I have loaded the correct config now, but don't know if that is actually relevant.

Thanks