NMEA protocol doesn't include any identification capabilities. Some devices support custom login messages. Not sure if GPSGate supports anything like that. Can't GPSGate use their own protocol to transmit data?
That was my assumption of how GPSGate worked (parsing NMEA data into happier data with headers etc). I think I have the wrong setting on the Gate software. Let me play with it and get back to you
Baby steps! OK so I set the GPSGate to send to GPSGate.COM (is the setting) and specificed my Traccar server as the server IP, it (gpsgate) prompted for Username and Password. I put Test in both and it saved. Traccar server SAW test as the ID huzzah...so I added that identifier. I have is reporting on the WebGUI buttttt no GPS is coming in...see log below:
2016-08-25 08:04:04 INFO: [BFE0CC37] connected
2016-08-25 08:04:04 DEBUG: [BFE0CC37: 5026 < 10.17.9.142] HEX: 2446524c494e2c2c746573742c474856472a37420d0a
2016-08-25 08:04:04 DEBUG: [BFE0CC37: 5026 > 10.17.9.142] HEX: 2446525345532c2d313037353738363639372a37360d0a
2016-08-25 08:04:34 INFO: [BFE0CC37] disconnected
In english
$FRLIN,,test,GHVG*7B
$FRSES,-1075786697*76
Not sure why it doesn't work. Maybe it doesn't like negative channel id. Try a couple more times and see if it works. Eventually you should get a positive channel id.
$FRSES,-1075786697*76
THis being the channel?
Yes, not sure why I decided to use channel number, but device might not like a negative value there.
$FRLIN,,AUTO,lgfz*6B
$FRSES,215551702*6B
Still being stupid but there's a positive number. Does Traccar server have to respond to the GPSGate?
Way I assumed data went:
GPS -> GPSGate -> Traccar Server
or does the server have to confirm receipt? What would the negative number be affecting? The device is Mifi6620
Not sure why it doesn't work. It looks fine to me.
Yes, Traccar has to acknowledge first message. That's what second message is.
Do you or anyone have a log from a working GPSGate install? I want to see what SHOULD occur after the second line
2016-08-25 10:53:50 DEBUG: [9743E3A5: 5026 < 10.17.9.142] HEX: 2446524c494e2c2c61646d696e2c4d524e575a2a34300d0a
2016-08-25 10:53:50 DEBUG: [9743E3A5: 5026 > 10.17.9.142] HEX: 2446525345532c2d313735373135383439312a37300d0a
aka
$FRLIN,,admin,MRNWZ*40
$FRSES,-1757158491*70
Does it normally then just start dumping coords? I got the app to connect fine but it comes in as a different type of log so I wasn't able to see the reply.
Just unplugged my device to see something and I still got the Call and Response
2446524c494e2c2c61646d696e2c4d524e575a2a34300d0a
2446525345532c2d3536373336383830332a34360d0a
with NO GPS plugged in, just GPSGate running which leads me to believe its something in GPSGate being stupid
I hope you don't mind I'm just going to keep posting data I find incase it means something to you or anyone else.
I fired up a GPSGates GPS Sim which sends
2016-08-25 14:40:18 DEBUG: [39667A68: 5026 < 10.17.9.69] HEX: 244652434d442c303039372c5f53656e644d6573736167652c2c373631382e35313939302c532c343030322e32363138322c452c3335302e302c312e30382c302e302c3235303831362c3138333532322e3030302c302a37460d0a
aka
$FRCMD,0097,_SendMessage,,7618.51990,S,4002.26182,E,350.0,1.08,0.0,250816,183522.000,0*7F
but the sim errors out because there is no reply from the Traccar server still. And it doesn't show on the map...probably because there is no ack
There was a small issue with decoder. Fixed now and the fix will be available with the next release.
Awesome! Thanks!
Release as in version or the "nightly" builds?
There are no nightly builds, so I am talking about new version. Alternatively you can build a version from source.
My issue closely mimics a few here but not specifically enough for me to solve the issue.
I have a GPSGate device happily reading serial data and sending it off perfectly to my Traccar server. The issue is that GPSGate nor the device speaking via serial seem to want to introduce itself...aka I'm not get ID data (no $FRLIN). Log shows:
Now the device has an IMEI, and a SN, and a billion ways to identify itself but I can't figure out if GPSGate is the issue or if the device just doesn't want to introduce itself. I'm using TCP/IP Client / NMEA Filter setting on GPSGate.