Z-Wave Protocol Controller Reference
occupancy_sensing_cluster_mapper.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
22#ifndef OCCUPANCY_SENSING_CLUSTER_MAPPER_H
23#define OCCUPANCY_SENSING_CLUSTER_MAPPER_H
24
25// Includes from other components
26#include "attribute_store.h"
27
28// Generic includes
29#include <stdbool.h>
30
31// Occupancy Sensing Cluster defines:
32// PIR Sensor in the Occupancy Cluster
33#define OCCUPANCY_SENSOR_TYPE_PIR 0x00
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
47
55
61 attribute_store_node_t updated_node, attribute_store_change_t change);
62
68 attribute_store_node_t updated_node, attribute_store_change_t change);
69
70#ifdef __cplusplus
71}
72#endif
73
74#endif //OCCUPANCY_SENSING_CLUSTER_MAPPER_H
void occupancy_sensing_motion_detection_update_callback(attribute_store_node_t updated_node, attribute_store_change_t change)
Callback for the Attribute Store reading the Notification Motion Detected attributes.
bool occupancy_sensing_cluster_mapper_init(void)
Intitialise the OccupancySensing cluster mapper.
void occupancy_sensing_motion_idle_update_callback(attribute_store_node_t updated_node, attribute_store_change_t change)
Callback for the Attribute Store reading the Notification Motion Detected attributes.
int occupancy_sensing_cluster_mapper_teardown(void)
Tears down the Occupancy cluster mapper from all its content.