Hi Anton,
I am using a device which is sending data in Hex format at server.Can I use text type protocol rather than binary to handle hex data ?
And when I receive data in handler how can i convert it to String data, Is there any util class or library in traccar application ?
eg -HEX : 2A475053415F303238363330373130313530343538343923
After conversion : *GPSA_02863071015045849#
thanks
Device doesn't send in hex format. Received data is just stored in hex in the logs.
You can look at any existing text protocol to see how to deal with it. Take for example Gps103Protocol.
Hi Anton,
I am using a device which is sending data in Hex format at server.Can I use text type protocol rather than binary to handle hex data ?
And when I receive data in handler how can i convert it to String data, Is there any util class or library in traccar application ?
eg -HEX : 2A475053415F303238363330373130313530343538343923
After conversion : *GPSA_02863071015045849#
thanks