icon TrekBuddy
www.trekbuddy.net
Outdoor companion.
  • bluetooth / serial / internal GPS, simulator
  • offline raster maps (common grids and projections)
  • smart GPX / raw NMEA logs
  • waypoints and simple navigation
  • ... and more
  • MIDP and Symbian phones
  • Blackberry
  • Android
  • Windows Mobile 5.x/6.x
  • Windows Phone Store  (FAQ)
Visit our wiki to see all features, guides and howtos. Project tracker.

Partners:    (Polish/Polski)(Polski) Compass mapy      (Polish/Polski)(Polski) Galileos mapy      (Polish/Polski)(Polski) CartoMedia      (Czech/╚esky)(╚esky) Eaglesoft trasy      (Polish/Polski)(Polski) ExpressMap     

 FAQFAQ   SearchSearch   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Location SMS from other phones.

 
Post new topic   Reply to topic    TrekBuddy Forum Index -> General discussion
View previous topic :: View next topic  
Author Message
wega51



Joined: 19 Aug 2008
Posts: 3

PostPosted: Wed Sep 02, 2009 7:30 pm    Post subject: Location SMS from other phones. Reply with quote

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 Smile

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. Confused

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
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5401

PostPosted: Wed Sep 02, 2009 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
wega51



Joined: 19 Aug 2008
Posts: 3

PostPosted: Wed Sep 02, 2009 9:10 pm    Post subject: Reply with quote

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 Rolling Eyes ) .

Anyway, keep up the good work! I'll be monitoring your progress...

BR, wega51.
Back to top
View user's profile Send private message
kruch
Site Admin


Joined: 02 Jul 2006
Posts: 5401

PostPosted: Wed Sep 02, 2009 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
wega51



Joined: 19 Aug 2008
Posts: 3

PostPosted: Wed Sep 02, 2009 9:42 pm    Post subject: Reply with quote

Cheers! Very Happy

wega51.
Back to top
View user's profile Send private message
pekkis



Joined: 24 Sep 2009
Posts: 1

PostPosted: Thu Sep 24, 2009 9:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
pras



Joined: 07 Apr 2008
Posts: 10

PostPosted: Thu Nov 12, 2009 9:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    TrekBuddy Forum Index -> General discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group