You are here: Information > Decoder Summary

Decoder Summary

Here we present a skeleton decoder that you may find useful as a base to work from:

/* Header comments */

"Protocol Name" [Decoder ID in Hex] [Data Order]

NEXT_PROTOCOL (NextProtocolMethod param)

DECODE

TABLE tablename

{ low_value [high_value] "summary string" "decode string"

extradata field/groupname}

ENDTABLE

FIELD fieldname (fieldsize) (format method) "decode label"

FIELD fieldname (fieldsize) conditional_statement (format method)

IN_SUMMARY ColumnLabel defaultWidth "decode label"

VERIFY (verify method)

FIELD fieldname ;

GROUP name "label"

{

FIELDS

}

GROUP name conditional_statement

{

FIELDS

}

END_MAIN_PATH

<GROUP and FIELD definitions for stuff called above>