ble_mesh: stack: Introduce a new header file mesh_config.h

This commit is contained in:
lly 2020-10-16 09:22:29 +08:00
parent 4f74fd9e95
commit 73733396cd
5 changed files with 34 additions and 4 deletions

View File

@ -11,7 +11,7 @@
#ifndef _BLE_MESH_BUF_H_
#define _BLE_MESH_BUF_H_
#include "sdkconfig.h"
#include "mesh_config.h"
#include "mesh_slist.h"
#include "mesh_compiler.h"

View File

@ -0,0 +1,30 @@
// Copyright 2020-2021 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#ifndef _BLE_MESH_CONFIG_H_
#define _BLE_MESH_CONFIG_H_
#include "sdkconfig.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
#endif /* _BLE_MESH_CONFIG_H_ */

View File

@ -13,7 +13,7 @@
#include "freertos/queue.h"
#include "freertos/semphr.h"
#include "sdkconfig.h"
#include "mesh_config.h"
#include "mesh_types.h"
#ifdef __cplusplus

View File

@ -11,7 +11,7 @@
#ifndef _BLE_MESH_ACCESS_H_
#define _BLE_MESH_ACCESS_H_
#include "sdkconfig.h"
#include "mesh_config.h"
#include "mesh_buf.h"
#include "mesh_timer.h"

View File

@ -10,7 +10,7 @@
#define _BLE_MESH_BEARER_ADAPT_H_
#include <sys/types.h>
#include "sdkconfig.h"
#include "mesh_config.h"
#include "mesh_types.h"
#include "mesh_util.h"
#include "mesh_uuid.h"