Hi all, Im having problems with this web services using restful on eclipse.
When I use the debug the program start working fine, but when is going to create the socket (DatagramSocket socket = new...
Type: Posts; User: weichsel
Hi all, Im having problems with this web services using restful on eclipse.
When I use the debug the program start working fine, but when is going to create the socket (DatagramSocket socket = new...
I was using Hercules before
not really, I have to do it with the GPS, but I can give you the IP and port from the device in a PM.
did u test it? I continue with same problem :(
Im using hercules in another computer.
You mean, copy the full text of the error?
the socket.receive(receivePacket); doesn't work, the application stop at this point. its important for me get the message but thats not working, i cant read the incomming message.
I get this...
the device responds almost instantly. I think after 5sec.
Hi, some days ago I posted about a web aplication for send and udp command to a GPS, now I can do it, but Im having a problen with the code for get the incomming messages just with socket.receive, I...
I finnaly get it, i used this:
HexBinaryAdapter adapter = new HexBinaryAdapter();
byte[] bytes = adapter.unmarshal(data);
with that i convert the hex data captured in the strin variable...
cant get it. remember i just have 2 weeks using java and my english its not good.
Can tell me more about that
yes i have it in a string, i read command, after that i add 00010400 and in the next step i convert to hex the commands without change the first 8 characters, i save this in a string variable.
idk how to it, can help me telling me what I need add to the java code. at this moment i have 0001044154 but idk how change it to {0x00, 0x01, 0x04, 0x00, 0x41, 0x54 }; and send it that the datagram...
ok, done
Hi, Im trying to make a web aplication using servlet with Java Eclipse.
I need send through a web aplication commands to a GPS, it only accepts hex frames by UDP, I have some code done, but it is...
Thats the problem, i dont know anything about Java. I dont have done anything.
Thats ok
These work like a normal connection, like a phone. The GPS have a public IP, and i decide the port that is going to have when i programm the GPS before being installed in a car.
Just need send hex...
The GPS use GPRS, then Is possible send data by internet using UDP protocol.
The Gps is installed in a car, and sending hex data by UDP is not important where the user is connected, can be in a...
Hi all. I want to know if maybe anyone cant help me. Im so bad in Java, just I programm in C or Phyton, but I need make a web aplication for can send commands to a GPS (Skypatrol TT8750), just need 3...