message_definitions_usage
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
message_definitions_usage [2014/01/01 12:36] – [Read header extension] breaker27 | message_definitions_usage [2014/01/01 12:37] – [2) Use a specific function for your message type] breaker27 | ||
---|---|---|---|
Line 115: | Line 115: | ||
==== 2) Use a specific function for your message type ==== | ==== 2) Use a specific function for your message type ==== | ||
- | As an alternative, | + | As an alternative, or if the value is only in one of the header extensions, you can directly use the function of the appropriate message type like this: |
'' | '' | ||
Line 121: | Line 121: | ||
This is recommended if only requests of one message type are supported in a device. Using the function makes it clear in the source code that e.g. a " | This is recommended if only requests of one message type are supported in a device. Using the function makes it clear in the source code that e.g. a " | ||
- | |||
===== Read message data ===== | ===== Read message data ===== | ||