Back to Top

Wifi detection doesn't work on Nexus One

12 posts / 0 new
Last post
akramer
Offline
Last seen: 12 years 8 months ago
Joined: 12/25/2009 - 14:25
Wifi detection doesn't work on Nexus One

Doggcatcher on the N1 doesn't seem to properly detect if wifi is enabled. Even when it is, and it's connected to an access point (and downloading podcasts over that connection) it refuses to download unless I uncheck the "restrict to wifi" setting.

It also seems to be unable to force wifi to stay on after the phone has gone to sleep - I've ended up downloading podcasts over the cell network because the phone disconnects wifi after I hit the lock button.

I assume these are Android 2.1 issues, fortunately the SDK is out today.

eric
Offline
Last seen: 2 years 5 months ago
Joined: 11/06/2008 - 22:02
I do have an issue for this,

I do have an issue for this, another user just reported it last night.

http://mantis.snoggdoggler.com/view.php?id=359

I did download the 2.1 sdk last night, so I'll see if I can figure out what's going on...you may have to send me your phone though :-) I reviewed the changes in 2.1 and this api is not supposed to have changed.

I didn't know about the failure to keep the wifi on though, here's an issue for this.

http://mantis.snoggdoggler.com/view.php?id=368

Would you be interested in joining the beta group so if I get a fix, we can have someone with a nexus one to test it?

eric
Offline
Last seen: 2 years 5 months ago
Joined: 11/06/2008 - 22:02
Log file

DC will be logging when the wifi gets enabled/disabled. Can you do me a favor and start up DC, toggle wifi off, wait a minute, then toggle it on, and then send me the log file. It's "send log" in the dc menu. You can send it to support at snoggdoggler.com.

Also if you could add an item into the download queue, then go to the download queue screen and tell me if you see "not connected to wifi" in the blue bar.

Thanks.

dotfits
Offline
Last seen: 12 years 2 months ago
Joined: 02/05/2010 - 23:48
I just bought the app from

I just bought the app from android market, and I have the same issue. I can send you the log file if you want.

If the "join beta" offer is up, I would love to help you test it. I have a nexus one.

Thanks, and looking forward to listening to podcasts with your app!

-Alok

eric
Offline
Last seen: 2 years 5 months ago
Joined: 11/06/2008 - 22:02
Nexus one wifi

I was able to see this happening on my nexus one earlier. What happens is that when the nexus one broadcasts messages when it changes from wifi to cell, sometimes the last message sent is "mobile", even when you are connected to wifi. I can see this happening pretty clearly in my logs. I tried to work around it but it seemed to cause the opposite effect of causing the nexus one to report that it is on wifi when it isn't, which is worse because you could start a bunch of downloads over the cell network when you have it configured to only use wifi.

I will add you to the beta. I may add a preference for this experimental workaround in the next beta and you can give it a shot.

I haven't notice the failure to detect the wifi problem since I got the latest OTA for the nexus one, so that issue may be fixed. Have you gotten the OTA yet?

theukrainian
Offline
Last seen: 5 years 7 months ago
Joined: 02/04/2010 - 12:21
I just noticed this with

I just noticed this with latest N1 build and latest (released) doggcatcher too.

Also, I noticed that DC said: "wifi not available" (and it was not downloading anything), but then when i switched wifi off (using the wifi toggle), DC started downloading items over my EDGE connection.

Finally, I notice that DC frequently reports connection errors (no route to host, etc) when the phone is 'off' (even though my wifi is set to stay on even when the phoen is off). I am not sure this is an issue with N1 or with DC.

eric
Offline
Last seen: 2 years 5 months ago
Joined: 11/06/2008 - 22:02
This exactly what I saw in my log

Android devices send events when they change from wifi to mobile and vice versa. I saw my nexus one get into a state when it was on wifi, the most recent event sent was mobile. And when it was on mobile, the last event sent was wifi. I saw this clearly in my logs, once I rebooted the phone it started acting normally again.

This matches exactly the behavior you are describing.

Where are you setting the wifi to stay on when the phone is off? When the phone is asleep, it should not have the wifi on as far as I understand. Sometimes when DC wakes the phone to update the feeds, it takes a while for the wifi to get an ip and be ready, so the updates start on mobile, and then when the phone flips from mobile to wifi there are a few feeds that have connection errors while it's making the switch.

theukrainian
Offline
Last seen: 5 years 7 months ago
Joined: 02/04/2010 - 12:21
Settings::wireless &

Settings::wireless & networks::wi-fi settings::menu(advanced)::wi-fi sleep policy::never

Unless there is a bug in N1 - which i suppose i could try to test with some telnet client or something - i see WI-FI indicator in my notification bar to just stay on when the phone is asleep (I see it right away upon waking the phone up; normally, when wi-fi "connection" drops, i'll see it take a bit of time to connect). Browsing right away, upon wakeup, also seems to work.

I don't know if it matters, but my phone is set to only d/l feeds when in Wi-fi

pla
Offline
Last seen: 8 years 9 months ago
Joined: 02/13/2010 - 10:17
Nexus One WIFI connected not detected

Hi,

I'm on version 1151 of DoggCatcher. I'm connected to WIFI but DoggCatcher says "Not connected to WiFi". Android build ERE27.

Is there anything I can do to work-around this issue? If no, do you have an ETA on a fix?

Great app.

Thanks, PLA

eric
Offline
Last seen: 2 years 5 months ago
Joined: 11/06/2008 - 22:02
Nexus one wifi problem

I just published a new version to the market that fixes this for the most part. You shouldn't have problems downloading on wifi any longer. There is still a rare case where a download can begin over a mobile connection when you have DC configured to download only on wifi. This is due to the nexus one's behavior of very briefly indicating that it is on wifi when it isn't. I'll try to get a workaround for this in the next release, so we can close out all the nexus one specific issues (it is a truly awesome device by the way).

Thanks for your patience as I work out these issues.

pla
Offline
Last seen: 8 years 9 months ago
Joined: 02/13/2010 - 10:17
Version 1156 fixed my Nexus One WiFi detection issue

Hi

Just installed version 1156. It fixed my Nexus One Wifi detection issue.

Thanks much, PLA

eric
Offline
Last seen: 2 years 5 months ago
Joined: 11/06/2008 - 22:02
Thanks for letting me know

Thanks for letting me know