This shows you the differences between two versions of the page.
hellohome:protocol:node-gateway:updateconfig [2015/09/15 14:45] – created vdesmedt | hellohome:protocol:node-gateway:updateconfig [2015/09/15 15:44] (current) – vdesmedt | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== UpdateConfig command ====== | ====== UpdateConfig command ====== | ||
+ | This command is generally sent by the gateway to one node to alter its config. | ||
+ | ===== Structure ===== | ||
+ | |||
+ | ^ Name ^ DataType ^ Structure ^ | ||
+ | | Features | word | Each bits indicate if the corresponding feature is activated or not. See table bellow | | ||
+ | | Pulse | word | 5 least significant bits indicates pin used for Hal 1, 5 next bits indicates pin used for Hal 2, 5 next bits indicates pin used for dry | | ||
+ | | Battery | word | 5 least significant bits indicates pin used to trigger measurement (Digital), 5 next bits indicate pinned to measure (Analog) | | ||
+ | |||
+ | ==== Features ==== | ||
+ | |||
+ | ^ bit ^ feature name ^ Description ^ | ||
+ | | 0 | Hal1 | Pulse counter base on HAL sensor | | ||
+ | | 1 | Hal2 | Pulse counter base on HAL sensor | | ||
+ | | 3 | Dry | Pulse counter based on dry contact | | ||
+ | | 4 | vIn | VIN voltage measurement | | ||
+ | | 5 | Env | Environment data like temperature, |