Search:

Type: Posts; User: weichsel

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    4,171

    [SOLVED] Re: Send Hex data in a UDP frame

    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...
  2. Replies
    10
    Views
    4,171

    [SOLVED] Re: Send Hex data in a UDP frame

    cant get it. remember i just have 2 weeks using java and my english its not good.

    Can tell me more about that
  3. Replies
    10
    Views
    4,171

    [SOLVED] Re: Send Hex data in a UDP frame

    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.
  4. Replies
    10
    Views
    4,171

    [SOLVED] Re: Send Hex data in a UDP frame

    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...
  5. Replies
    10
    Views
    4,171

    [SOLVED] Re: Send Hex data in a UDP frame

    ok, done
  6. Replies
    10
    Views
    4,171

    [SOLVED] Send Hex data in a UDP frame

    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...
Results 1 to 6 of 6