#ifndef _KK_ZIGBEE_MAP_H_
#define _KK_ZIGBEE_MAP_H_
#include "RPC_API.h"
#include "kk_tsl_common.h"

#define PROPERTIES_MAX_NUM 20

typedef int (*zigbee_property_set)(jrpc_context * ctx,const char *mac,void* data);
//typedef int (*zigbee_property_report)(EmberEUI64 mac,bool LightStatus,uint16_t clusterId,uint16_t attributeId);

typedef struct{
	int type;
	char* Identity;
	zigbee_property_set zigbee_set;
	unsigned short clusterId;
	unsigned short attributeId;
	//zigbee_property_report zigbee_report;
}kk_zigbee_ctrl_map_t;

typedef struct{
	char *productCode;
	int num;
	kk_zigbee_ctrl_map_t  zigbee_ctrl[PROPERTIES_MAX_NUM];
}kk_tsl_zigbee_map_t;

#endif
