ble_mesh: stack: Move device property to model common part
This commit is contained in:
parent
7d8d841659
commit
aa329b08ce
5 changed files with 3 additions and 3 deletions
|
@ -371,12 +371,12 @@ if(CONFIG_BT_ENABLED)
|
|||
"esp_ble_mesh/mesh_core/settings.c"
|
||||
"esp_ble_mesh/mesh_core/test.c"
|
||||
"esp_ble_mesh/mesh_core/transport.c"
|
||||
"esp_ble_mesh/mesh_models/common/device_property.c"
|
||||
"esp_ble_mesh/mesh_models/client/client_common.c"
|
||||
"esp_ble_mesh/mesh_models/client/generic_client.c"
|
||||
"esp_ble_mesh/mesh_models/client/lighting_client.c"
|
||||
"esp_ble_mesh/mesh_models/client/sensor_client.c"
|
||||
"esp_ble_mesh/mesh_models/client/time_scene_client.c"
|
||||
"esp_ble_mesh/mesh_models/server/device_property.c"
|
||||
"esp_ble_mesh/mesh_models/server/generic_server.c"
|
||||
"esp_ble_mesh/mesh_models/server/lighting_server.c"
|
||||
"esp_ble_mesh/mesh_models/server/sensor_server.c"
|
||||
|
|
|
@ -156,6 +156,7 @@ COMPONENT_SRCDIRS += esp_ble_mesh/mesh_common \
|
|||
esp_ble_mesh/mesh_core \
|
||||
esp_ble_mesh/mesh_core/storage \
|
||||
esp_ble_mesh/btc \
|
||||
esp_ble_mesh/mesh_models/common \
|
||||
esp_ble_mesh/mesh_models/client \
|
||||
esp_ble_mesh/mesh_models/server \
|
||||
esp_ble_mesh/api/core \
|
||||
|
|
|
@ -213,6 +213,7 @@ extern "C" {
|
|||
/**
|
||||
* @brief BLE Mesh Device Property IDs
|
||||
*/
|
||||
#define BLE_MESH_INVALID_DEVICE_PROPERTY_ID 0x0000
|
||||
#define BLE_MESH_AVERAGE_AMBIENT_TEMPERATURE_IN_A_PERIOD_OF_DAY 0x0001
|
||||
#define BLE_MESH_AVERAGE_INPUT_CURRENT 0x0002
|
||||
#define BLE_MESH_AVERAGE_INPUT_VOLTAGE 0x0003
|
|
@ -53,8 +53,6 @@ extern "C" {
|
|||
#define BLE_MESH_UNKNOWN_REMAIN_TIME 0x3F
|
||||
#define BLE_MESH_DEVICE_SPECIFIC_RESOLUTION 10
|
||||
|
||||
#define BLE_MESH_INVALID_DEVICE_PROPERTY_ID 0x0000
|
||||
|
||||
enum {
|
||||
BLE_MESH_TRANS_TIMER_START, /* Proper transition timer has been started */
|
||||
BLE_MESH_TRANS_FLAG_MAX,
|
||||
|
|
Loading…
Reference in a new issue