Zigbee Protocol Controller 1.6.0
attribute_poll.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
4 ******************************************************************************
5 * The licensor of this software is Silicon Laboratories Inc. Your use of this
6 * software is governed by the terms of Silicon Labs Master Software License
7 * Agreement (MSLA) available at
8 * www.silabs.com/about-us/legal/master-software-license-agreement. This
9 * software is distributed to you in Source Code format and is governed by the
10 * sections of the MSLA applicable to Source Code.
11 *
12 *****************************************************************************/
13
29#ifndef ATTRIBUTE_POLL_ENGINE_H
30#define ATTRIBUTE_POLL_ENGINE_H
31
32#include "sl_status.h"
33#include "attribute_store.h"
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
47 uint32_t interval);
48
50#define attribute_poll_register_default(node) attribute_poll_register(node, 0)
51
59
67
84 uint32_t default_interval,
85 attribute_store_type_t poll_mark_attribute_type);
86
95
105
111
112#ifdef __cplusplus
113}
114#endif
115
116#endif //ATTRIBUTE_POLL_ENGINE_H
uint32_t attribute_store_type_t
Definition: attribute_store.h:50
sl_status_t attribute_poll_schedule(attribute_store_node_t node)
Schedule a poll as soon as possible.
sl_status_t attribute_poll_register(attribute_store_node_t node, uint32_t interval)
Register a node for polling.
sl_status_t attribute_poll_deregister(attribute_store_node_t node)
Deregister polling of an attribute.
void attribute_poll_print()
print the entries present in the attribute poll list
sl_status_t attribute_poll_disable()
Disable the Poll Engine.
sl_status_t attribute_poll_init(uint32_t backoff, uint32_t default_interval, attribute_store_type_t poll_mark_attribute_type)
Initialize the attribute poll engine.
sl_status_t attribute_poll_enable()
Enable the Poll Engine.
datastore_attribute_id_t attribute_store_node_t
Handle to identify attribute store nodes.
Definition: attribute_store.h:101
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.