...update: When calculating a checksum for the DEVID, the device is recognised in Traccar, but no further data seem to be parsed/populated.
2021-12-17 16:07:43 INFO: [05ea4343: t55 < 80.187.118.13] HEX: 2444455649442c3030313132423030383942422a30370d0a24474c4753562c322c312c30362c38352c30342c3133322c32342c37322c31362c3138382c33322c37342c33392c3035372c2c36362c33332c3332302c2a36370d0a
2021-12-17 16:07:43 WARN: Unknown device - 00112B0089BB*07
Unknown device means that you haven't registered device on the server.
Ok - i somehow had managed to got it green in the server - but anyhow. actually i've incorporated a fake-id labelled $IMEI to have the full string taken as the device-id. The log shows the Id as unknown:
2021-12-17 20:15:41 INFO: [5f908e9e: t55 < 80.187.118.13] HEX: 24494d45492c33353132333435363738390d0a24474c4753562c332c312c30392c37362c33392c3132332c32352c36392c31332c3334332c32332c38382c31342c3139382c32342c38372c35362c3138312c32342a36420d0a
2021-12-17 20:15:41 WARN: Unknown device - 35123456789
$GLGSV,3,1,09,76,39,123,25,69,13,343,23,88,14,198,24,87,56,181,24*6B
(80.187.118.13)
2021-12-17 20:15:41 INFO: [5f908e9e: t55 < 80.187.118.13] HEX: 24494d45492c33353132333435363738390d0a24474c4753562c332c322c30392c38352c30332c3032382c31362c37382c32352c3331322c2c38362c34382c3034322c2c37372c38322c3335342c2a36410d0a24474c4753562c332c332c30392c36382c31302c3239352c2a35440d0a2447504753562c332c312c31312c30322c33312c3035332c32392c31322c32372c3039372c32352c31382c30382c3137352c33362c32302c30382c3037372c33342a37330d0a2447504753562c332c322c31312c32352c36332c3039352c31372c32362c31392c3238362c32392c32392c38312c3138342c32322c33312c35342c3238342c32332a37380d0a2447504753562c332c332c31312c30342c30312c3334342c2c30362c2c2c2c33322c30382c3233302c2a37310d0a2447504747412c3139313534312e302c353035372e3737383137362c4e2c30303731312e3235353733342c452c312c30372c302e392c3230342e382c4d2c34372e302c4d2c2c2a35430d0a24474e474e532c3139313534312e302c353035372e3737383137362c4e2c30303731312e3235353733342c452c41414e2c31302c302e392c3230342e382c34372e302c2c2a32300d0a2447505654472c3136322e382c542c3136332e372c4d2c302e302c4e2c302e302c4b2c412a32440d0a244750524d432c3139313534312e302c412c353035372e3737383137362c4e2c30303731312e3235353733342c452c302e302c3136322e382c3137313232312c302e392c572c412a31360d0a2447504753412c412c322c30322c31322c31382c32302c32362c32392c33312c2c2c2c2c2c312e312c302e392c302e382a33350d0a24474e4753412c412c322c30322c31322c31382c32302c32362c32392c33312c2c2c2c2c2c312e312c302e392c302e382c312a33360d0a24474e4753412c412c322c37362c38382c38372c2c2c2c2c2c2c2c2c2c312e312c302e392c302e382c322a33430d0a24474e4753412c412c322c3231332c3232332c3232382c2c2c2c2c2c2c2c2c2c312e312c302e392c302e382a31370d0a24474e4753412c412c322c2c2c2c2c2c2c2c2c2c2c2c2c312e312c302e392c302e382c332a33330d0a
2021-12-17 20:15:41 WARN: Unknown device - 35123456789
$GLGSV,3,2,09,85,03,028,16,78,25,312,,86,48,042,,77,82,354,*6A
$GLGSV,3,3,09,68,10,295,*5D
$GPGSV,3,1,11,02,31,053,29,12,27,097,25,18,08,175,36,20,08,077,34*73
$GPGSV,3,2,11,25,63,095,17,26,19,286,29,29,81,184,22,31,54,284,23*78
$GPGSV,3,3,11,04,01,344,,06,,,,32,08,230,*71
$GPGGA,191541.0,5057.778176,N,00711.255734,E,1,07,0.9,204.8,M,47.0,M,,*5C
$GNGNS,191541.0,5057.778176,N,00711.255734,E,AAN,10,0.9,204.8,47.0,,*20
$GPVTG,162.8,T,163.7,M,0.0,N,0.0,K,A*2D
$GPRMC,191541.0,A,5057.778176,N,00711.255734,E,0.0,162.8,171221,0.9,W,A*16
$GPGSA,A,2,02,12,18,20,26,29,31,,,,,,1.1,0.9,0.8*35
$GNGSA,A,2,02,12,18,20,26,29,31,,,,,,1.1,0.9,0.8,1*36
$GNGSA,A,2,76,88,87,,,,,,,,,,1.1,0.9,0.8,2*3C
$GNGSA,A,2,213,223,228,,,,,,,,,,1.1,0.9,0.8*17
$GNGSA,A,2,,,,,,,,,,,,,1.1,0.9,0.8,3*33
(80.187.118.13)
... but i am pulling my hair - adding a device with this id in traccar changes nothing. it stays offline and the log does not show anything else than before. WHY? All other devices (actually around 10) are working flawlessly - but with this one i am not able to add the device to have it recognised by traccar. what am i doing wrong?
Are you using standard Traccar? Or you changed something?
Fully stock, only changed to mysql and google-maps.
... just checked with demo3 - same behaviour :-(
If it's unchanged, how do you get those decoded messages in the logs, along with IP addresses?
... i dont know. ive "touched" nothing. did install according docs, no self-compile. do you want me to send the data to another server for testing?
In that case it probably means that your device is sending over UDP. Is there an option to switch to TCP?
Good hint! Rewrote the script to send via TCP - et voila :-)
Thank you very much for pointing me into the right direction!
For the books: I've got to have my Netmodule-Router/Gateway successfully reporting its position via SDK-Script.
For the Hardware see https://www.netmodule.com/en/ - my device is a NB2700: https://www.netmodule.com/uploads/files/produkte/router/NB2700/datasheet/NB2700_product_information.pdf
Highlights are ability to send position to several Traccar-Servers if required, upload via TCP ;-) and In-Script-Filtering to have only GPRMC reported (from a larger set of NMEA-Sentences) together with a Device-ID derived from the Serial-Number of the Router.
Thanks to Anton for the support.
Hi, i want to connect a Netmodule NB2700 Router/Gateway to report its Position to a Traccar-Instance. The Device is somewhat similar to Teltronika RUT850/955 or RUTX11. It runs a busybox-Linux and allows scripting though a SDK.
However, i have a script which connects to the gpsd and forward the NMEA-Messages to Traccar on Port 5005. Unfortunately i am somewhat stuck.
By looking into the sources of the T55Decoder, i would expect to have the decoder being able to parse my data, but something seems missing.
Here is the Hex / Log:
I have the Device with the ID in Traccar, but it is not updated.... can someone have a helping hand and give me some advise?
thank you & best regards
Carsten