I tried to connect my gps device is Megastek GVT-800 with servers located in vps, but why always provide information that String index out of range: -19 - StringIndexOutOfBoundsException (... <MegastekProtocolDecoder.java:166 <ExtendedObjectDecoder.java:39 <...)
This is for the information of traccar server error log
2015-08-04 18:02:55 INFO: [9084C848] disconnected
2015-08-04 18:03:29 INFO: [0722E24E] connected
2015-08-04 18:03:31 DEBUG: [0722E24E: 5024 < 223.255.230.34] HEX: 244d47563030322c3031333737373030373533363433342c2c522c3031303131342c3030303035372c562c303030302e303030302c4e2c30303030302e303030302c452c30302c30302c30302c39392e392c302e3030302c302e30302c302e302c38302e3236332c3531302c38392c323334322c303330422c2c303030302c303030302c3230302c39362c302c202c202c2c2c2c54696d65723b210d0a
2015-08-04 18:03:31 WARN: String index out of range: -19 - StringIndexOutOfBoundsException (... < MegastekProtocolDecoder.java:166 < ExtendedObjectDecoder.java:39 < ...)
2015-08-04 18:03:31 WARN: [0722E24E] error - String index out of range: -19 - StringIndexOutOfBoundsException (... < MegastekProtocolDecoder.java:166 < ExtendedObjectDecoder.java:39 < ...)
2015-08-04 18:03:31 INFO: [0722E24E] disconnected
while for the format uploading gprs from documentation megastek gvt-800 is
<data head><protocol version>,<device IMEI>,<device name>,<GPRS real-time/stored data flag>,<date>,<time>,<GPS fixed flag>,<latitude>,<N/S>,<longitude>,<W/E>,<used satellite number of BDS>,<used satellite number of GPS>,<used satellite number of GLONASS>,<HDOP>,<speed>,<course>,<altitude>,<mileage>,<MCC>,<MNC>,<LAC>,<Cell ID>,<GSM signal strength>,<digital input>,<digital output>,<analog input 1>,<analog input 2>,<analog input 3>,<temperature sensor 1>,<temperature sensor 2>,<RFID>,<external accessories status>,<battery level>,<alert event type>;<checksum><data tail>
If anyone can help solve my problem ?? Thanks before
Please provide full documentation.
Thanks for the documentation. I have added this protocol to my backlog of new protocols.
I tried to connect my gps device is Megastek GVT-800 with servers located in vps, but why always provide information that String index out of range: -19 - StringIndexOutOfBoundsException (... <MegastekProtocolDecoder.java:166 <ExtendedObjectDecoder.java:39 <...)
This is for the information of traccar server error log
2015-08-04 18:02:55 INFO: [9084C848] disconnected
2015-08-04 18:03:29 INFO: [0722E24E] connected
2015-08-04 18:03:31 DEBUG: [0722E24E: 5024 < 223.255.230.34] HEX: 244d47563030322c3031333737373030373533363433342c2c522c3031303131342c3030303035372c562c303030302e303030302c4e2c30303030302e303030302c452c30302c30302c30302c39392e392c302e3030302c302e30302c302e302c38302e3236332c3531302c38392c323334322c303330422c2c303030302c303030302c3230302c39362c302c202c202c2c2c2c54696d65723b210d0a
2015-08-04 18:03:31 WARN: String index out of range: -19 - StringIndexOutOfBoundsException (... < MegastekProtocolDecoder.java:166 < ExtendedObjectDecoder.java:39 < ...)
2015-08-04 18:03:31 WARN: [0722E24E] error - String index out of range: -19 - StringIndexOutOfBoundsException (... < MegastekProtocolDecoder.java:166 < ExtendedObjectDecoder.java:39 < ...)
2015-08-04 18:03:31 INFO: [0722E24E] disconnected
while for the format uploading gprs from documentation megastek gvt-800 is
<data head><protocol version>,<device IMEI>,<device name>,<GPRS real-time/stored data flag>,<date>,<time>,<GPS fixed flag>,<latitude>,<N/S>,<longitude>,<W/E>,<used satellite number of BDS>,<used satellite number of GPS>,<used satellite number of GLONASS>,<HDOP>,<speed>,<course>,<altitude>,<mileage>,<MCC>,<MNC>,<LAC>,<Cell ID>,<GSM signal strength>,<digital input>,<digital output>,<analog input 1>,<analog input 2>,<analog input 3>,<temperature sensor 1>,<temperature sensor 2>,<RFID>,<external accessories status>,<battery level>,<alert event type>;<checksum><data tail>
If anyone can help solve my problem ?? Thanks before