Ethernet. shield or module.

Request new hardware or ideas for the controller

Posts: 129
Joined: Tue Sep 24, 2013 3:18 am
PostPosted: Tue Apr 01, 2014 10:22 pm
Its works, but I get the XML sax parser error with the android app. The app works, as in I can turn things on and off, but the info never refreshes. Portal works OK. I haven't managed to find a fix for the parse error yet. :(

Posts: 12044
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed Apr 02, 2014 9:23 am
I think Curt found something that is causing this issue.
He didn't have anyone to test the fix.
If you PM him, he may be able to coordinate with you to test his fix.
Roberto.

Posts: 260
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA
PostPosted: Wed Apr 02, 2014 4:29 pm
I'll shoot him a PM. I'm getting the sax error with the wifi module and the app which is why I was looking into this. If the fix might work for the wifi as well maybe I can help him test it.

Posts: 129
Joined: Tue Sep 24, 2013 3:18 am
PostPosted: Thu Apr 03, 2014 9:49 pm
I read an old thread where the consensus was that the packet size was too small and that's why the app didn't like it. I tried researching how to fix that but as I've been setting up the tank I didn't find a fix as I've been a bit distracted. ;)

Posts: 260
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA
PostPosted: Fri Apr 04, 2014 7:07 am
I spoke to Curt and it looks like he will have an updated version of the app available in a few weeks that will greatly help with the sax errors.

Posts: 129
Joined: Tue Sep 24, 2013 3:18 am
PostPosted: Fri Apr 04, 2014 7:43 am
Awesome :D Though Im interested in whether its the module or the app causing the issue?

Posts: 260
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA
PostPosted: Fri Apr 04, 2014 9:45 am
From what Curt said it may have something to do with how the app reads the XML. I started to do a little research before speaking with Curt and from what I read so far it sounded like it might be malformed XML (CRLFs before the header) or possibly "bad" characters in the XML. I don't think that is the case here though.
User avatar
Posts: 2667
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Fri Apr 04, 2014 10:08 am
Piper wrote:From what Curt said it may have something to do with how the app reads the XML. I started to do a little research before speaking with Curt and from what I read so far it sounded like it might be malformed XML (CRLFs before the header) or possibly "bad" characters in the XML. I don't think that is the case here though.
i think the problem had to do specifically with my app. i was reading in the entire data into a string before processing it. i think the data coming in would get interpreted differently in the string form or run out of buffer space and error out the parser. i am not 100% certain though because it is a tricky bug to track down. i have switched the way i process and read the data and it now appears to have fixed the problem. it's kind of hard to get into lots of details while im using my ipad to reply. :-)


Sent from my iPad mini

Posts: 129
Joined: Tue Sep 24, 2013 3:18 am
PostPosted: Fri Apr 04, 2014 7:03 pm
Ah, nice one. Have you got the apk I can try?
User avatar
Posts: 2667
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sat Apr 05, 2014 2:20 pm
sabo wrote:Ah, nice one. Have you got the apk I can try?

sure.
http://curtbinder.info/apps/AndroidStat ... .Beta1.apk
it will replace the existing version and can be upgraded without problems.

Sent from my Moto X
PreviousNext

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron