Giter VIP home page Giter VIP logo

opentracker's Introduction

OpenTracker

The first commercial grade, fully open source and 100% Arduino compatible GPS/GLONASS vehicle tracker with a powerful 32-bit ARM Cortex-M3 CPU.

Official website: https://geolink.io

The new IDE integration files are available at: https://github.com/geolink/opentracker-arduino-board

All PCB files are available at: https://github.com/geolink/opentracker-hardware

OpenTracker Wiki: https://github.com/geolink/opentracker/wiki

Stable and tested firmware version: https://github.com/geolink/opentracker/releases

opentracker's People

Contributors

bryant1410 avatar bullshit avatar drashko1 avatar ilevans avatar m4rkw avatar opensourcegps avatar ppescher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opentracker's Issues

FYI: Wiki Started

Hi All.

I started an initial Wiki page (it had to start sometime).

I would like to see it updated when a known workable and tested version of the code is available so that new people are able to locate it when they begin.

Some suggestions.

  • Record the date and a link (a tag would be preferable) to the commit version. (ensure new people do not begin with buggy code)
  • a Wiki page of enhancements that different people are working on for the code. (I hate re-inventing the wheel)

regards
Ian
@ilevans

Method name - openPort(); Exception type - Port busy

I don't understand why when I uplaod 2 sketch the second obtain this error:
processing.app.debug.RunnerException at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:141) at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78) at processing.app.Sketch.upload(Sketch.java:1186) at processing.app.Sketch.exportApplet(Sketch.java:1160) at processing.app.Sketch.exportApplet(Sketch.java:1132) at processing.app.Editor$DefaultExportHandler.run(Editor.java:2381) at java.lang.Thread.run(Thread.java:745) Caused by: processing.app.SerialException: Errore durante l'esecuzione del comando touch sulla porta seriale '/dev/cu.usbmodem1411' at processing.app.Serial.touchForCDCReset(Serial.java:87) at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:130) ... 6 more Caused by: jssc.SerialPortException: Port name - /dev/cu.usbmodem1411; Method name - openPort(); Exception type - Port busy. at jssc.SerialPort.openPort(SerialPort.java:164) at processing.app.Serial.touchForCDCReset(Serial.java:81) ... 7 more

I close the Serial Monitor, after I close also the IDE arduino, but nothing the error is port busy...
I have to turn-off the power to board and after turn-on it...
thanks

Programming on Linux and Mac

I'm trying to install OpenTracker board in Arduino IDE (Linux 32bit) but, when i press "install" button i read a red message "Tool bossac is not available for your operating system" and procedure stops. Can somebody help me? Thanks

Can't SPI

I need to communicate with a SPI based sensor and tried including SPI.h in Opentracker_3_0_1 but now it won't build.

//External libraries

include < SPI.h >

include < TinyGPS.h >

include < avr/dtostrf.h >

include < DueFlashStorage.h >

Arduino IDE version is 1.6.5 and the board target is "Geolink OpenTracker"

Error messages are:
error: 'PIOC' was not declared in this scope
error: 'PIOD' was not declared in this scope

upload issues ( USB ) when a device is attached to EXT_RX and EXT_TX

we have an expansion shield on the Opentracker ( rev 2.3 ) with a device on EXT_RX and EXT_TX ( Arduino "Serial" )

I know the bootloader listens on the UART0 ( Arduino "Serial" / EXT_TX ,EXT_RX ) and USB for new code, when we have a device is attached to those pins it seems to interfere with the upload process even if only USB is used.

The board "gets stuck" and we have to detach the shield, re-do the flash erase with the ERASE pin, upload and re-attach the shield.

do you know how we could get around this ?

I think this is more a SAMBA issue than a OpenTracker issue but useful to know about for anyone that wants to attach other serial devices to OpenTracker

  • rather use EXT_RXD2 and EXT_TXD2 - Arduino "Serial3"

arduino 1.6.8 and avr/dtostrf.h

I've setted Arduino Uno but when I compile receive the error:

/Users/oscar/Desktop/opentracker-master/Opentracker_3_0_1/Opentracker_3_0_1.ino:7:25: fatal error: avr/dtostrf.h: No such file or directory
 #include <avr/dtostrf.h>

I'm newbiein arduino, so How do I resolve it?
thanks

Parsing gps date and time.

The parsing of the gps time data does not work for 00:00 to 00:59 UTC time.

I am in Australia and 00:00 UTC is 10:00 am. Data from 10:00 to 11:00 is corruptly translated to being in the future:

I have replaced the gps date time parsing with the following.

Sorry, I do not have GIT installed as yet.

gps.ino from line 128

         //update current time var - format 04/12/98,00:35:45+00
         // Add 1000000 to ensure the position of the digits
         ltoa(date_gps+1000000, tmp, 10);  //1ddmmyy                    
         time_char[0] = tmp[1]; 
         time_char[1] = tmp[2]; 
         time_char[2] = '/'; 
         time_char[3] = tmp[3]; 
         time_char[4] = tmp[4]; 
         time_char[5] = '/'; 
         time_char[6] = tmp[5]; 
         time_char[7] = tmp[6]; 
         time_char[8] = ',';                    


         // Add 1000000 to ensure the position of the digits
         ltoa(time_gps + 100000000, tmp, 10);  //1hhmmssms
         time_char[9] = tmp[1]; 
         time_char[10] = tmp[2]; 
         time_char[11] = ':';              
         time_char[12] = tmp[3]; 
         time_char[13] = tmp[4]; 
         time_char[14] = ':';              
         time_char[15] = tmp[5]; 
         time_char[16] = tmp[6]; 
         time_char[17] = '+';              
         time_char[18] = '0';
         time_char[19] = '0';
         time_char[20] = '\0';

APN storage space is too small

In the UK, using Tesco mobile phone service the APN name is 'prepay.tesco-mobile.com' which is longer than the 20 chars allowed for. I had to increase this to get a functional network connection.
Note also, that no error is generated when sending an SMS to set the APN when the sent APN is too long.

Use DueFlashStorage library with your board

I saw the use of DueFlashStorage in your sketch.
Good.
I already use this library in my project, but I have a doubt about its management.... and I can't find out complete documents that helps me.

So I hope in your help...
In my project I want to store lots of configuration data, and my sketch is very big.
So...I am very scared....because I don't know if my configuration overwrite the code or if the code overwrite configuration data.

Are there struments to check it?!?

Thanks

CAN Bus not work.......

I Try the CAN Bus use the example program "CAN_TrafficSnooper.ino" in the <due_can> library. But not any response. Use the oscilloscope to check the CAN bus, Everything is OK.............

GPS Date/Time

Hi All,

In gps.ino you added +1000000 for 1ddmmyy and +100000000 for 1hhmmssms
But you did it only for debug output.

I think you need to change following lines:

ltoa(date_gps, tmp, 10);
for(int i=0;i<strlen(tmp);i++)
TO
ltoa(date_gps + 1000000, tmp, 10);
for(int i=1;i<strlen(tmp);i++)

AND

ltoa(time_gps, tmp, 10);
for(int i=0;i<strlen(tmp);i++)
TO
ltoa(time_gps + 100000000, tmp, 10);
for(int i=1;i<strlen(tmp);i++)

Serial.println don't work

Why Serial.println don't work than debug.println yes and why if I do:

`
void setup() {

//setup led pin
pinMode(PIN_POWER_LED, OUTPUT); // Set LED as Output
digitalWrite(PIN_POWER_LED, LOW); // Set LED initially off
Serial.begin(9600);
debug_print("setup");
Serial.println("Serial setup");
}
`

none string are print into monitor serial, why?
thanks

CMS errors?

Anyone else experiencing CMS errors, usually 604 and 10 on SMS?
Not sure if this is necessarily coding issue or network/module.
I have seen some incoming SMS printed in Serial Monitor a couple times.

Storage commented out?

It seems as all calls to the storage code is actually commented out. What is the reason behind that, will it not work?

3G Board - Failed auto-baudrate & +CME Error: 4

Here in USA, some of the major carriers are dropping their 2G service. This forced me to upgrade to the new 3G boards. The modem is having trouble connecting to the cellular network. I have attached a .txt file with the debug output. I have switched cellular carriers and my old 2G Opentrackers connect just fine. This seems to be only a problem with the new 3G boards.

Please Help.

Debug output.txt

Error while sending update to web

Why its showing below error message ....

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
.php

<title>301 Moved Permanently</title> <

for inspiration update firmware over http

I do not have more time for comment and create clearly code, but it is good function.
It would be a shame to share it. Sorry for my English.

On web is script which add bootloader (folder uflash) to binary my software for opentracker( Carunit_1_1), this script send binary as more block hex.
Opentracker get http get for every page and store over 128kB when get all change boot from section 1 and reboot. in section 1 now is downloaded bootloder with software bootloader reflash section 0 and change boot to section 0.

In carunit is interesting function wich set gprs parametrs from operator network code.
And function for get credit from prepaid sim card.

Software attached it is not complete because complex and web code for view trackers, but for include firmware update over http for own application is all that you need.
Software assume correct DueFlashStorage for access to both bank wich last parameter select bank.
Export.zip

Zdenek Aster

Tracker hangs

My opentracker is working 24h a day, it is allways powered on. About every 3 days it hangs. Sometimes it hangs twice in a day and other times it is 5 days working without problems. When it hangs I realise of it because It stops trasmiting data and if I connect the serial cable to it, my computer says "usb device not recognized". Power off and on and tracker works again. It looks like an electrical problem, not a software problem. I installed two diodes (one in 'power' and the other one in 'ignition') to avoid voltage peaks but it still happens. Has someone experienced something similar?

Bug in new gsm code. Buffer is overwriting.

The new code has a bug in it that causes gsm communication not work. The modem_reply buffer is being overwritten causing required data to be lost.

Using the code to retreive the IMEI number . . .

gsm_get_imei()
calls
gsm_wait_for_reply(1)
which calls
get_gsm_reply() multiple times
which stored data in modem_reply buffer from the befinning.

When control arrives back at gsm_get_imei() the required data is no longer in the buffer.

DEBUG OUTPUT BELOW

gsm_get_imei() started
Modem Reply:
AT+GSN

Modem Reply:
863071016800770

Modem Reply:

Modem Reply:
OK

gsm_get_imei() result:
.��
gsm_get_imei() completed

Can't read I2C

I need to integrate some i2c sensors to the opentracker device, when I try to request data from the these sensors nobody is responding.

I verified all connections for the i2c bus, including pull ups resistors, and all seems to be fine. I though it was a sensor problem, but this problem was present in all sensors that I connected and only with the OpenTracker, because I tested these sensors with UNO and DUE and nothing was wrong.

I think the problem is in the variant for Due-OpenTracker but it is only a suspicion.

Documentation of pinouts is unclear

  1. I am confused on Page 21 of the manual, where it implies there are extra "Analog, PWM, GPIO" pins on the expansion header. Are they the ones labeled EXT_PA21, EXT_PA22, EXT_PA23? Can they each be programmed as either Analog IN, Digital IN, Digital OUT, Open Collector, or PWM, or are they limited to digital in/out?
  2. What Is EXT_NS0? Is it a digital output which can be used to select a SPI slave device, as well as a possibly independent digital output if you don't need to select between multiple SPI devices?
  3. How many, if any, of the CAN, I2C, SPI, and serial (RX/TX + RX2/TX2) pins can be reprogrammed for other functions, and to what degree (analog, digital IN/OUT/OC, PWM)?
  4. Is EXT_SCK the SPI sclock, and is EXT_SCL the I2C sclock? I wanted to make sure, since I2C and SPI were not mentioned in detail in the manual. Perhaps sections on I2C and SPI, with simple circuit examples, should be added.

MQTT Support

We tried to use the paho MQTT client library for arduino but the GSM module is not the same and some other dependencies make life hard..

Do you have any plans to implement the MQTT protocol on the opentracker?

If yes: Do you know roughly when we can use it?
If no: Do you have any advice on how we can achieve MQTT communication by ourselves?

Thank you very much

Reset GPS

I tried to reset GPS with this code

DigitalWrite(resetpin, HIGH);
delay(50);
DigitalWrite(resetpin, LOW);

but GPS do not reset AND i lose data from Serial1.......

Can you help me?

Can't add OpenTracker Board V1.0.3 with board manager (Arduino IDE)

These are the errors when I try to add the board:

Errore durante lo scaricamento di https://github.com/geolink/opentracker-bossa/releases/download/1.5-opentracker/bossac-1.5-opentracker-x86_64-pc-linux-gnu.tar.gz
java.lang.RuntimeException: java.lang.Exception: Errore durante lo scaricamento di https://github.com/geolink/opentracker-bossa/releases/download/1.5-opentracker/bossac-1.5-opentracker-x86_64-pc-linux-gnu.tar.gz
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$20(ContributionManagerUI.java:176)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Errore durante lo scaricamento di https://github.com/geolink/opentracker-bossa/releases/download/1.5-opentracker/bossac-1.5-opentracker-x86_64-pc-linux-gnu.tar.gz
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:113)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:67)
at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:111)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$20(ContributionManagerUI.java:173)
... 1 more
Caused by: java.io.IOException: Received invalid http status code from server: 404
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:194)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:128)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:111)

... 4 more

Give me a hint, please!
Thanks

Code formatting reorganization

I would like to propose formatting current code style into single and consistent format. This affects indents, parenthesis style, etc. Current code was based on some non-standard style and it might be a good idea to switch it now to more common and comfortable version.

Once we choose most standard format, we stick with it for further development. Please propose format that will work for you, or just submit pull request with formatted files and we will accept it.

It's important to choose such format that will be comfortable for the community and further development.

No response from Server & GSM_STAY_ONLINE Incompatibly

I was testing the latest version and discovered that when the server fails to respond GSM_STAY_ONLINE causes then next AT+QIOPEN to fail as it returns ALREADY CONNECT.

It will be necessary for opentracker to either close the connection or recognise that the connection is still open.

Log Below

gsm_on_off() finished
gsm_on_off() started
gsm_on_off() finished
gsm_restart() completed
gsm_send_at() started
gsm_send_at() completed
gsm_send_at() started
gsm_send_at() completed
gsm_set_pin() started
gsm_set_pin(): PIN is not requered
gsm_set_pin() completed
gsm_get_imei() started
Modem Reply:
OK

+CFUN: 1

OK

OK

OK

+CME ERROR: 14

+CPIN: READY
AT+GSN

863071016800770

OK

gsm_get_imei() result:
863071016800770
gsm_get_imei() completed
gsm_startup_cmd() started
Modem Reply:
AT+QISDE=0


Modem Reply:
OK

Modem Reply:
AT+QINDI=1


Modem Reply:
OK

Modem Reply:
AT+CMGF=1


Modem Reply:
OK

gsm_startup_cmd() completed
gsm_set_apn() started
Modem Reply:
AT+QIREGAPP="mdata.net.au","",""


Modem Reply:
OK

Modem Reply:
AT+QIDNSCFG="8.8.8.8"


Modem Reply:
OK

Modem Reply:
AT+QIDNSIP=1


Modem Reply:
OK

gsm_set_apn() completed
store_get_index() started
store_get_index(): Found log position:
131320
store_get_index() ended
setup() completed
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


+CMS ERROR: 3

Call Ready
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "04/01/01,00:01:00+00"

OK

gsm_get_time() result:
04/01/01,00:01:00+0
gsm_get_time() completed
$PMTK011,MTKGPS*08
$PMTK010,001*2E
$PMTK011,MTKGPS*08
$PMTK010,002*2D
$PMTK011,MTKGPS*08
$PMTK010,001*2E
$PMTK011,MTKGPS*$GPRMC,190101.100,V,,,,,0.02,0.00,290715,,,N*4E
$GPVTG,0.00,T,,M,0.02,N,0.04,K,N*34
$GPGGA,190101.100,,,,,0,0,,,M,,M,,*41
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,138,,15,30,048,,18,27,322,,12,22,007,*77
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190101.100,V,N*73
$GPRMC,190102.100,V,,,,,0.01,0.00,290715,,,N*4E
$GPVTG,0.00,T,,M,0.01,N,0.01,K,N*32
$GPGGA,190102.100,,,,,0,0,,,M,,M,,*42
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,138,,15,30,048,,18,27,322,,12,22,007,*77
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190102.100,V,N*70
$GPRMC,190103.100,V,,,,,0.00,0.00,290715,,,N*4E
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190103.100,,,,,0,0,,,M,,M,,*43
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,138,,15,30,048,,18,27,322,,12,22,007,*77
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190103.100,V,N*71
$GPRMC,190104.100,V,,,,,0.00,0.00,290715,,,N*49
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190104.100,,,,,0,0,,,M,,M,,*44
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,138,,15,30,048,,18,27,322,,12,22,007,*77
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190104.100,V,N*76
$GPRMC,190105.100,V,,,,,0.00,0.00,290715,,,N*48
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190105.100,,,,,0,0,,,M,,M,,*45
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,138,,15,30,048,,18,27,322,,12,22,007,*77
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190105.100,V,N*77
$GPRMC,190106.100,V,,,,,0.00,0.00,290715,,,N*4B
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190106.100,,,,,0,0,,,M,,M,,*46
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,*76
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190106.100,V,N*74
$GPRMC,190107.100,V,,,,,0.00,0.00,290715,,,N*4A
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190107.100,,,,,0,0,,,M,,M,,*47
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,*76
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190107.100,V,N*75
$GPRMC,190108.100,V,,,,,0.00,0.00,290715,,,N*45
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190108.100,,,,,0,0,,,M,,M,,*48
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,*76
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190108.100,V,N*7A
$GPRMC,190109.100,V,,,,,0.00,0.00,290715,,,N*44
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190109.100,,,,,0,0,,,M,,M,,*49
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,*7A
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,*76
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190109.100,V,N*7B
$GPRMC,190110.100,V,,,,,0.00,0.00,290715,,,N*4C
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190110.100,,,,,0,0,,,M,,M,,*41
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,33*7A
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,*76
$GPGSV,3,3,12,13,21,086,,26,15,224,34,02,05,110,,193,,,*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190110.100,V,N*73
$GPRMC,190111.100,V,,,,,0.00,0.00,290715,,,N*4D
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190111.100,,,,,0,0,,,M,,M,,*40
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,33*7A
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,23*77
$GPGSV,3,3,12,13,21,086,29,26,15,224,34,02,05,110,28,193,,,37*7F
$GLGSV,1,1,00*65
$GPGLL,,,,,190111.100,V,N*72
$GPRMC,190112.100,V,,,,,0.00,0.00,290715,,,N*4E
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190112.100,,,,,0,0,,,M,,M,,*43
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,84,130,,29,67,171,,25,48,331,,21,37,248,34*7D
$GPGSV,3,2,12,05,30,139,,15,30,048,,18,27,322,,12,22,007,21*75
$GPGSV,3,3,12,13,21,086,29,26,15,224,34,02,05,110,29,193,,,39*70
$GLGSV,1,1,00*65
$GPGLL,,,,,190112.100,V,N*71
Failed checksums:
0
collect_gps_data(): fix not acquired, given up.
collect_all_data() completed
Current:
04/01/01,00:01:00+0[]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
04/01/01,00:01:00+0[]

gsm_send_http(): Length of data packet:
60
gsm_send_http(): Length of header packet:
170
Modem Reply:
AT+QISEND=170


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
22
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
22
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=22

> 
Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Wed, 29 Jul 2015 19:01:18 GMT
C
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,49
Connection: close

#t:15/07/29,19:01:18+00
#eof
OK

0, CLOSED

0, CLOS
Found header packet
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was fully received by the server.
parse_cmd() started
Received commands:
#t:15/07/29,19:01:18+00
#eof
Found settime command.
15/07/29,19:01:18+00
Valid time string found.
gsm_set_time() started
Modem Reply:
AT+CCLK="15/07/29,19:01:18+00"


Modem Reply:
OK

gsm_set_time() completed
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Data sent successfully.
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "15/07/29,19:01:23+00"

OK

gsm_get_time() result:
15/07/29,19:01:23+0
gsm_get_time() completed
$GPRMC,190113.100,V,,,,,0.00,0.00,290715,,,N*4F
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190113.100,,,,,0,0,,,M,,M,,*42
$G.00,N,0.00,K,N*32
$GPGGA,190128.100,,,,,0,0,,,M,,M,,*4A
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,83,135,,29,67,171,29,25,48,330,,21,37,247,31*7F
$GPGSV,3,2,12,15,31,048,,05,30,139,29,18,27,321,,13,22,086,28*7D
$GPGSV,3,3,12,12,22,006,18,26,15,224,35,02,05,110,20,193,,,39*70
$GLGSV,1,1,00*65
$GPGLL,,,,,190128.100,V,N*78
$GPRMC,190129.100,V,,,,,0.00,0.00,290715,,,N*46
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190129.100,,,,,0,0,,,M,,M,,*4B
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,83,135,,29,67,171,29,25,48,330,,21,37,247,31*7F
$GPGSV,3,2,12,15,31,048,,05,30,139,29,18,27,321,,13,22,086,28*7D
$GPGSV,3,3,12,12,22,006,18,26,15,224,35,02,05,110,19,193,,,39*7A
$GLGSV,1,1,00*65
$GPGLL,,,,,190129.100,V,N*79
$GPRMC,190130.100,V,,,,,0.00,0.00,290715,,,N*4E
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,190130.100,,,,,0,0,,,M,,M,,*43
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,83,135,,29,66,171,28,25,48,330,,21,37,247,30*7E
$GPGSV,3,2,12,15,31,048,26,05,30,139,29,18,27,321,,13,22,086,28*79
$GPGSV,3,3,12,12,22,006,18,26,15,224,35,02,05,110,18,193,,,39*7B
$GLGSV,1,1,00*65
$GPGLL,,,,,190130.100,V,N*71
$GPRMC,190131.100,V,,,,,0.22,0.00,290715,,,N*4F
$GPVTG,0.00,T,,M,0.22,N,0.41,K,N*37
$GPGGA,190131.100,,,,,0,0,,,M,,M,,*42
$GPGSA,A,1,,,,,,,,,,,,,,,*1E
$GPGSV,3,1,12,20,83,135,,29,66,171,30,25,48,330,,21,37,247,30*77
$GPGSV,3,2,12,15,31,048,27,05,30,139,29,18,27,321,,13,22,086,28*78
$GPGSV,3,3,12,12,22,006,18,26,15,224,35,02,05,110,18,193,,,39*7B
$GLGSV,1,1,00*65
$GPGLL,,,,,190131.100,V,N*70
$GNRMC,190132.100,V,,,,,1.13,338.15,290715,,,N*5D
$GPVTG,338.15,T,,M,1.13,N,2.09,K,N*36
$GPGGA,190132.100,,,,,0,0,,,M,,M,,*41
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,29,50,57,342,,25,48,330,*7E
$GPGSV,4,2,13,21,37,247,29,15,31,048,27,05,30,139,29,18,27,321,*75
$GPGSV,4,3,13,13,22,086,28,12,22,006,18,26,15,224,35,02,05,110,18*7A
$GPGSV,4,4,13,193,,,39*4A
$GLGSV,1,1,00*65
$GNGLL,,,,,190132.100,V,N*6D
$GNRMC,190133.100,V,,,,,1.06,326.39,290715,,,N*59
$GPVTG,326.39,T,,M,1.06,N,1.97,K,N*37
$GPGGA,190133.100,,,,,0,0,,,M,,M,,*40
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,29,50,57,342,,25,48,330,*7E
$GPGSV,4,2,13,21,37,247,29,15,31,048,25,05,30,139,29,18,27,321,*77
$GPGSV,4,3,13,13,22,086,27,12,22,006,19,26,15,224,35,02,05,110,18*74
$GPGSV,4,4,13,193,,,39*4A
$GLGSV,1,1,00*65
$GNGLL,,,,,190133.100,V,N*6C
$GNRMC,190134.100,V,,,,,0.49,326.39,290715,,,N*54
$GPVTG,326.39,T,,M,0.49,N,0.91,K,N*3A
$GPGGA,190134.100,,,,,0,0,,,M,,M,,*47
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,29,50,57,342,,193,55,301,39*46
$GPGSV,4,2,13,25,48,330,29,21,37,247,29,15,31,048,26,05,30,139,29*78
$GPGSV,4,3,13,18,27,321,,13,22,086,26,12,22,006,19,26,15,224,35*77
$GPGSV,4,4,13,02,05,110,19*44
$GLGSV,1,1,00*65
$GNGLL,,,,,190134.100,V,N*6B
$GNRMC,190135.100,V,,,,,0.42,326.39,290715,,,N*5E
$GPVTG,326.39,T,,M,0.42,N,0.77,K,N*39
$GPGGA,190135.100,,,,,0,0,,,M,,M,,*46
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,28,50,57,342,,193,55,301,39*47
$GPGSV,4,2,13,25,48,330,28,21,37,247,29,15,31,048,26,05,30,139,29*79
$GPGSV,4,3,13,18,27,321,,13,22,086,24,12,22,006,19,26,15,224,35*75
$GPGSV,4,4,13,02,05,110,20*4E
$GLGSV,1,1,00*65
$GNGLL,,,,,190135.100,V,N*6A
$GNRMC,190136.100,V,,,,,0.49,326.39,290715,,,N*56
$GPVTG,326.39,T,,M,0.49,N,0.90,K,N*3B
$GPGGA,190136.100,,,,,0,0,,,M,,M,,*45
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,27,50,57,342,,193,55,301,39*48
$GPGSV,4,2,13,25,48,330,27,21,37,247,28,15,31,048,25,05,30,139,29*74
$GPGSV,4,3,13,18,27,321,24,13,22,086,17,12,22,006,19,26,15,224,34*72
$GPGSV,4,4,13,02,05,110,21*4F
$GLGSV,1,1,00*65
$GNGLL,,,,,190136.100,V,N*69
$GNRMC,190137.100,V,,,,,0.32,326.39,290715,,,N*5B
$GPVTG,326.39,T,,M,0.32,N,0.60,K,N*38
$GPGGA,190137.100,,,,,0,0,,,M,,M,,*44
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,26,50,57,342,,193,55,301,39*49
$GPGSV,4,2,13,25,48,330,27,21,37,247,28,15,31,048,24,05,30,139,29*75
$GPGSV,4,3,13,18,27,321,25,13,22,086,17,12,22,006,19,26,15,224,34*73
$GPGSV,4,4,13,02,05,110,22*4C
$GLGSV,1,1,00*65
$GNGLL,,,,,190137.100,V,N*68
$GNRMC,190138.100,V,,,,,0.35,326.39,290715,,,N*53
$GPVTG,326.39,T,,M,0.35,N,0.65,K,N*3A
$GPGGA,190138.100,,,,,0,0,,,M,,M,,*4B
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,26,50,57,342,,193,55,301,39*49
$GPGSV,4,2,13,25,48,330,28,21,37,247,27,15,31,048,24,05,30,139,29*75
$GPGSV,4,3,13,18,27,321,25,13,22,086,17,12,22,006,20,26,15,224,34*79
$GPGSV,4,4,13,02,05,110,23*4D
$GLGSV,1,1,00*65
$GNGLL,,,,,190138.100,V,N*67
$GNRMC,190139.100,V,,,,,0.34,326.39,290715,,,N*53
$GPVTG,326.39,T,,M,0.34,N,0.64,K,N*3A
$GPGGA,190139.100,,,,,0,0,,,M,,M,,*4A
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,25,50,57,342,,193,55,301,39*4A
$GPGSV,4,2,13,25,48,330,28,21,37,247,26,15,31,048,24,05,30,139,29*74
$GPGSV,4,3,13,18,27,321,24,13,22,086,17,12,22,006,20,26,15,224,34*78
$GPGSV,4,4,13,02,05,110,23*4D
$GLGSV,1,1,00*65
$GNGLL,,,,,190139.100,V,N*66
$GNRMC,190140.100,V,,,,,0.31,326.39,290715,,,N*58
$GPVTG,326.39,T,,M,0.31,N,0.58,K,N*30
$GPGGA,190140.100,,,,,0,0,,,M,,M,,*44
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GNGSA,A,1,,,,,,,,,,,,,,,*00
$GPGSV,4,1,13,20,83,135,,29,66,171,25,50,57,342,,193,55,301,39*4A
$GPGSV,4,2,13,25,48,330,27,21,37,247,25,15,31,048,24,05,30,139,29*78
$GPGSV,4,3,13,18,27,321,26,13,22,086,17,12,22,006,20,26,15,224,34*7A
$GPGSV,4,4,13,02,05,110,23*4D
$GLGSV,1,1,00*65
$GNGLL,,,,,190140.100,V,N*68
Failed checksums:
1
collect_gps_data(): fix not acquired, given up.
collect_all_data() completed
Current:
15/07/29,19:01:23+0[]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
15/07/29,19:01:23+0[]

gsm_send_http(): Length of data packet:
60
gsm_send_http(): Length of header packet:
170
Modem Reply:
AT+QISEND=170


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
22
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
22
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=22

> 
Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Wed, 29 Jul 2015 19:01:44 GMT
C
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,49
Connection: close

#t:15/07/29,19:01:44+00
#eof
OK

0, CLOSED

0, CLOS
Found header packet
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was fully received by the server.
parse_cmd() started
Received commands:
#t:15/07/29,19:01:44+00
#eof
Found settime command.
15/07/29,19:01:44+00
Valid time string found.
gsm_set_time() started
Modem Reply:
AT+CCLK="15/07/29,19:01:44+00"


Modem Reply:
OK

gsm_set_time() completed
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Data sent successfully.
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "15/07/29,19:01:49+00"

OK

gsm_get_time() result:
15/07/29,19:01:49+0
gsm_get_time() completed
$GNRMC,190141.100,V,,,,,0.15,326.39,290715,,,N*5F
$GPVTG,326.39,T,,M,0.15,N,0.29,K,N*30
$GPGGA,190141.100,,,,,0,0,,,M,,M,,*45SA,A,3,,,,,,,,,,,,,1.87,1.59,0.99*1F
$GPGSV,4,1,13,20,83,135,,29,66,171,25,193,55,301,36,25,48,330,27*49
$GPGSV,4,2,13,21,37,247,30,15,31,048,29,05,30,139,15,18,27,321,26*78
$GPGSV,4,3,13,13,22,086,26,12,22,006,22,26,15,224,31,02,05,110,28*7A
$GPGSV,4,4,13,48,05,082,*48
$GLGSV,1,1,00*65
$GNGLL,2637.2320,S,15251.5716,E,190154.000,A,A*56
$GNRMC,190155.000,A,2637.2333,S,15251.5720,E,0.35,326.39,290715,,,A*64
Invalid altitude, retrying.

$GPVTG,326.39,T,,M,0.35,N,0.64,K,A*34
$GPGGA,190155.000,2637.2333,S,15251.5720,E,1,5,1.59,567.1,M,39.7,M,,*4B
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:01:55+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:01:55+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
3
collect_all_data() completed
Current:
15/07/29,19:01:49+0[290715,19015500,-26.620556,152.859528,0.65,567.10,326.39,159,5]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
15/07/29,19:01:49+0[290715,19015500,-26.620556,152.859528,0.65,567.10,326.39,159,5]

gsm_send_http(): Length of data packet:
122
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
84
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
84
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=84

> 
Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Wed, 29 Jul 2015 19:02:00 GMT
C
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,49
Connection: close

#t:15/07/29,19:02:00+00
#eof
OK

0, CLOSED

0, CLOS
Found header packet
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was fully received by the server.
parse_cmd() started
Received commands:
#t:15/07/29,19:02:00+00
#eof
Found settime command.
15/07/29,19:02:00+00
Valid time string found.
gsm_set_time() started
Modem Reply:
AT+CCLK="15/07/29,19:02:00+00"


Modem Reply:
OK

gsm_set_time() completed
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Data sent successfully.
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "15/07/29,19:02:05+00"

OK

gsm_get_time() result:
15/07/29,19:02:05+0
gsm_get_time() completed
$GNGSA,A,3,13,26,21,193,15,,,,,,,,1.87,1.59,0.99*25
$GNGSA,A,3,,,,,,,,,,,,,1.87,1.59,0.99*1F
$GPGSV,4,1,13,20,83,135,,29,66,$83*1F
$GPGSV,4,1,13,20,83,135,,29,66,171,30,50,57,342,,193,55,301,35*42
$GPGSV,4,2,13,25,48,330,29,21,37,247,38,15,31,048,18,05,30,139,17*78
$GPGSV,4,3,13,18,27,321,28,13,22,086,22,12,22,006,28,26,15,224,18*74
$GPGSV,4,4,13,02,05,110,20*4E
$GLGSV,1,1,00*65
$GNGLL,2637.1941,S,15251.5526,E,190209.000,A,A*52
$GNRMC,190210.000,A,2637.1940,S,15251.5510,E,0.20,326.39,290715,,,A*6E
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:02:10+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:02:10+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
4
collect_all_data() completed
Current:
15/07/29,19:02:05+0[290715,19021000,-26.619900,152.859177,0.37,567.10,326.39,159,5]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
15/07/29,19:02:05+0[290715,19021000,-26.619900,152.859177,0.37,567.10,326.39,159,5]

gsm_send_http(): Length of data packet:
122
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
84
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
84
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=84

> 
Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Wed, 29 Jul 2015 19:02:15 GMT
C
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,49
Connection: close

#t:15/07/29,19:02:15+00
#eof
OK

0, CLOSED

0, CLOS
Found header packet
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was fully received by the server.
parse_cmd() started
Received commands:
#t:15/07/29,19:02:15+00
#eof
Found settime command.
15/07/29,19:02:15+00
Valid time string found.
gsm_set_time() started
Modem Reply:
AT+CCLK="15/07/29,19:02:15+00"


Modem Reply:
OK

gsm_set_time() completed
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Data sent successfully.
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "15/07/29,19:02:20+00"

OK

gsm_get_time() result:
15/07/29,19:02:20+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.20,N,0.37,K,A*36
$GPGGA,190210.000,2637.1940,S,15251.5510,E,1,10,0.85,446.1,M,39.7,M,,*73
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,13E,T,,M,0.10,N,0.18,K,A*38
$GPGGA,190224.000,2637.1921,S,15251.5440,E,1,10,0.87,435.9,M,39.7,M,,*79
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:02:24+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:02:24+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
5
collect_all_data() completed
Current:
15/07/29,19:02:20+0[290715,19022400,-26.619867,152.859070,0.37,435.90,326.39,87,10]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
15/07/29,19:02:20+0[290715,19022400,-26.619867,152.859070,0.37,435.90,326.39,87,10]

gsm_send_http(): Length of data packet:
122
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
84
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
84
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=84

> 
Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Wed, 29 Jul 2015 19:02:30 GMT
C
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,49
Connection: close

#t:15/07/29,19:02:30+00
#eof
OK

0, CLOSED

0, CLOS
Found header packet
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was fully received by the server.
parse_cmd() started
Received commands:
#t:15/07/29,19:02:30+00
#eof
Found settime command.
15/07/29,19:02:30+00
Valid time string found.
gsm_set_time() started
Modem Reply:
AT+CCLK="15/07/29,19:02:30+00"


Modem Reply:
OK

gsm_set_time() completed
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Data sent successfully.
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "15/07/29,19:02:35+00"

OK

gsm_get_time() result:
15/07/29,19:02:35+0
gsm_get_time() completed
$GNGSA,A,3,13,26,21,02,193,15,29,18,,,,,1.62,0.87,1.37*29
$GNGSA,A,3,83,85,,,,,,,,,,,1.62,0.87,1.37*15
$GPGSV,4,1,13,20,83,1$51.5424,E,1,11,0.79,438.5,M,39.7,M,,*72
$GNGSA,A,3,13,26,21,02,193,15,29,18,25,,,,1.13,0.79,0.81*25
$GNGSA,A,3,83,85,,,,,,,,,,,1.13,0.79,0.81*1E
$GPGSV,4,1,13,20,83,135,,29,66,171,25,193,55,301,38,25,48,330,21*41
$GPGSV,4,2,13,21,37,247,37,15,31,049,29,05,30,139,26,18,27,321,24*7C
$GPGSV,4,3,13,13,22,087,29,12,21,007,15,26,15,224,25,02,05,109,26*71
$GPGSV,4,4,13,35,,,*7D
$GLGSV,1,1,02,83,35,104,22,85,13,222,32*63
$GNGLL,2637.1943,S,15251.5424,E,190239.000,A,A*50
$GNRMC,190240.000,A,2637.1942,S,15251.5425,E,0.12,326.39,290715,,,A*6F
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:02:40+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:02:40+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
6
collect_all_data() completed
Current:
15/07/29,19:02:35+0[290715,19024000,-26.619904,152.859039,0.22,435.90,326.39,87,10]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
15/07/29,19:02:35+0[290715,19024000,-26.619904,152.859039,0.22,435.90,326.39,87,10]

gsm_send_http(): Length of data packet:
122
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
84
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
84
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=84

> 
Modem Reply:

SEND OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200 OK
Server: nginx/1.8.0
Date: Wed, 29 Jul 2015 19:02:48 GMT
C
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,49
Connection: close

#t:15/07/29,19:02:48+00
#eof
OK

0, CLOSED

0, CLOS
Found header packet
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was fully received by the server.
parse_cmd() started
Received commands:
#t:15/07/29,19:02:48+00
#eof
Found settime command.
15/07/29,19:02:48+00
Valid time string found.
gsm_set_time() started
Modem Reply:
AT+CCLK="15/07/29,19:02:48+00"


Modem Reply:
OK

gsm_set_time() completed
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Data sent successfully.
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "15/07/29,19:02:53+00"

OK

gsm_get_time() result:
15/07/29,19:02:53+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.12,N,0.23,K,A*32
$GPGGA,190240.000,2637.1942,S,15251.5425,E,1,11,0.79,438.8,M,39.7,M,,*71
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,1303,20,83,138,20,29,67,170,31,193,55,301,40,25,47,331,26*4D
$GPGSV,4,2,13,21,37,246,38,15,31,049,31,05,30,139,21,18,28,321,18*7C
$GPGSV,4,3,13,13,22,087,26,12,21,007,19,26,15,224,23,02,05,109,26*74
$GPGSV,4,4,13,38,,,*70
$GLGSV,1,1,02,83,35,104,27,85,13,222,32*66
$GNGLL,2637.1940,S,15251.5425,E,190257.000,A,A*5A
$GNRMC,190258.000,A,2637.1941,S,15251.5425,E,0.15,326.39,290715,,,A*62
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:02:58+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:02:58+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
7
collect_all_data() completed
Current:
15/07/29,19:02:53+0[290715,19025800,-26.619902,152.859039,0.28,438.80,326.39,79,11]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
OK

Modem Reply:


Modem Reply:
CONNECT OK

Connected to remote server: 
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
15/07/29,19:02:53+0[290715,19025800,-26.619902,152.859039,0.28,438.80,326.39,79,11]

gsm_send_http(): Length of data packet:
122
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171


Modem Reply:
> 
gsm_validate_tcp() started.
Modem Reply:


Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=38


Modem Reply:
> 
Modem Reply:


Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
84
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
84
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=84

> 
Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

Data was not received by the server.
parse_cmd() started
Received commands:
�
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:03:43+00"

OK

gsm_get_time() result:
29/07/15,19:03:43+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.15,N,0.28,K,A*3E
$GPGGA,190258.000,2637.1941,S,15251.5425,E,1,13,0.74,439.1,M,39.7,M,,*7C
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,132$GNRMC,190344.000,A,2637.1937,S,15251.5446,E,0.15,326.39,290715,,,A*6A
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:03:44+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:03:44+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
7
collect_all_data() completed
Current:
29/07/15,19:03:43+0[290715,19034400,-26.619896,152.859070,0.28,439.10,326.39,74,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:03:50+00"

OK

gsm_get_time() result:
29/07/15,19:03:50+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.15,N,0.28,K,A*3E
$GPGGA,190344.000,2637.1937,S,15251.5446,E,1,14,0.71,439.0,M,39.7,M,,*77
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,139N,0.27,K,A*31
$GPGGA,190351.000,2637.1935,S,15251.5447,E,1,14,0.71,439.0,M,39.7,M,,*70
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:03:51+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:03:51+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
8
collect_all_data() completed
Current:
29/07/15,19:03:50+0[290715,19035100,-26.619892,152.859085,0.28,439.00,326.39,71,14]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:03:57+00"

OK

gsm_get_time() result:
29/07/15,19:03:57+0
gsm_get_time() completed
$GNGSA,A,3,13,26,21,02,193,15,05,29,18,25,20,,1.03,0.71,0.75*20
$GNGSA,A,3,83,68,85,,,,,,,,,,1.03,0.71,0.75*12
$GPGSV,4,1,13$5,05,29,18,25,20,,,1.08,0.73,0.79*27
$GNGSA,A,3,83,68,85,,,,,,,,,,1.08,0.73,0.79*17
$GPGSV,4,1,13,20,83,138,27,29,67,170,25,193,55,301,36,25,47,331,19*42
$GPGSV,4,2,13,21,37,246,37,15,31,049,30,05,29,139,14,18,28,321,22*75
$GPGSV,4,3,13,13,22,087,28,12,21,007,18,26,15,224,31,48,05,082,*70
$GPGSV,4,4,13,02,04,109,27*40
$GLGSV,2,1,07,70,36,351,23,83,35,104,31,68,25,147,25,74,14,286,*69
$GLGSV,2,2,07,85,13,222,32,75,09,236,17,73,02,332,*50
$GNGLL,2637.1933,S,15251.5447,E,190358.000,A,A*54
$GNRMC,190359.000,A,2637.1933,S,15251.5447,E,0.12,326.39,290715,,,A*64
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:03:59+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:03:59+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
9
collect_all_data() completed
Current:
29/07/15,19:03:57+0[290715,19035900,-26.619888,152.859085,0.22,439.00,326.39,71,14]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:05+00"

OK

gsm_get_time() result:
29/07/15,19:04:05+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.12,N,0.23,K,A*32
$GPGGA,190359.000,2637.1933,S,15251.5447,E,1,13,0.73,439.0,M,39.7,M,,*7B
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,13,TG,326.39,T,,M,0.23,N,0.42,K,A*37
$GPGGA,190406.000,2637.1930,S,15251.5448,E,1,13,0.73,439.0,M,39.7,M,,*7A
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:06+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:06+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
10
collect_all_data() completed
Current:
29/07/15,19:04:05+0[290715,19040600,-26.619883,152.859085,0.22,439.00,326.39,73,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:12+00"

OK

gsm_get_time() result:
29/07/15,19:04:12+0
gsm_get_time() completed
$GNGSA,A,3,13,26,21,193,15,05,29,18,25,20,,,1.08,0.73,0.79*27
$GNGSA,A,3,83,68,85,,,,,,,,,,1.08,0.73,0.79*17
$GPGSV,4,1,13,2$3,0.79*27
$GNGSA,A,3,83,68,85,,,,,,,,,,1.08,0.73,0.79*17
$GPGSV,4,1,13,20,82,140,28,29,67,170,31,193,55,301,35,25,47,331,27*48
$GPGSV,4,2,13,21,38,246,30,15,31,049,28,05,29,139,19,18,28,320,18*71
$GPGSV,4,3,13,13,22,088,26,12,21,007,22,26,15,224,34,02,04,109,26*74
$GPGSV,4,4,13,34,,,*7C
$GLGSV,2,1,07,70,36,351,26,83,35,104,17,68,25,147,30,74,14,286,*6C
$GLGSV,2,2,07,85,13,222,31,75,09,236,20,73,02,332,*57
$GNGLL,2637.1929,S,15251.5452,E,190413.000,A,A*53
$GNRMC,190414.000,A,2637.1929,S,15251.5453,E,0.03,326.39,290715,,,A*64
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:14+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:14+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
11
collect_all_data() completed
Current:
29/07/15,19:04:12+0[290715,19041400,-26.619883,152.859085,0.06,439.00,326.39,73,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:20+00"

OK

gsm_get_time() result:
29/07/15,19:04:20+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.03,N,0.05,K,A*36
$GPGGA,190414.000,2637.1929,S,15251.5453,E,1,13,0.73,439.0,M,39.7,M,,*7B
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,1301.5454,E,1,13,0.73,439.0,M,39.7,M,,*72
$GNGSA,A,3,13,26,21,193,15,05,29,18,25,20,,,1.08,0.73,0.79*27
$GNGSA,A,3,83,68,85,,,,,,,,,,1.08,0.73,0.79*17
$GPGSV,4,1,13,20,82,140,29,29,67,170,35,193,55,301,35,25,47,331,29*43
$GPGSV,4,2,13,21,38,246,32,15,31,049,30,05,29,139,24,18,28,320,19*75
$GPGSV,4,3,13,13,22,088,30,12,21,007,24,26,15,225,34,02,04,109,25*77
$GPGSV,4,4,13,36,,,*7E
$GLGSV,2,1,07,70,36,351,27,83,35,104,27,68,25,147,31,74,14,286,*6F
$GLGSV,2,2,07,85,13,222,31,75,09,236,18,73,02,332,*5C
$GNGLL,2637.1930,S,15251.5454,E,190421.000,A,A*5C
$GNRMC,190422.000,A,2637.1931,S,15251.5454,E,0.17,326.39,290715,,,A*6A
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:22+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:22+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
12
collect_all_data() completed
Current:
29/07/15,19:04:20+0[290715,19042200,-26.619884,152.859085,0.31,439.00,326.39,73,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:28+00"

OK

gsm_get_time() result:
29/07/15,19:04:28+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.17,N,0.32,K,A*37
$GPGGA,190422.000,2637.1931,S,15251.5454,E,1,13,0.73,439.0,M,39.7,M,,*70
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,138429.000,2637.1932,S,15251.5454,E,1,13,0.75,439.1,M,39.7,M,,*7F
$GNGSA,A,3,13,26,21,193,15,05,29,18,25,20,,,1.49,0.75,1.29*20
$GNGSA,A,3,83,68,85,,,,,,,,,,1.49,0.75,1.29*10
$GPGSV,4,1,13,20,82,140,31,29,67,168,32,193,55,301,35,25,47,331,26*4B
$GPGSV,4,2,13,21,38,246,34,15,31,049,31,05,29,139,23,18,28,320,23*7C
$GPGSV,4,3,13,13,22,088,33,12,21,007,22,26,15,225,34,02,04,109,17*73
$GPGSV,4,4,13,38,,,*70
$GLGSV,2,1,07,70,36,351,27,83,35,104,26,68,25,147,32,74,14,286,26*69
$GLGSV,2,2,07,85,13,222,32,75,09,236,16,73,02,332,*51
$GNGLL,2637.1932,S,15251.5454,E,190429.000,A,A*56
$GNRMC,190430.000,A,2637.1932,S,15251.5454,E,0.15,326.39,290715,,,A*68
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:30+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:30+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
13
collect_all_data() completed
Current:
29/07/15,19:04:28+0[290715,19043000,-26.619886,152.859085,0.28,439.00,326.39,73,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:36+00"

OK

gsm_get_time() result:
29/07/15,19:04:36+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.15,N,0.27,K,A*31
$GPGGA,190430.000,2637.1932,S,15251.5454,E,1,13,0.73,439.1,M,39.7,M,,*71
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,132.14,N,0.26,K,A*31
$GPGGA,190437.000,2637.1932,S,15251.5454,E,1,13,0.75,439.0,M,39.7,M,,*71
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:37+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:37+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
14
collect_all_data() completed
Current:
29/07/15,19:04:36+0[290715,19043700,-26.619886,152.859085,0.28,439.00,326.39,75,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:43+00"

OK

gsm_get_time() result:
29/07/15,19:04:43+0
gsm_get_time() completed
$GNGSA,A,3,13,26,21,193,15,05,29,18,25,20,,,1.49,0.75,1.29*20
$GNGSA,A,3,83,68,85,,,,,,,,,,1.49,0.75,1.29*10
$GPGSV,4,1,13,2
A,3,13,26,21,193,15,05,29,18,25,20,,,1.08,0.73,0.79*27
$GNGSA,A,3,83,68,85,,,,,,,,,,1.08,0.73,0.79*17
$GPGSV,4,1,13,20,82,140,28,29,67,168,23,193,55,301,36,25,47,331,21*47
$GPGSV,4,2,13,21,38,246,39,15,31,049,32,05,29,139,26,18,28,320,26*72
$GPGSV,4,3,13,13,22,088,18,12,21,007,27,26,15,225,34,02,04,109,22*79
$GPGSV,4,4,13,43,,,*7C
$GLGSV,2,1,08,84,44,177,19,70,36,351,26,83,35,104,15,68,25,147,32*6C
$GLGSV,2,2,08,74,14,286,24,85,13,222,36,75,09,236,,73,02,332,*61
$GNGLL,2637.1933,S,15251.5454,E,190444.000,A,A*5C
$GNRMC,190445.000,A,2637.1933,S,15251.5454,E,0.03,326.39,290715,,,A*6C
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:45+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:45+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
15
collect_all_data() completed
Current:
29/07/15,19:04:43+0[290715,19044500,-26.619888,152.859085,0.06,439.00,326.39,75,13]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:51+00"

OK

gsm_get_time() result:
29/07/15,19:04:51+0
gsm_get_time() completed
$GPVTG,326.39,T,,M,0.03,N,0.05,K,A*36
$GPGGA,190445.000,2637.1933,S,15251.5454,E,1,12,0.78,439.1,M,39.7,M,,*78
GPS fix received.
Warning: this fix date/time already logged, retrying

$GNGSA,A,3,130N,0.03,K,A*31
$GPGGA,190452.000,2637.1933,S,15251.5453,E,1,12,0.79,439.1,M,39.7,M,,*78
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,19:04:52+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,19:04:52+00"


Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
16
collect_all_data() completed
Current:
29/07/15,19:04:51+0[290715,19045200,-26.619888,152.859085,0.06,439.10,326.39,79,12]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT


Modem Reply:
OK

gsm_disconnect() Disabled
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:


Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
2
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
3
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
Connecting to remote server...
4
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"


Modem Reply:
ALREADY CONNECT

Modem Reply:


Modem Reply:
ERROR

Can not connect to remote server: 
updates.geolink.io
gsm_connect() completed
Error, can not send data, no connection.
gsm_disconnect() Disabled
Can not send data, saving to flash memory
sms_check() started
Modem Reply:
AT+CMGL="REC UNREAD"


OK
Deleting READ and SENT SMS
Modem Reply:
AT+QMGDA="DEL READ"


Modem Reply:
OK

Modem Reply:
AT+QMGDA="DEL SENT"


Modem Reply:
OK

sms_check() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,19:04:58+00"

OK

gsm_get_time() result:
29/07/15,19:04:58+0
gsm_get_time() completed
$GNGSA,A,3,13,26,21,193,15,05,29,18,20,,,,1.52,0.79,1.30*29
$GNGSA,A,3,83,68,85,,,,,,,,,,1.52,0.79,1.30*1E
$GPGSV,4,1,13,20,$,29,18,25,20,,1.37,0.67,1.19*2A
$GNGSA,A,3,83,68,85,,,,,,,,,,1.37,0.67,1.19*19
$GPGSV,4,1,13,20,82,140,23,29,67,168,26,193,55,301,37,25,47,331,18*42
$GPGSV,4,2,13,21,38,246,37,15,31,049,23,05,29,139,21,18,28,320,27*7A
$GPGSV,4,3,13,13,22,088,34,12,21,007,26,26,15,225,35,02,04,109,27*72
$GPGSV,4,4,13,46,,,*79
$GLGSV,2,1,08,84,44,177,25,70,37,351,27,83,35,104,28,68,25,148,29*68
$GLGSV,2,2,08,74,14,287,25,85,13,222,36,75,09,236,19,73,01,332,*6A
$GNGLL,2637.1933,S,15251.5453,E,190459.000,A,A*57

Mac Yosemite I don't see usb port

I have opentracker, it work fine, the leds (red and green) blink... but when I connect the usb with arduino IDE I don't see usb port but only bluetooth... I've Mac Yosemite.

I tried to install "FTDI chip" like:
http://www.mommosoft.com/blog/2014/10/24/ftdi-chip-and-os-x-10-10/

but also if I run
sudo kextload /System/Library/Extensions/FTDIUSBSerialDriver.kext/

I don't receive nothing result with command
ls /dev |grep usbserial

I should see

cu.usbserial-A9GBBDLL
tty.usbserial-A9GBBDLL

without this I don't see port in arduino IDE, so I can't program the opentracker... :-(

Can anybody help me?
thanks

gsm_get_reply()

Hi,
I began to use opentracker with software release V2.0.1 and Arduino IDE 1.5.8. I modified that software to make my own and it works fine.

Now I tried to use my opentracker software with new IDE 1.6.x but I had problems in function gsm_get_reply(). The problem was that characters were lost when reading from gsm modem in parse_receive_reply(). I see that IDE 1.6.x comes with “#define SERIAL_BUFFER_SIZE 128” in RingBuffer.h and this is the problem. In V2.0.1 documentation in “Opentracker2_Manual_1.0.1.pdf” it says to write “#define SERIAL_BUFFER_SIZE 256”. My software only works fine with 256...

I think it is necessary to include in current documentation instructions to modify this file or supply a RingBuffer.h file with 256 not 128.

New Version not updating website.

I have updated to the newest version and can not get successful polling to the Geolink website.

PWRMON is LOW. Modem is not running.
gsm_on_off() started
gsm_on_off() finished
gsm_restart() completed
gsm_send_at() started
gsm_send_at() completed
gsm_send_at() started
gsm_send_at() completed
gsm_set_pin() started
gsm_set_pin(): PIN is not requered
gsm_set_pin() completed
gsm_get_imei() started
Modem Reply:
AT+GSN

863071016800903

OK

+CFUN: 1

+CPIN: READY

gsm_get_imei() result:
863071016800903
gsm_get_imei() completed
gsm_startup_cmd() started
Modem Reply:
AT+QISDE=0

Modem Reply:
OK

Modem Reply:
AT+QINDI=1

Modem Reply:
OK

Modem Reply:
AT+CMGF=1

Modem Reply:
OK

gsm_startup_cmd() completed
gsm_set_apn() started
Modem Reply:
AT+QIRE�{ÿ
Warning: timed out waiting for last modem reply
Modem Reply:
AT+QIDNSCFG=
Modem Reply:
"8.8.8.8"

Modem Reply:
OK

Modem Reply:
AT+QIDNSIP=1

Modem Reply:
OK

gsm_set_apn() completed
store_get_index() started
store_get_index(): Found log position:
248
store_get_index() ended
setup() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+CCLK?

+CCLK: "04/01/01,00:00:15+00"

OK

gsm_get_time() result:
04/01/01,00:00:15+0
gsm_get_time() completed
$PMTK011,MTKGPS_08
$PMTK010,001_2E
$PMTK011,MTKGPS_08
$PMTK0$GPRMC,235959.799,V,,,,,0.00,0.00,050180,,,N_47
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,235959.799,,,,,0,0,,,M,,M,,_4E
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,26,01,,,35_7C
$GLGSV,1,1,00_65
$GPGLL,,,,,235959.799,V,N_7C
$GPRMC,000000.799,V,,,,,0.00,0.00,060180,,,N_45
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000000.799,,,,,0,0,,,M,,M,,_4F
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,25,01,,,36_7C
$GLGSV,1,1,00_65
$GPGLL,,,,,000000.799,V,N_7D
$GPRMC,000001.799,V,,,,,0.00,0.00,060180,,,N_44
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000001.799,,,,,0,0,,,M,,M,,_4E
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,27,01,,,35_7D
$GLGSV,1,1,00_65
$GPGLL,,,,,000001.799,V,N_7C
$GPRMC,000002.799,V,,,,,0.00,0.00,060180,,,N_47
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000002.799,,,,,0,0,,,M,,M,,_4D
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,25,01,,,35_7F
$GLGSV,1,1,00_65
$GPGLL,,,,,000002.799,V,N_7F
$GPRMC,000003.799,V,,,,,0.00,0.00,060180,,,N_46
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000003.799,,,,,0,0,,,M,,M,,_4C
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,28,01,,,36_71
$GLGSV,1,1,00_65
$GPGLL,,,,,000003.799,V,N_7E
$GPRMC,000004.799,V,,,,,0.00,0.00,060180,,,N_41
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000004.799,,,,,0,0,,,M,,M,,_4B
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,27,01,,,36_7E
$GLGSV,1,1,00_65
$GPGLL,,,,,000004.799,V,N_79
$GPRMC,000005.799,V,,,,,0.00,0.00,060180,,,N_40
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000005.799,,,,,0,0,,,M,,M,,_4A
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,27,01,,,36_7E
$GLGSV,1,1,00_65
$GPGLL,,,,,000005.799,V,N_78
$GPRMC,000006.799,V,,,,,0.00,0.00,060180,,,N_43
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000006.799,,,,,0,0,,,M,,M,,_49
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,27,01,,,36_7E
$GLGSV,1,1,00_65
$GPGLL,,,,,000006.799,V,N_7B
$GPRMC,000007.006,V,,,,,0.00,0.00,060180,,,N_43
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000007.006,,,,,0,0,,,M,,M,,_49
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,26,01,,,36_7F
$GLGSV,1,1,00_65
$GPGLL,,,,,000007.006,V,N_7B
$GPRMC,000008.006,V,,,,,0.00,0.00,060180,,,N_4C
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N_32
$GPGGA,000008.006,,,,,0,0,,,M,,M,,_46
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,1,1,02,26,,,26,01,,,36_7F
$GLGSV,1,1,00_65
$GPGLL,,,,,000008.006,V,N_74
$GPRMC,045257.161,V,,,,,0.21,0.00,290715,,,N_41
$GPVTG,0.00,T,,M,0.21,N,0.39,K,N_3B
$GPGGA,045257.161,,,,,0,0,,,M,,M,,_4F
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,3,1,11,03,79,355,,23,64,211,,32,40,039,,16,39,060,_70
$GPGSV,3,2,11,26,38,100,25,09,31,248,,01,15,337,36,06,14,228,_78
$GPGSV,3,3,11,07,13,311,,04,01,356,,193,,,_41
$GLGSV,1,1,00_65
$GPGLL,,,,,045257.161,V,N_7D
$GPRMC,045258.161,V,,,,,0.06,0.00,290715,,,N_4B
$GPVTG,0.00,T,,M,0.06,N,0.11,K,N_34
$GPGGA,045258.161,,,,,0,0,,,M,,M,,_40
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,3,1,11,03,79,355,,23,64,211,,32,40,039,,16,39,060,_70
$GPGSV,3,2,11,26,38,100,26,09,31,248,,01,15,337,36,06,14,228,_7B
$GPGSV,3,3,11,07,13,311,,04,01,356,,193,,,_41
$GLGSV,1,1,00_65
$GPGLL,,,,,045258.161,V,N_72
$GPRMC,045259.161,V,,,,,1.66,88.34,290715,,,N_7A
$GPVTG,88.34,T,,M,1.66,N,3.08,K,N_0F
$GPGGA,045259.161,,,,,0,0,,,M,,M,,_41
$GPGSA,A,1,,,,,,,,,,,,,,,_1E
$GPGSV,3,1,11,03,79,355,,23,64,211,,32,40,039,,16,39,060,_70
$GPGSV,3,2,11,26,38,100,27,09,31,248,,01,15,337,36,06,14,228,25_7D
$GPGSV,3,3,11,07,13,311,35,04,01,356,,193,,,_47
$GLGSV,1,1,00_65
$GPGLL,,,,,045259.161,V,N_73
Failed checksums:
0
collect_gps_data(): fix not acquired, given up.
collect_all_data() completed
Current:
04/01/01,00:00:15+0[]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT

Modem Reply:
OK

gsm_disconnect() started
Modem Reply:

Modem Reply:
OK

Modem Reply:
AT+QIDEACT

Modem Reply:
DEACT OK

gsm_disconnect(): DEACT OK found
gsm_disconnect() completed
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:

Modem Reply:
CONNECT OK

Connected to remote server:
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
04/01/01,00:00:15+0[]

gsm_send_http(): Length of data packet:
51
gsm_send_http(): Length of header packet:
170
Modem Reply:
AT+QISEND=170

Modem Reply:

gsm_validate_tcp() started.
Modem Reply:

Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=29

Modem Reply:

Modem Reply:

Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
22
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
22
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=22

Modem Reply:

SEND OK
AT+QIRD=0,1,0,100

OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,63
X-Cache: MISS
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was not received by the server.
parse_cmd() started
Received commands:
è�
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() started
gsm_disconnect(): DEACT OK not found.
gsm_disconnect() completed
Can not send data, saving to flash memory
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+QIDEACT

Modem Reply:
AT+CCLK?

+CCLK: "04/01/01,00:00:37+00"

OK

gsm_get_time() result:
04/01/01,00:00:37+0
gsm_get_time() completed
$GPRMC,045300.161,V,,,,,1.39,83.11,290715,,,N_71
$GPVTG,83.11,,1,1,00_65
$GPGLL,3800.7259,S,14515.9082,E,045308.000,A,A_4B
$GPRMC,045309.000,A,3800.7259,S,14515.9081,E,0.16,95.62,290715,,,A_49
Invalid altitude, retrying.

$GPVTG,95.62,T,,M,0.16,N,0.29,K,A_09
$GPGGA,045309.000,3800.7259,S,14515.9081,E,1,8,0.98,23.7,M,-4.2,M,,_68
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,04:53:09+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,04:53:09+00"

Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
1
collect_all_data() completed
Current:
04/01/01,00:00:37+0[290715,4530900,-38.012096,145.265137,0.30,23.70,95.62,98,8]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT

Modem Reply:
OK

gsm_disconnect() started
Modem Reply:

Modem Reply:
OK

Modem Reply:

Modem Reply:
DEACT OK

gsm_disconnect(): DEACT OK found
gsm_disconnect() completed
GPRS deactivated.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:
AT+QIDEACT

Modem Reply:
DEACT OK

Can not connect to remote server:
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:

Modem Reply:
CONNECT F
Modem Reply:

Modem Reply:
CONNECT OK

Connected to remote server:
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
04/01/01,00:00:37+0[290715,4530900,-38.012096,145.265137,0.30,23.70,95.62,98,8]

gsm_send_http(): Length of data packet:
109
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171

Modem Reply:

gsm_validate_tcp() started.
Modem Reply:

Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=29

Modem Reply:

Modem Reply:

Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
80
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
80
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=80

Modem Reply:

SEND OK

Modem Reply:
AT+QIRD=0,1,0,100

OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,63
X-Cache: MISS
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was not received by the server.
parse_cmd() started
Received commands:
‘7�
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() started
gsm_disconnect(): DEACT OK not found.
gsm_disconnect() completed
Can not send data, saving to flash memory
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+QIDEACT

Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,04:53:18+00"

OK

gsm_get_time() result:
29/07/15,04:53:18+0
gsm_get_time() completed
$GPGSA,A,3,26,01,07,03,32,06,16,23,,,,,1.29,0.98,0.84_05
$GPG$$GPRMC,045319.000,A,3800.7262,S,14515.9071,E,0.20,95.62,290715,,,A_4A
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,04:53:19+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,04:53:19+00"

Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
1
collect_all_data() completed
Current:
29/07/15,04:53:18+0[290715,4531900,-38.012104,145.265121,0.37,23.70,95.62,98,8]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT

Modem Reply:
OK

gsm_disconnect() started
Modem Reply:

Modem Reply:
OK

Modem Reply:
AT+QIDEACT

Modem Reply:
ERROR

gsm_disconnect(): DEACT OK not found.
gsm_disconnect() completed
Error deactivating GPRS.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:

Modem Reply:
CONNECT FAIL

Warning: timed out waiting for last modem reply
Can not connect to remote server:
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:

Modem Reply:
CONNECT OK

Connected to remote server:
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
29/07/15,04:53:18+0[290715,4531900,-38.012104,145.265121,0.37,23.70,95.62,98,8]

gsm_send_http(): Length of data packet:
109
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171

Modem Reply:

gsm_validate_tcp() started.
Modem Reply:

Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=29

Modem Reply:

Modem Reply:

Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
80
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
80
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=80

Modem Reply:

SEND OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,63
X-Cache: MISS
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was not received by the server.
parse_cmd() started
Received commands:
è�
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() started
gsm_disconnect(): DEACT OK not found.
gsm_disconnect() completed
Can not send data, saving to flash memory
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+QIDEACT

Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,04:53:38+00"

OK

gsm_get_time() result:
29/07/15,04:53:38+0
gsm_get_time() completed
$GPVTG,95.62,T,,M,0.20,N,0.37,K,A_03
$GPGGA,045319.000,3800.7$00.7256,S,14515.9049,E,0.08,95.62,290715,,,A_50
$GPVTG,95.62,T,,M,0.08,N,0.16,K,A_0A
$GPGGA,045339.000,3800.7256,S,14515.9049,E,1,10,0.90,32.6,M,-4.2,M,,_50
GPS fix received.
Data is current.
Current time set from GPS time:
29/07/15,04:53:39+00
gsm_set_time() started
Modem Reply:
AT+CCLK="29/07/15,04:53:39+00"

Modem Reply:
OK

gsm_set_time() completed

GPS already available, breaking
collect_gps_data(): fix acquired
Failed checksums:
2
collect_all_data() completed
Current:
29/07/15,04:53:38+0[290715,4533900,-38.012093,145.265076,0.37,32.60,95.62,90,10]

gsm_send_at() started
gsm_send_at() completed
Modem Reply:
AT
AT

Modem Reply:
OK

gsm_disconnect() started
Modem Reply:

Modem Reply:
OK

Modem Reply:
AT+QIDEACT

Modem Reply:
ERROR

gsm_disconnect(): DEACT OK not found.
gsm_disconnect() completed
Error deactivating GPRS.
gsm_connect() started
Connecting to remote server...
0
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:

Modem Reply:
CONNECT FAIL

Warning: timed out waiting for last modem reply
Can not connect to remote server:
updates.geolink.io
Connecting to remote server...
1
Modem Reply:
AT+QIOPEN="TCP","updates.geolink.io","80"

Modem Reply:
OK

Modem Reply:

Modem Reply:
CONNECT OK

Connected to remote server:
updates.geolink.io
gsm_connect() completed
gsm_send_http(): sending data.
29/07/15,04:53:38+0[290715,4533900,-38.012093,145.265076,0.37,32.60,95.62,90,10]

gsm_send_http(): Length of data packet:
110
gsm_send_http(): Length of header packet:
171
Modem Reply:
AT+QISEND=171

Modem Reply:

gsm_validate_tcp() started.
Modem Reply:

Modem Reply:
SEND OK

gsm_validate_tcp() data delivered.
gsm_validate_tcp() completed.
gsm_send_http(): Sending IMEI and Key
Modem Reply:
AT+QISEND=29

Modem Reply:

Modem Reply:

Modem Reply:
SEND OK

gsm_send_http(): Sending body
gsm_send_http(): Body packet size:
81
gsm_send_http(): Sending data chunk:
0
gsm_send_http(): chunk length:
81
gsm_send_http(): data sent.
parse_receive_reply() started
Modem Reply:
AT+QISEND=81

Modem Reply:

SEND OK

+QIRDI: 0,1,0

Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,100
HTTP/1.1 200
Modem Reply:
AT+QIRD=0,1,0,100

+QIRD: 78.46.45.61:80,TCP,63
X-Cache: MISS
Modem Reply:
AT+QIRD=0,1,0,100

ERROR

No more data available.
Data was not received by the server.
parse_cmd() started
Received commands:
‘7�
parse_cmd() completed
parse_receive_reply() completed
gsm_disconnect() started
gsm_disconnect(): DEACT OK not found.
gsm_disconnect() completed
Can not send data, saving to flash memory
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Modem Reply:
AT+QIDEACT

Modem Reply:
AT+CCLK?

+CCLK: "29/07/15,04:53:57+00"

OK

gsm_get_time() result:
29/07/15,04:53:57+0
gsm_get_time() completed
$GNGSA,A,3,26,01,07,03,32,06,09,16,23,193,,,1.23,0.90,0.83_2C
$$GNRMC,045358.000,A,3800.7264,S,14515.9014,E,0.25,95.62,290715,,,A_51
GPS fix received.
Data is current.

GPS module reset 10-30s cycles

I was wondering why my opentracker was loosing fix while driving and even stationary. When investigating more I noticed that GPS module reset without any reason. Could it be because of the power source (voltage not stable) because with some power sources it does not happen ?

Update the PCB fiels and schematics

Hi

Please update the PCB files and schematics for Opentracker v2 board.

In v2 board the J2 connector is of 20 pins while in schematic and PCB it's showing 22 pins. Please update it's very tough to track the pinouts. I am looking for an uart (EXT_TX , EXT_RX) pin from J2.

Also can you update the old github https://github.com/TIGAL/OpenTracker repository README for new location of github repository.

Thanks
Anand

Flash storage

This isn't really an issue, but a question - is there a good alternative to the DueFlashStorage for other board alternatives?
Also, just an idea, it would be great if future versions could implement the TinyGPS++ library, which has some really cool features.
Cheers!

Detecting the engine running

So the current ignition detection actually just detects that the key is at position 2, rather than the engine is actually running (because that's all we get from the ignition wire). It's just occurred to me that you can easily see whether the engine is running by the battery level - if the ignition signal goes positive and the voltage dips then it's just the key at position 2. If the signal goes live and the voltage increases then the engine is running.

Should be pretty easy to reliably code this into the software, I'll do it when I have time but am documenting this here for now.

Failing to retreive IMEI

Hi All

On startup after downloading the OpenTacker 301 software the startup re-acts differently to a cold start. (refer to Bug in new gsm code. Buffer is overwriting)

Retrieval of the IMEI fails.
Many timeouts occur on the modem and even stranger things occur.

Extract of log is below

gsm_on_off() finished
gsm_on_off() started
gsm_on_off() finished
gsm_restart() completed
gsm_send_at() started
gsm_send_at() completed
gsm_send_at() started
gsm_send_at() completed
gsm_set_pin() started
gsm_set_pin(): PIN is not requered
gsm_set_pin() completed
gsm_get_imei() started
gsm_get_imei() result:
/��
gsm_get_imei() completed
gsm_startup_cmd() started
Warning: timed out waiting for last modem reply
Warning: timed out waiting for last modem reply
Warning: timed out waiting for last modem reply
gsm_startup_cmd() completed
gsm_set_apn() started
Warning: timed out waiting for last modem reply
Warning: timed out waiting for last modem reply
Warning: timed out waiting for last modem reply
gsm_set_apn() completed
store_get_index() started
store_get_index(): Found log position:
131320
store_get_index() ended
setup() completed
Ignition status:
0
Ignition is ON!
collect_all_data() started
gsm_get_time() started
Warning: timed out waiting for last modem reply
gsm_get_time() result:
�/�
gsm_get_time() completed

roaming costs

I live near to a country border.
The cost of GPRS are very expensive by international rooming.
I want to turn off the default rooming of the data connection and activate only with an SMS command again (eg in case of theft).
Can this be installed?
greeting
Claus

Logs in storage

Would be nice to get this feature working properly. It would be a problem to write records from the beginning instead a circular buffer ? This seem to be easier. Is the ring buffer approach intended to extend the life of the eeprom not writing always the same places ?

Pin mapping not clear

Not sure how to match I/O numbering with labels on circuits or schematics. Seems there is not macros defined for EXT_TX, EXT_RX,IO_TO_EXT and so.

imei=D

Hi!
I'm testing this library with my Quectel device and unfortunately I always get imei=D.
If I write a program that only shows the imei in the loop, it shows the correct imei every time.
What could be wrong?

Also it seems to me that I'm not getting the GSM date/time because it shows modem reply /[....data....]. Although in debug console I can see the correct GSM date/time a little bit after startup.

I can't use the DueStorage library because the device isn't Due compatible. Is there an alternative to this?

On my server:
imei ... D
key ... testkey
data ... blank

Thanks!

Setting up web server for Ruby Scripts

I'm really sorry if this is not the place for this. Can you please help me with how to setup the web server for my own logging server? I had things setup for the php code but now that it is in ruby I'm lost. Maybe something for the wiki? Do you have to use this code in a ruby on rails application?

WEBSERVER Date/Time entry not consistent with Displayed Track Date/Time

On the website tracks display their date/time in the Local Browser Time Zone correctly.

It is however necessary to enter a date/time range as GMT+1 or GMT+2 time zone to find them.

EG: trip (GMT+10) 29-Jul-2015 16:58 - 17:17
is found by entering 29-Jul-2015 07:58 - 08:16 (GMT+1)

and trip (GMT+10) 30-Jul-2015 05:01 - 05:02
is found by entering 29-Jul-2015 21:01 - 21:02 (GMT+2)

Could the date/time entry be modified so that the date/time can be entered in the Local Browser timezone as well please.

WEBSITE Errors in Interpreting GPS Date/Time

Even with the correction that I have logged a PULL request for, there still appears to be issues with the website interpreting the data that is provided. My testing today before the correction took place between 25-Jul-2015 23:50 and 26-Jul-2015 00:30:00 (GMT Time). The data between 00:00:00 and 00:30:00 (GMT) was misinterpreted and appear on the website up to 3 days in the future

IE: 26-Jul-2015 00:29:40 (GMT)
15/07/26,00:29:35+0[260715,294000,-26.620186,152.859207,0.80,421.50,141.92,142,5]


The corrected data was sent between 26-Jul-2015 00:44:00 and 26-Jul-2015 00:46:00 (GMT Time). This data I cannot locate on the website. The latest reading however shows up correctly.

IE: 26-Jul-2015 00:44:47 (GMT)
15/07/26,00:44:47+0[260715,00445400,-26.620241,152.858627,2.98,445.20,60.04,303,6]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.