Welcome to mirror list, hosted at ThFree Co, Russian Federation.

zcl.nearest.gw.h « zcl « include « stack « zigbee « STM32_WPAN « ST « Middlewares - github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bb2f2a3279fd9283798fae4d861a4e2d37cdb432 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright [2019 - 2019] Exegin Technologies Limited. All rights reserved. */

/*--------------------------------------------------------------------------
 *  DESCRIPTION
 *      Interface definition for the Nearest Gateway cluster.
 *--------------------------------------------------------------------------
 */

#ifndef ZCL_NEAREST_GW_H
#define ZCL_NEAREST_GW_H

#include "zcl/zcl.h"

/* Attribute Identifiers */
enum {
    ZCL_NEAREST_GW_ATTR_NEAREST_GW = 0x0000,
    ZCL_NEAREST_GW_ATTR_NEW_MOBILE_NODE = 0x0001,
};

#define ZCL_NEAREST_GW_DEFAULT_NEAREST_GW             0x0000
#define ZCL_NEAREST_GW_DEFAULT_NEW_MOBILE_NODE        0x0000

/* Allocation Functions */
struct ZbZclClusterT * ZbZclNearestGwClientAlloc(struct ZigBeeT *zb, uint8_t endpoint);
struct ZbZclClusterT * ZbZclNearestGwServerAlloc(struct ZigBeeT *zb, uint8_t endpoint);

#endif /* ZCL_NEAREST_GW_H */