From 1ca719ac6f1f7af41bb87ce51147dbd77dd6cc1e Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 22 Oct 2016 12:11:34 -0400 Subject: [PATCH] use a better name for the new field and added a comment explaining its pupose --- include/villas/webmsg_format.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/villas/webmsg_format.h b/include/villas/webmsg_format.h index 3873d4470..55f885980 100644 --- a/include/villas/webmsg_format.h +++ b/include/villas/webmsg_format.h @@ -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. */