This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mesh health model

How is the health model supposed to work? I'm currently doing some tests with the light switch example and I don't really understand the different roles of the nodes in the health model. Does the health client send a request to get an update? Or do the servers publish their status periodically? Also, I found that if I restart one of the servers, it's health model stops sending updates, how can I make this work again (without erasing the flash every time ;) )

Parents
  • Hi Jeff and Kassiason,

    Healthmodel publication is configured when we do provisioning (when configuration), look for PROV_STATE_CONFIG_PUBLICATION_HEALTH case in do_config_step() in provisioner.c

    The config server on the server will handle the configuration on access layer and then store it. But for some reason it's not restored properly when we reset and read from flash. Resulting in health server doesn't send publication after the reset. I have reported this internally to R&D.

Reply
  • Hi Jeff and Kassiason,

    Healthmodel publication is configured when we do provisioning (when configuration), look for PROV_STATE_CONFIG_PUBLICATION_HEALTH case in do_config_step() in provisioner.c

    The config server on the server will handle the configuration on access layer and then store it. But for some reason it's not restored properly when we reset and read from flash. Resulting in health server doesn't send publication after the reset. I have reported this internally to R&D.

Children
No Data
Related