Search in sources :

Example 1 with BVLC

use of org.apache.plc4x.java.bacnetip.readwrite.BVLC in project plc4x by apache.

the class ManualBacNetDecoder method main.

public static void main(String[] args) throws Exception {
    final byte[] bytes = Hex.decodeHex("810a002b01040205790109011c020000142c000002f93a06b24e09552e44434a00002f096f2e8204002f4f");
    ReadBuffer readBuffer = new ReadBufferByteBased(bytes);
    final BVLC packet = BVLC.staticParse(readBuffer);
    System.out.println(packet);
}
Also used : ReadBuffer(org.apache.plc4x.java.spi.generation.ReadBuffer) BVLC(org.apache.plc4x.java.bacnetip.readwrite.BVLC) ReadBufferByteBased(org.apache.plc4x.java.spi.generation.ReadBufferByteBased)

Aggregations

BVLC (org.apache.plc4x.java.bacnetip.readwrite.BVLC)1 ReadBuffer (org.apache.plc4x.java.spi.generation.ReadBuffer)1 ReadBufferByteBased (org.apache.plc4x.java.spi.generation.ReadBufferByteBased)1