#ifndef __SUB_DEVICE_MANAGE_H
#define __SUB_DEVICE_MANAGE_H

#include "kk_device_manager.h"
#include "kk_device_table_db.h"




typedef enum {
	ColorMode_HSL					= 0x00,
	ColorMode_XY					= 0x01,
	ColorMode_Temperature			= 0x02
}ColorModeAttrVal;

typedef enum{
	DevManage_Unkown				= 0x00,
	DevManage_Success				= 0x01,
	DevManage_NotSupport			= 0x02,
	DevManage_Fail					= 0x03,
}DevManageAttrEnum;




void kk_colorlight_attr_read(uint16_t nodeId,
							uint8_t ep,
							uint16_t cluster,
							uint16_t attribute,
							uint8_t status,
							uint8_t dataType,
							uint8_t dataSize,
							uint8_t *data);
void kk_ColorLighting_manage(kk_device_table_s* dev);























#endif

