Telink BLE SIG Mesh Model定义

// SIG model
#define SIG_MD_CFG_SERVER               0x0000  // for test high byte
#define SIG_MD_CFG_CLIENT               0x0001
#define SIG_MD_HEALTH_SERVER            0x0002
#define SIG_MD_HEALTH_CLIENT            0x0003
#if !DRAFT_FEAT_VD_MD_EN
#define SIG_MD_REMOTE_PROV_SERVER       0x0004
#define SIG_MD_REMOTE_PROV_CLIENT       0x0005
#endif
#define SIG_MD_DF_CFG_S                 0x0006
#define SIG_MD_DF_CFG_C                 0x0007
#define SIG_MD_BRIDGE_CFG_SERVER        0x0008
#define SIG_MD_BRIDGE_CFG_CLIENT        0x0009
#define SIG_MD_PRIVATE_BEACON_SERVER    0x000a
#define SIG_MD_PRIVATE_BEACON_CLIENT    0x000b

#define SIG_MD_ON_DEMAND_PROXY_S        0x000C
#define SIG_MD_ON_DEMAND_PROXY_C        0x000D
#define SIG_MD_SAR_CFG_S                0x000E
#define SIG_MD_SAR_CFG_C                0x000F
#define SIG_MD_OP_AGG_S                 0x0010
#define SIG_MD_OP_AGG_C                 0x0011
#define SIG_MD_LARGE_CPS_S              0x0012
#define SIG_MD_LARGE_CPS_C              0x0013
#define SIG_MD_SOLI_PDU_RPL_CFG_S       0x0014
#define SIG_MD_SOLI_PDU_RPL_CFG_C       0x0015
#define SIG_MD_CMR_S                    0x0016 // CMR draft
#define SIG_MD_CMR_C                    0x0017 // CMR draft

#define SIG_MD_G_ONOFF_S                0x1000
#define SIG_MD_G_ONOFF_C                0x1001
#define SIG_MD_G_LEVEL_S                0x1002
#define SIG_MD_G_LEVEL_C                0x1003
#define SIG_MD_G_DEF_TRANSIT_TIME_S     0x1004
#define SIG_MD_G_DEF_TRANSIT_TIME_C     0x1005
#define SIG_MD_G_POWER_ONOFF_S          0x1006
#define SIG_MD_G_POWER_ONOFF_SETUP_S    0x1007
#define SIG_MD_G_POWER_ONOFF_C          0x1008
#define SIG_MD_G_POWER_LEVEL_S          0x1009
#define SIG_MD_G_POWER_LEVEL_SETUP_S    0x100A
#define SIG_MD_G_POWER_LEVEL_C          0x100B
#define SIG_MD_G_BAT_S                  0x100C
#define SIG_MD_G_BAT_C                  0x100D
#define SIG_MD_G_LOCATION_S             0x100E
#define SIG_MD_G_LOCATION_SETUP_S       0x100F
#define SIG_MD_G_LOCATION_C             0x1010
#define SIG_MD_G_ADMIN_PROP_S           0x1011
#define SIG_MD_G_MFG_PROP_S             0x1012
#define SIG_MD_G_USER_PROP_S            0x1013
#define SIG_MD_G_CLIENT_PROP_S          0x1014
#define SIG_MD_G_PROP_C                 0x1015
// --------
#define SIG_MD_SENSOR_S                 0x1100
#define SIG_MD_SENSOR_SETUP_S           0x1101
#define SIG_MD_SENSOR_C                 0x1102
// --------
#define SIG_MD_TIME_S                   0x1200
#define SIG_MD_TIME_SETUP_S             0x1201
#define SIG_MD_TIME_C                   0x1202
#define SIG_MD_SCENE_S                  0x1203
#define SIG_MD_SCENE_SETUP_S            0x1204
#define SIG_MD_SCENE_C                  0x1205
#define SIG_MD_SCHED_S                  0x1206
#define SIG_MD_SCHED_SETUP_S            0x1207
#define SIG_MD_SCHED_C                  0x1208
// --------
#define SIG_MD_LIGHTNESS_S              0x1300
#define SIG_MD_LIGHTNESS_SETUP_S        0x1301
#define SIG_MD_LIGHTNESS_C              0x1302
#define SIG_MD_LIGHT_CTL_S              0x1303
#define SIG_MD_LIGHT_CTL_SETUP_S        0x1304
#define SIG_MD_LIGHT_CTL_C              0x1305
#define SIG_MD_LIGHT_CTL_TEMP_S         0x1306
#define SIG_MD_LIGHT_HSL_S              0x1307
#define SIG_MD_LIGHT_HSL_SETUP_S        0x1308
#define SIG_MD_LIGHT_HSL_C              0x1309
#define SIG_MD_LIGHT_HSL_HUE_S          0x130A
#define SIG_MD_LIGHT_HSL_SAT_S          0x130B
#define SIG_MD_LIGHT_XYL_S              0x130C
#define SIG_MD_LIGHT_XYL_SETUP_S        0x130D
#define SIG_MD_LIGHT_XYL_C              0x130E
#define SIG_MD_LIGHT_LC_S               0x130F
#define SIG_MD_LIGHT_LC_SETUP_S         0x1310
#define SIG_MD_LIGHT_LC_C               0x1311
//------------------------------- NLC profile ID #define NLC_PROFILE_ID_ALSMP 0x1600 #define NLC_PROFILE_ID_BLCMP 0x1601 #define NLC_PROFILE_ID_BSSMP 0x1602 #define NLC_PROFILE_ID_DICMP 0x1603 #define NLC_PROFILE_ID_ENMMP 0x1604 #define NLC_PROFILE_ID_OCSMP 0x1605

 

posted @ 2025-06-17 08:36  K_Code  阅读(20)  评论(0)    收藏  举报