blob: 73f06b56b28cf4c6b8f8301c934696e01be5adba [file] [log] [blame]
{{> header}}
// Prevent multiple inclusion
#pragma once
#include <stdint.h>
#include <app/util/basic-types.h>
#include <lib/core/GroupId.h>
#include <lib/core/NodeId.h>
#include <lib/support/Span.h>
#include <protocols/interaction_model/Constants.h>
#include "enums.h"
{{#zcl_structs}}
{{#if itemCnt}}
// Struct for {{label}}
typedef struct _{{asType label}} {
{{#zcl_struct_items}}
{{ident}}{{asUnderlyingZclType type}} {{asSymbol label}};
{{/zcl_struct_items}}
} {{asUnderlyingType label}};
{{else}}
// Void typedef for {{asUnderlyingType label}} which is empty.
// this will result in all the references to the data being as uint8_t*
typedef uint8_t {{asUnderlyingType label}};
{{/if}}
{{/zcl_structs}}