I have a GPS tracker that sends the following sms message when sent a *1234*x# sms.
UnArmed;Engine:off;Door:off;LAC:2728;CID:EE62;Signal Strength:17$GPRMC,150105.00,A,0637.99406,N,00320.91465,E,0.022,,181011,,,A*76
I am trying to do 2 things.
Decode the message so I can create a server for it.
Possibly identify the tracker model to see if it also has GPRS capabilities.
I "inherited" it from an existing health mission that tracks rural ambulances, and the documentation is non existent and also the supplier has closed shop.
Thanks in advance
It looks like everything after the $ is a standard NMEA sentence. Everything before the $ looks pretty straightforward.
Related
Hello we are using pushbullet api but the problem is we get only 40sms message and the old sms will be automatically deleted.. we also purchased pro for this one coz this is so useful hoping devs/founder can hear us and suggest what to do. thankyou!
I am working on a product which requires a real time gps tracking.
I searched on google to collect information, so I got an overview on how does basically GPS work.
Now what else do I need except for a GPS receiver to display on my mobile through an app (designed by us) where a GPS receiver is attached to my product?
I don't want the whole navigation functionality, but just to display where it is located.
I know a GPS receiver continuously sends and receives signals from satellites, but how to display that on my mobile app?
Do we send some info to some kind to a database and then program the app to collect the info from there?
Basically, You need a kind of connection between your receiver and your phone. Since all the phones have their own gps receiver, I assume that you are gonna track the location of a remote device. So the easiest way to do that is creating a basic web service which holds just 2 pages in total.
1 to update data by receiver (I suggest you to use a hash key to prevent bots to piss your database)
1 to get data to mobile app
Depending on your background and project needs you can either use a database to keep location data or you can use just a file (like xml file or something like that)
Also you will need to parse NMEA code to get the actual data. It is easier to do that on web side (like in php). So you can just pass the NMEA code as it is to server, parse it, record it to database/file. Then you can fetch the data from your mobile app by using simple http requests.
If two devices will be close to each other you can easily use bluetooth but I don't know if there is any case that it make sense to place an additional gps receiver just next to a smart phone :)
First of all, you need some kind of communication channel to send location from your product to a server (1) of directly to the phone (2).
Usually GPS tracking devices use GSM modem with GPRS to connection to a remote server. Then your phone app can request location data from server via HTTP API. You can use open source GPS tracking server for your project and use some simple protocol to send location data to it.
Second popular option requires GSM modem again, but in this case device can send SMS messages directly to your phone. In your app you can intercept SMS and retrieve location data.
I've seen something like this in GitHub blog:
The question is: How to send a system messaget (the one with green background)? I really want to send deploy message that way, it would really help our team chat. Or is it all userscripts? :(
There are ulimited online bulk sms provider supporting Restful API. Mainly I look into Nexmo, Tropo, Twilio pricing in different countries.
Let take an example sms to Brazil.
[ TROPO ]
2¢ / msg
[ Nexmo ]
3.63¢ / msg
[ Twilio ]
Twilo offers based on providers. see the pricing.
Vivo 8.3¢ / msg
Claro 8.6¢ / msg
TIM 1.2¢ / msg
Oi 8.3¢ / msg
So, What I want is before sending SMS, I want to identify the Provider. See the example sending sms to TIM is cheaper in Twilio but others Tropo and Nexmo are cheaper. If there is a way to identify the telecom provider then I can program which API to use before sending sms. I don't know this question should be posted here or not. Is there a way or api available to identify this? Thank you.
I didn't see ready solutions, except databases in billings (in most cases they are detailed as needed for concrete needs)
The "number one" source is ITU. Link to docs - http://www.itu.int/oth/T0202.aspx?parent=T0202
It's official source, but it isn't ready to consume database. You must spend much time to manually create database.
There are some preparsed databases, as http://en.allworldsms.com/html/phone_codes.php ...
it's ugly, but it contains logos. And it's not downloadable in one file, but it's still easy to consume.
http://www.data24-7.com/git.php offers a free look up service if you want to use the web based panel they have. If you want API access they charge a sub-penny rate per look up. When I was using it the rate was something like .006 cents. Also the data was only about 90% correct. They may have improved it since then.
You can get more then just the provider, you can also tell if the phone number supports SMS, if it's wireless and what the greeting interrupt tone is (the number that by-passes the voice mail greeting).
I am looking for information on sending GPS coordinates from a GPS module to a server. How would I go about doing this?
I have done countless google searches on the subject and all searches fail to reveal any information on how the data generated from the GPS unit might be actually sent from the gps module to a server.
There are obvious ways to do this using a GSM deivce, but I can't find any information on low cost data plans, networks, etc
All I would need to do is occasionally send the GPS coordinates from the module to a server. This would be done several times a day. One device would probably have bandwidth of a couple KB per month, that's it. What options are out there?
you need:
A GSM modem that support whatever frequencies / technology your intended cellular provider uses. Bunch of examples here: http://www.sparkfun.com/categories/66 Make sure the module manages the TCP/IP aspects and has an easy interface (AT commands).
A data only account with that cell provider for each device. 200MB a month is like $15-20 from most carriers in the US
The GPS Module. Examples here: http://www.sparkfun.com/categories/4
A microcontroller to manage the GPS and the cell modem. Arduino is probably the easiest one to get started with.
All GPS receiver modules output serial NMEA data. Which is fairly simple to parse, and from there you can do whatever you like with it, store it send it, plot it, etc.