mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-18 07:37:54 +00:00
ble_mesh: Clean up included header files
This commit is contained in:
@@ -12,11 +12,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "mesh_types.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "device_property.h"
|
||||
|
||||
|
@@ -6,24 +6,11 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "osi/mutex.h"
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh_common.h"
|
||||
#include "mesh.h"
|
||||
#include "access.h"
|
||||
#include "model_opcode.h"
|
||||
#include "transport.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "model_opcode.h"
|
||||
#include "state_transition.h"
|
||||
#include "device_property.h"
|
||||
|
||||
|
@@ -17,10 +17,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "mesh_buf.h"
|
||||
#include "mesh_access.h"
|
||||
#include "mesh_kernel.h"
|
||||
|
||||
#define BLE_MESH_SERVER_RSP_MAX_LEN 384
|
||||
|
||||
|
@@ -9,6 +9,8 @@
|
||||
#ifndef _STATE_BINDING_H_
|
||||
#define _STATE_BINDING_H_
|
||||
|
||||
#include "mesh_access.h"
|
||||
|
||||
typedef enum {
|
||||
GENERIC_ONOFF_STATE,
|
||||
GENERIC_LEVEL_STATE,
|
||||
|
@@ -11,6 +11,7 @@
|
||||
|
||||
#include "server_common.h"
|
||||
#include "generic_server.h"
|
||||
#include "sensor_server.h"
|
||||
#include "lighting_server.h"
|
||||
#include "time_scene_server.h"
|
||||
|
||||
|
@@ -15,8 +15,6 @@
|
||||
#ifndef _TIME_SCENE_SERVER_H_
|
||||
#define _TIME_SCENE_SERVER_H_
|
||||
|
||||
#include "mesh_slist.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "server_common.h"
|
||||
|
||||
/**
|
||||
|
@@ -6,21 +6,11 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "osi/mutex.h"
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh.h"
|
||||
#include "access.h"
|
||||
#include "transport.h"
|
||||
#include "model_opcode.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "state_transition.h"
|
||||
#include "device_property.h"
|
||||
|
||||
|
@@ -12,22 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh.h"
|
||||
#include "access.h"
|
||||
#include "model_opcode.h"
|
||||
#include "transport.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "model_opcode.h"
|
||||
#include "state_transition.h"
|
||||
#include "sensor_server.h"
|
||||
#include "device_property.h"
|
||||
|
||||
#include "btc_ble_mesh_sensor_model.h"
|
||||
|
@@ -12,22 +12,13 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "osi/allocator.h"
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh.h"
|
||||
#include "access.h"
|
||||
#include "model_opcode.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "state_transition.h"
|
||||
#include "mesh_common.h"
|
||||
#include "generic_server.h"
|
||||
#include "lighting_server.h"
|
||||
|
||||
/**
|
||||
* According to Mesh Model Spec:
|
||||
|
@@ -6,22 +6,11 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh.h"
|
||||
|
||||
#include "model_opcode.h"
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "state_transition.h"
|
||||
#include "generic_server.h"
|
||||
#include "lighting_server.h"
|
||||
|
||||
#define MINDIFF (2.25e-308)
|
||||
|
||||
|
@@ -6,22 +6,8 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh.h"
|
||||
#include "model_opcode.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "state_transition.h"
|
||||
#include "generic_server.h"
|
||||
#include "lighting_server.h"
|
||||
#include "time_scene_server.h"
|
||||
|
||||
#include "btc_ble_mesh_generic_model.h"
|
||||
#include "btc_ble_mesh_lighting_model.h"
|
||||
|
@@ -12,24 +12,12 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#include <string.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "osi/mutex.h"
|
||||
|
||||
#include "mesh_types.h"
|
||||
#include "mesh_kernel.h"
|
||||
#include "mesh_trace.h"
|
||||
#include "mesh.h"
|
||||
#include "access.h"
|
||||
#include "model_opcode.h"
|
||||
#include "transport.h"
|
||||
|
||||
#include "server_common.h"
|
||||
#include "state_binding.h"
|
||||
#include "model_opcode.h"
|
||||
#include "state_transition.h"
|
||||
#include "time_scene_server.h"
|
||||
|
||||
#include "btc_ble_mesh_time_scene_model.h"
|
||||
|
||||
|
Reference in New Issue
Block a user