Rammbock
Rammbock copied to clipboard
AttributeError occurs when receive message with fix pdu length
I just modify atest key word " Define example protocol", and run case "Client sends server receives", got error "AttributeError: '_StaticLength' object has no attribute 'field'"
Define example protocol [Arguments] ${name}=Example New protocol ${name} u8 version 0x01 u8 reserved 0x00 u16 messageType # Empty on purpose, each message template defines the type for it Comment u16 length # Empty on purpose, the length is pdu length u16 flags 0x0000 pdu 4 End protocol
I get the same error in my test. See issue #14 comments