ble_mesh: Clean up included header files

This commit is contained in:
lly
2020-01-08 13:58:36 +08:00
committed by baohongde
parent db3fa3a100
commit 787ee04a5d
108 changed files with 128 additions and 535 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -9,6 +9,8 @@
#ifndef _STATE_BINDING_H_
#define _STATE_BINDING_H_
#include "mesh_access.h"
typedef enum {
GENERIC_ONOFF_STATE,
GENERIC_LEVEL_STATE,

View File

@@ -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"

View File

@@ -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"
/**

View File

@@ -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"

View File

@@ -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"

View File

@@ -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:

View File

@@ -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)

View File

@@ -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"

View File

@@ -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"