Any feedback regarding AGPS ?

mdeweerd's picture

Did anybody try the AGPS upload functionality of BT747 (dev versions + J2ME).

Does downloading from the internet in J2ME work for you?

Hi Mario. The experimental

Hi Mario.

The experimental AGPS upload feature works here perfectly on an iBlue 747A+!

Details about the Logger:

Firmware: AXN_1.0-B_1.3_C01 (TSI_747A+)
Logger-SW: V1.39

Regards
Michi

mdeweerd's picture

Thanks. Can you detail your

Thanks. Can you detail your host system?

fux's picture

Hi. I didn't notice you mean

Hi.

I didn't notice you mean the mobile version of BT747. I have tested AGPS in the actual developer-version (1407) on my desktop system and the upload of AGPS data works perfectly.

System Info: Debian Linux unstable (sid), JAVA version 1.6.0_14.

I've tried the J2ME (0.3.1) on my Sony Ericsson P1i. (Before i cleaned AGPS in Desktop BT747) After i entered the ftp location and hit ok i'm in the main menu and the phone asks me, if i want to grant internet access to the program. I accepted that and the phone connecting to my local wifi.

In the application log i found the following information:

[Debug] SimpleFTP total received bytes: 53760
[Warn] Unhandled exeption in showNotify() of Log

java.lang.ArrayIndexOutOfBoundsException: 0
[Info] Got AGPS data

I connected the logger to USB and connect to it with BT747. It says AGPS Data for 0 Blocks. I found no logfile on the phone from J2ME, but i accept the question to write log data from my phone for J2ME.

I hope this helps.

Regards
Michi

mdeweerd's picture

Thanks for the test

Thanks for the test Michi.

I'll have a read of the cod to try to find where the ArrayIndex problem comes from.
The download from the net itself seems to work which is good news.

mdeweerd's picture

Re-test AGPS in desktop...

I did not look in the J2ME problem yet, but I did get a login and password for use in BT747 to get the EPO data. Therefore, I made the url entry disappear from the GUI and currently I will download 7d data by default - I'll add options for other lengths later.

Can somebod test this (V2.X.1416).

fux's picture

Hi Mario. Where can I

Hi Mario.

Where can I download a compiled version of V2.X.1416? On official sourceforge download-page I found only V2.X.1415 in dev-section.

Regards
Michi

mdeweerd's picture

Now it is there

I made the manual intervention that I forgot to make - now it is available.

It is always available as the development webstart version after the end of my build. To make it public on sourceforge, I need to still go to the site, tick a checkbox and a release button. Sometimes I forget.

fux's picture

Hi Mario.Thanks for upload.

Hi Mario.

Thanks for upload. Here are my test results (cleared AGPS before):

http://www.pic-upload.de/view-2365406/agps_upload_1416.png.html
(How I can add images directly displayed in the post? HTML img code doesn't work.)

EDIT: Here the log output:

57695 - Getting MTK7d.EPO data.
Exception created: AGPS data could not be fetched from the URL.

Check that the URL is correct and can be opened in a browser.

The format of the URL can be ftp://login:passwd@siteURL.com/MTK7d.EPO
to fetch from a site

It can be
file://c:/path/MTK7d.EPO
to fetch from a local file.

java.net.MalformedURLException: no protocol: ${}MTK7d.EPO
at java.net.URL.(URL.java:567)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
at net.sf.bt747.j2se.app.agps.J2SEAGPS.getBytesFromUrl(Unknown Source)
at bt747.j2se_view.J2SEController$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
at bt747.j2se_view.J2SEController.downloadAndUploadAgpsData(Unknown Source)
at bt747.j2se_view.AgpsPanel.access$100$629ce85(Unknown Source)
at bt747.j2se_view.AgpsPanel$2.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Regards
Michi

mdeweerd's picture

I uploaded a new version

I uploaded a new version BT747_2.X.1416M_full.zip.

To add images, you can click on the icon just below the comment window ( a green plus sign and a small image).

References to external images are filtered (unless you have sufficient rights like myself). It is incredible how much spamming goes on when you have a site like this one up and running.

fux's picture

The new version works. The

The new version works. The upload is successful. But i need to reconnect to the iBlue to display the correct AGPS values.

AGPS Data for 28 Blocks (from 19.06.2009 00:00:00 to 25.06.2009 18:00:00)

EDIT: I posted the full log here: http://pastebin.ca/1466612

Regards
Michi

mdeweerd's picture

Excellent. I'll have to

Excellent.
I'll have to remember to check the AGPS information update.

mdeweerd's picture

New J2ME version

I uploaded a new J2ME version (0.3.16):
- Should fetch MTK EPO file through BT747 specific credentials when the AGPS URL is less than 6 characters or when it is unchanged vs the initial settings. The URL is still available to allow referencing a local file on the phone (using a URL like file://).
- Should catch some more errors. I think that the ArrayIndex problem was related to the log screen itself. So catching error there. Also catching error for AGPS upload that should have started (but maybe failed due to log related problem).

I suggest to try leaving the URL you already added (since download worked), then to clear the URL (and see if download still works).

Hopefully upload works or we get more information regarding the failure(s).

The next step would be to show a progress bar during the upload.

simospa@gieffeedizioni.it's picture

os X is ok!

Hi Mario!
1438 is working just perfect on osX!

O.T.: 747A+ is 10 time faster than 747 downloading the logs.

mdeweerd's picture

Progress bar in J2ME AGPS uploaded

0.3.19 shows a progress bar during AGPS upload. That's usefull to know when the upload finishes. The 'Abort wait' button changes to 'Back' at the end of the upload too.

Post new comment

(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <p> <br>
  • Lines and paragraphs break automatically.
  • Use the special tag [adsense:format:slot] or [adsense:format:[group]:[channel][:slot]] or [adsense:block:location] to display Google AdSense ads.
  • Images can be added to this post.

More information about formatting options