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...
Type: Posts; User: weichsel
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...