1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

use a better name for the new field and added a comment explaining its pupose

This commit is contained in:
Steffen Vogel 2016-10-22 12:11:34 -04:00
parent 626ddc2043
commit 1ca719ac6f

View file

@ -80,7 +80,8 @@ struct webmsg
unsigned version: 4; /**< Specifies the format of the remaining message (see MGS_VERSION) */
#endif
uint8_t src_node; /**< Reserved bits */
uint8_t node_id; /**< The node index from / to which this sample received / sent to.
* Corresponds to the index of the node in the http://localhost/nodes.json array. */
uint16_t length; /**< The number of values in msg::data[]. Endianess is specified in msg::endian. */
uint32_t sequence; /**< The sequence number is incremented by one for consecutive messages. Endianess is specified in msg::endian. */