component/bt : modify header files to avoid conflict

1. add the L1 include path with a prefix, such like osi/list.h, stack/a2d_api.h and etc.
2. modify component, only bluedroid/api/include/api is export to another component and application,
   other include path just for bluedroid used
3. put bluedroid/include into common/include/common, so the root directory of bluedroid have no include path.
4. modify doxygen to use esp_bt.h and redirect to
component/bt/bluedroid/api/include/api/

fix compile
This commit is contained in:
Tian Hao
2018-04-08 12:10:50 +08:00
parent 0236592fe5
commit adada3f67e
394 changed files with 1821 additions and 1810 deletions

View File

@@ -21,20 +21,20 @@
* This file contains functions for the SMP L2CAP utility functions
*
******************************************************************************/
#include "bt_target.h"
#include "common/bt_target.h"
#if SMP_INCLUDED == TRUE
#include "bt_types.h"
#include "stack/bt_types.h"
//#include "bt_utils.h"
#include <string.h>
//#include <ctype.h>
#include "hcidefs.h"
#include "btm_ble_api.h"
#include "l2c_api.h"
#include "stack/hcidefs.h"
#include "stack/btm_ble_api.h"
#include "stack/l2c_api.h"
#include "l2c_int.h"
#include "smp_int.h"
#include "controller.h"
#include "device/controller.h"
#include "btm_int.h"
#define SMP_PAIRING_REQ_SIZE 7