Zigbee Protocol Controller 1.6.0
gateway_sleepy_queue.h
Go to the documentation of this file.
1/******************************************************************************
2 * # License
3 * <b>Copyright 2020 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 *****************************************************************************/
22#ifndef ZIGPC_GATEWAY_SLEEPY_QUEUE_H
23#define ZIGPC_GATEWAY_SLEEPY_QUEUE_H
24
25#include "zigpc_common_zigbee.h"
26#include "zigpc_gateway_int.h"
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
32//Max retries when attempting to send a sleepy messages
33const unsigned int MAX_SLEEPY_RETRIES = 64;
34
35typedef struct {
41
51
66 gateway_frame_t *frame);
67
79
80#ifdef __cplusplus
81}
82#endif
83
84#endif //ZIGPC_GATEWAY_SLEEPY_QUEUE_H
85
uint32_t sl_status_t
Definition: sl_status.h:139
uint8_t zigbee_eui64_t[ZIGBEE_EUI64_SIZE]
Zigbee Device EUI64 ID.
Definition: zigpc_common_zigbee.h:193
uint16_t zcl_cluster_id_t
A representation of the endpoint cluster id used in ZCL.
Definition: zigpc_common_zigbee.h:254
uint8_t zigbee_endpoint_id_t
A representation of the endpoint id used on the Zigbee protocol.
Definition: zigpc_common_zigbee.h:248
const unsigned int MAX_SLEEPY_RETRIES
Definition: gateway_sleepy_queue.h:33
sl_status_t zigpc_gateway_retrieve_sleepy_frame(const zigbee_eui64_t eui64, gateway_frame_t *frame)
zigpc_gateway_retrieve_sleepy_frame Retrieve the next frame destined for a sleepy device Frames are r...
sl_status_t zigpc_gateway_store_sleepy_frame(gateway_frame_t frame)
zigpc_gateway_store_sleepy_frame Stores a new ZCL frame destined to a sleepy end device
unsigned int zigpc_gateway_retrieve_num_stored(const zigbee_eui64_t eui64)
zigpc_gateway_retrieve_num_stored Retrieves the number of stored messages for a given sleepy device
Definition: gateway_sleepy_queue.h:35
zcl_frame_t frame
Definition: gateway_sleepy_queue.h:39
zcl_cluster_id_t cluster_id
Definition: gateway_sleepy_queue.h:38
zigbee_endpoint_id_t endpoint_id
Definition: gateway_sleepy_queue.h:37
zigbee_eui64_t eui64
Definition: gateway_sleepy_queue.h:36
Definition: zigpc_common_zigbee.h:293