Modify SuntechProtocolEncoder.java file

Alfredo mondragon 6 years ago

Hi Anton how are you? I wonder if could you help me. How can I modify the file SuntechProtocolEncoder.java? I need to replace the String prefix = "SA200CMD"; to String prefix = "ST300CMD";. How can I do that? I have traccar already installed. thank you in advance

Anton Tananaev 6 years ago

You don't need to modify anything. Just compile latest source code.

Alfredo mondragon 6 years ago

Thank you for your prompt response Anton, so I just need to compile the project in NetBeans for example, get the file called tracker-server.jar and replace it in my folder where Traccar is installed?

Anton Tananaev 6 years ago

Yes!