| View previous topic :: View next topic |
| Author |
Message |
wega51
Joined: 19 Aug 2008 Posts: 3
|
Posted: Wed Sep 02, 2009 7:30 pm Post subject: Location SMS from other phones. |
|
|
Hi kruch,
First of all, thank you for this great application. I'm using version 0.9.81 now for a little over a year for Geocaching and I'm really happy with it
I've tried to send a location SMS from a phone that is not running Trekbuddy to another phone that is running Trekbuddy. This SMS is received as a normal SMS and not not recognized by Trekbuddy.
Is it possible to format an SMS in such a way that it will be recognized as a Trekbuddy location SMS?
If that is not the case, how could I send a location SMS from another phone or specially written application so I can receive a location SMS from someone else not using Trekbuddy?
Best regards,
wega51. |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Wed Sep 02, 2009 8:25 pm Post subject: |
|
|
Unfortunately - as far as I know - this is not possible: midlets do not have access to "ordinary" inbox, it is prohibited by the specification, but they can listen on a "private" inbox identified by port number. TrekBuddy is using port 16007. The port number can be specified in URL when application sends SMS.
By the way, I will soon change the format of the location SMS to that used by Garmin XT application (available for symbian, windows mobile, palm) - the format is more human readable, and compatibility with another app is often a good thing, even more when it is a company like Garmin. |
|
| Back to top |
|
 |
wega51
Joined: 19 Aug 2008 Posts: 3
|
Posted: Wed Sep 02, 2009 9:10 pm Post subject: |
|
|
Hi kruch,
Thank you for your fast reply. I think I will try to write my own application and see what is possible. The port number seems to be the missing information (if only I could remember where I found the description of the exact format of your curent location SMS ) .
Anyway, keep up the good work! I'll be monitoring your progress...
BR, wega51. |
|
| Back to top |
|
 |
kruch Site Admin
Joined: 02 Jul 2006 Posts: 5088
|
Posted: Wed Sep 02, 2009 9:24 pm Post subject: |
|
|
When I was defining the format I had no better idea than to mimic NMEA sentences, but it really did not turn out to be a good choice (proprietary and not human understandable)
$TBMYT,1179735361,5000.29965,N,01749.65780,E,Be quick*00
* header $TBMYT or $TBIAH - TrekBuddy My You There or I Am Here
* timestamp in secs (currentTimeMillis / 1000)
* coordinates in the same format as in NMEA
* user message (ie. "Be quick" in this example)
and end as NMEA (*00), but checksum is not implemented |
|
| Back to top |
|
 |
wega51
Joined: 19 Aug 2008 Posts: 3
|
Posted: Wed Sep 02, 2009 9:42 pm Post subject: |
|
|
Cheers!
wega51. |
|
| Back to top |
|
 |
pekkis
Joined: 24 Sep 2009 Posts: 1
|
Posted: Thu Sep 24, 2009 9:22 pm Post subject: |
|
|
| I know how this issue is solved by commercial gps software vendors. They do run separate native SMS proxy on the phone which forwards ordinary SMS received to custom port SMS needed by java application and vice versa. |
|
| Back to top |
|
 |
pras
Joined: 07 Apr 2008 Posts: 10
|
Posted: Thu Nov 12, 2009 9:37 pm Post subject: |
|
|
Another idea is having raw NMEA sentences GPRMC or GPGGA or any other...
In that case it will be easier to make a software send an sms that can be recognized by the TrekBuddy.
Or maybe having all of the above....
Just suggestions!
The software is perfect until now and keep.....walking!!! |
|
| Back to top |
|
 |
|