Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ville_sml

Add-ons / Re: GpsTrace
March 23, 2015, 06:02:20
Hi cnchip

I will look into this and fix it. I have made some big changes, including full support for custom gps transmitters. (XML configuration of settings, query message and reply parsing)

Add-ons / Re: GpsTrace
June 18, 2014, 16:30:46
I was already thinking of that. I will have to investigate how make it flexible. Maybe some xml file.

Add-ons / Re: GpsTrace
March 16, 2014, 12:00:09
On the line:
is one quote (") too many
Add-ons / Re: GpsTrace
March 02, 2014, 18:38:50
Here is newer version of gpstrace

Fixed the locus sms, Had the lat lon inverted.
Now you can also pick the number from contacts.
Add-ons / Re: GpsTrace
February 23, 2014, 19:57:42
The button in upright bar are [points] [messages]
Messaging functionality is still under development.

Original function:

Quote from: ville_sml on January 20, 2014, 19:25:28
Open settings -> providers
Press [MENU] -> New

New version:

Quote from: ville_sml on February 23, 2014, 19:08:28
Press [MENU]-> providers
Press [MENU] -> New

In order to create new provider:
Press phones menu button in main screen to invoke menu in lower part of screen.
From there select Providers.
Add-ons / Re: GpsTrace
February 23, 2014, 19:08:28
True. Release will be made to google play.

Here is the updated manual:

Press [MENU]-> providers
Press [MENU] -> New

(1. Device that sends SMS: )
-Select MPTP sms emultor (Emulates gps transmitter)
-Name the provider (any will do)
-set the phone number of the other device

(2. Device that receives SMS: )
-Select MPTP SMS
-Name the provider (any will do)
- Set type (icon of the point displayed)
-set the phone number of the other device
-leave periodic support unchecked (emulator does not support)
Add-ons / Re: GpsTrace
February 23, 2014, 18:00:54
You can try both. The locus sms receiver should now also work.
Add-ons / Re: GpsTrace
February 23, 2014, 15:33:16

I did some work and here is beta version of new gpstrace. There has been some major changes, so this version is beta. If you see any issues, please give me feedback.

Most important changes:
Fixed Unicode issue.
Fixed MPTP emulator coordinate offset.
Change to new locus api.

Add-ons / Re: GpsTrace
January 21, 2014, 17:07:38
1) If the locus sms receiver would work, then it would be possible to send location from locus by using share feature.

1a) The locusSMS is receive only

2) Setup should both ways, however the app can still leave the sms into inbox. It was not actually designed to work both ways,

3) In preferences the options are for internal gps, how often the gps on the phone should try to get location from satellites.
3a) No, they limit only how aggressive is the gps chip.
3b) The periodic uptate on main screen will to automatic updates on certain intervals. It is limited to 20 updates.

4) Auto send is very poorly named, I'm sorry for that. Most of the strings I have written were first in Finnish -> translated to English. It should say: Automatically show received points in Locus (No notification of received point).

5) Probably a bug. I will try to put a beta version to here, where is most of the bugs are fixed.

In the new api, is there a possibility to remove a temporary point/track?

There is method listed:
protected static boolean removeDataSilently(Context ctx, String extraName,
         ArrayList<Integer> itemsId) throws RequiredVersionMissingException;
But is this the correct way? If so, should the ArrayList<Integer> itemsId be ArrayList<Long> itemsId as the GeoData has field:
   // unique ID of this object
   public long id;

Add-ons / Re: GpsTrace
January 20, 2014, 19:25:28
Manual is needed, I grant you that.

If you want to send location from Locus to Locus Here what you need to do:

Open settings -> providers
Press [MENU] -> New

(1. Device that sends SMS: )
-Select MPTP sms emultor (Emulates gps transmitter)
-Name the provider (any will do)
-set the phone number of the other device

(2. Device that receives SMS: )
-Select MPTP SMS
-Name the provider (any will do)
- Set type (icon of the point displayed)
-set the phone number of the other device
-leave periodic support unchecked (emulator does not support)

Goto Main screen

Set enabled on both phones.
Pressing Pull on device 2. will send LOC? sms to device 1.
Device 1 responds with location data sms.

I discovered last week that the the locus SMS receiver is suffering unicode syndrom. It will not probably parse the sms sent from locus directly, as the format was "N DD°MM.MM' | E DD°MM.MM'". Problem is the degree symbol support varies between different devices. Next version will be better.

MPTP is Benefon Mobile Phone Telematics Protocol, quite well supported.

I'm writing (slowly) a new version.
Suggestions and beta testers are welcome.

Add-ons / Re: AddOn - GpsTrace
November 07, 2012, 15:03:56
QuoteThe coords are about 13000km off.
Since I don't see the sms GPSTrace is analyzing I'm not sure what the error is.
In Locus it gives me as coords:
N3252°28.800 E 195°39.360

I fixed the problem, my mistake, I multiplied minutes by 60, when I should have divided.

Try this, it should work, I you can, test also the SOS button. It should show SOS next to name.
Add-ons / Re: AddOn - GpsTrace
November 05, 2012, 08:44:02
1) Do I need to enable service and why.
2) Periodic Update sends periodic sms (only if service is enabled)?
3) Pull versus OK, what happens
4) How do I get that program to send the sms?

Ok. I really should start to write an user manual for this.
But anyhow, here is small guide to use it.

1) Enable service must be on. This way the will register itself as a service and stay alive. Also when the service is enabled the application can receive incoming SMS, otherwise it cannot catch any SMS.
2) Periodic update is used to get SMS update from gps device without user interaction.  In case of Leadtek when periodic update is used it will send "where" to gps transmitter at defined intervals.
3) Pull will send query sms, eg "where" to device, OK normally does nothing.
   But the execptions for OK button are:
    Service enabled and received gps locations in memory
    -> Locus start and show gps locations in locus
    And if you have locus running:
    Service enabled
    ok -> show received gps locations in locus
    Service disabled
     ok -> remove received gps locations in locus

4) - Create Leadtek device in settings.
    - Enable service
    - Press Pull
    - Wait for incoming gps location from leadtek
    - press OK

There is also one setting in preferences, Auto Send, if this is enabled. When locus is running the app will automatically show any incoming GPS Location in Locus.

So is the leadtek protocol working?
Add-ons / Re: AddOn - GpsTrace
October 31, 2012, 15:58:34
QuoteNice one. I made something like that for myself with Tasker, since my handicapped son likes to disappear. Is Leadtek 8m03 ( supported?
Triggerword: where
Answer=nmea sequence like:$GPMRC,130700.094,A,A,4832.5933,N;00930.7490,E,1.58,124.38,201012,,,A*68

Test this version with leadtek 8m03, hopefully it works out of box.
This version also has MPTP emulator push support (for durian)
Add-ons / Re: AddOn - GpsTrace
October 29, 2012, 07:55:10
Quote from: "durian"edit: hmm, I guess I misunderstood? I thought the addon could send position periodically per SMS, but it looks I was wrong?

If you need automatic position send trough SMS, I can easily add this functionality to gps transmitter emulator code (approx. 5 lines of code).
Currently position can be polled by sending SMS to phone.