hobbyquaker / mqtt-dmx-controller

A simple ArtNet / DMX Controller with MQTT Interface 💡🎬
MIT License
65 stars 14 forks source link

Malformed Packet: DMX Channels: length of contained item exceeds length of containing item #9

Open PizzaProgram opened 2 years ago

PizzaProgram commented 2 years ago

Hi, Great APP :-)

Sadly I can not control my special ArtNet DMX device, so I made some tests. (Changed channels count = 34)

WireShark shows errors at every 4sec output. Length = 94 byte ! If I move the slider > it creates good packages. Length = 92 byte

PS: How I do I set Universe to 1 ?

Frame 1: 94 bytes on wire (752 bits), 94 bytes captured (752 bits) on interface \Device\NPF_{CC3786E0-5D3F-4DEE-9FAB-1A01258F7A72}, id 0
Ethernet II, Src: Dell_3d:16:64 (f8:ca:b8:3d:16:64), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
    Destination: Broadcast (ff:ff:ff:ff:ff:ff)
        Address: Broadcast (ff:ff:ff:ff:ff:ff)
        .... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
        .... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
    Source: Dell_3d:16:64 (f8:ca:b8:3d:16:64)
        Address: Dell_3d:16:64 (f8:ca:b8:3d:16:64)
        .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
        .... ...0 .... .... .... .... = IG bit: Individual address (unicast)
    Type: IPv4 (0x0800)
Internet Protocol Version 4, Src: 192.168.77.100, Dst: 255.255.255.255
    0100 .... = Version: 4
    .... 0101 = Header Length: 20 bytes (5)
    Differentiated Services Field: 0x00 (DSCP: CS0, ECN: Not-ECT)
    Total Length: 80
    Identification: 0x3504 (13572)
    Flags: 0x00
    Fragment Offset: 0
    Time to Live: 128
    Protocol: UDP (17)
    Header Checksum: 0xf78c [validation disabled]
    [Header checksum status: Unverified]
    Source Address: 192.168.77.100
    Destination Address: 255.255.255.255
User Datagram Protocol, Src Port: 6454, Dst Port: 6454
    Source Port: 6454
    Destination Port: 6454
    Length: 60
    Checksum: 0x0e5a [unverified]
    [Checksum Status: Unverified]
    [Stream index: 0]
    [Timestamps]
    UDP payload (52 bytes)
Art-Net, Opcode: ArtDMX (0x5000)
    Descriptor Header
        ID: Art-Net
        OpCode: ArtDMX (0x5000)
        ProtVer: 14
    ArtDMX packet
        Sequence: 0
        Physical: 0
        Universe: 0
        Length: 512
DMX Channels
    0x001:   0%  0%  0%  0%  0%  0%  0%  0%   0%  0%  0%  0%  0%  0%  0%  0% 
    0x011:   0%  0%  0%  0%  0%  0%  0%  0%   0%  0%  0%  0%  0%  0% FL  0% 
**[Malformed Packet: DMX Channels: length of contained item exceeds length of containing item]
    [Expert Info (Error/Malformed): Malformed Packet (Exception occurred)]
        [Malformed Packet (Exception occurred)]
        [Severity level: Error]
        [Group: Malformed]**

kép