Help with Custom Protocol

xrak en4 years ago

I need to develop a custom protocol for handling incoming binary coded UDP location messages. Can I get a pointer to any existing documentation or any kind of help in this direction? I've looked at the supported protocol classes and can probably reverse engineer from there but I'm hoping to get a jump start if there is anything already available for me to get started with. Thanks.

Anton Tananaev4 years ago

What reverse engineering are you talking about? Just take any existing binary protocol as an example and implement your one in a similar way. You can also read Netty documentation if something in the API is not clear.

xrak en4 years ago

I did not realize that there was a binary handler already supported that I can use as a starting point. Also, for anyone stumbling on this post I just came across the kind of documentation I was looking for here: https://www.traccar.org/implement-protocol/

Appreciate your input Anton.