[Logo] Serotonin Software Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
receive a UDP packet  XML
Forum Index » How-To
Author Message
huexit

Initiate

Joined: 14/06/2010 03:51:42
Messages: 16
Offline

Hi,
I would like to receive a special * UDP packet. It is measured following structure:



The data lengths are known. I would work with "DatagramPacket.
My question is: how can I teach mango which he lists the contents of the I / O and I can assign each bit points?
Is there an educational requirement for the datasource packages?

* The package was created in C (memcpy) and sent via broadcast.

Sorry for gramatical errors, my english is not enough. :/
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

This can be done, but it does involve an educational investment. The SMNP driver uses UDP, as does BACnet, but the listening and parsing code is wrapped up in the libraries. Still, if you know Java, it shouldn't be too hard to do.

Best regards,
Matthew Lohbihler
huexit

Initiate

Joined: 14/06/2010 03:51:42
Messages: 16
Offline

that's the problem, my java knowledge is limited ^ ^

Sorry for gramatical errors, my english is not enough. :/
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1456
Offline

There's always Serotonin Professional Services...

Best regards,
Matthew Lohbihler
 
Forum Index » How-To
Go to:   
Powered by JForum 2.1.9 © JForum Team