Trident IoT Z-Wave SDK
Loading...
Searching...
No Matches
CC_WakeUp.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Silicon Laboratories Inc. <https://www.silabs.com/>
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
38
39#ifndef _COMMANDCLASSWAKEUP_H_
40#define _COMMANDCLASSWAKEUP_H_
41
42/****************************************************************************/
43/* INCLUDE FILES */
44/****************************************************************************/
45
48#include <ZAF_nvm_app.h>
49#include <ZAF_nvm.h>
50
57
58/****************************************************************************/
59/* EXPORTED TYPES and DEFINITIONS */
60/****************************************************************************/
61
62// Nothing here.
63
64/****************************************************************************/
65/* EXPORTED DATA */
66/****************************************************************************/
67
68// Used by application file system
69typedef struct SWakeupCcData{
70 uint8_t MasterNodeId;
71 uint32_t SleepPeriod;
73
74#define ZAF_FILE_SIZE_WAKEUPCCDATA (sizeof(SWakeupCcData))
75
76/****************************************************************************/
77/* EXPORTED FUNCTIONS */
78/****************************************************************************/
79
84void CC_WakeUp_notification_tx(void (*pCallback)(uint8_t txStatus, TX_STATUS_TYPE* pExtendedTxStatus));
85
93
101
109
117
122
123#endif /* _COMMANDCLASSWAKEUP_H_ */
Defines file system for ZAF.
Defines file system for application.
Transport layer for Multi Channel endpoint functionality.
struct _TX_STATUS_TYPE_ TX_STATUS_TYPE
uint32_t cc_wake_up_config_get_default_sleep_time_sec(void)
Used by the WakeUp Command Class configuration Returns with the default sleep time in second between ...
void CC_WakeUp_notification_tx(void(*pCallback)(uint8_t txStatus, TX_STATUS_TYPE *pExtendedTxStatus))
uint32_t cc_wake_up_config_get_maximum_sleep_time_sec(void)
Used by the WakeUp Command Class configuration Returns with the maximum sleep time in second between ...
uint32_t cc_wake_up_config_get_sleep_step_time_sec(void)
Used by the WakeUp Command Class configuration Returns with the sleep step time in second.
uint32_t cc_wake_up_config_get_minimum_sleep_time_sec(void)
Used by the WakeUp Command Class configuration Returns with the minimum sleep time in second between ...
Definition CC_WakeUp.h:69
uint32_t SleepPeriod
Definition CC_WakeUp.h:71
uint8_t MasterNodeId
Definition CC_WakeUp.h:70