D
D
Drengel2016-04-29 00:53:21
satellite navigation
Drengel, 2016-04-29 00:53:21

GPS TK110 sending from java to tracker. How to do?

Hello, friends. Faced a problem. I have a GPS tracker TK 110. I am writing a server for receiving data. I get data from Nemo. But I can’t understand how it works, according to the manual, I understand that it is necessary for the tracker to confirm that it is connected to the server. But how to send the data so that he understands that everything is fine.
Right now I have it organized in Java like this:
responseData("(123456789000AP00)");
private void responseData(String command_type) throws IOException {
outToClient = new DataOutputStream(s.getOutputStream());
String sss = command_type;
outToClient.writeBytes(sss);
log.info("Send request " + command_type + interval());
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question