mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-29 05:10:04 +00:00
host: include own header(s)
This commit is contained in:
committed by
Szymon Janc
parent
5edbd1dba3
commit
a9e4b68d45
@@ -64,7 +64,7 @@ struct ble_hs_stop_listener {
|
||||
* BLE_HS_EALREADY: Host already stopped; the
|
||||
* provided callback does *not* get called.
|
||||
*/
|
||||
int ble_hs_stop(struct ble_hs_stop_listener *listener,
|
||||
int ble_hs_stop(struct ble_hs_stop_listener *listener,
|
||||
ble_hs_stop_fn *fn, void *arg);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <stddef.h>
|
||||
#include <errno.h>
|
||||
#include "ble_hs_priv.h"
|
||||
#include "host/ble_att.h"
|
||||
|
||||
#if NIMBLE_BLE_CONNECT
|
||||
static uint16_t ble_att_preferred_mtu_val;
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include "os/os.h"
|
||||
#include "host/ble_att.h"
|
||||
#include "nimble/ble.h"
|
||||
#include "host/ble_uuid.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
@@ -21,9 +21,11 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include "nimble/nimble_opt.h"
|
||||
#include "host/ble_gap.h"
|
||||
#include "host/ble_hs_adv.h"
|
||||
#include "host/ble_hs_hci.h"
|
||||
#include "ble_hs_priv.h"
|
||||
#include "ble_gap_priv.h"
|
||||
|
||||
#if MYNEWT
|
||||
#include "bsp/bsp.h"
|
||||
|
||||
@@ -56,6 +56,7 @@
|
||||
#include <string.h>
|
||||
#include "os/os_mempool.h"
|
||||
#include "nimble/ble.h"
|
||||
#include "host/ble_gatt.h"
|
||||
#include "host/ble_uuid.h"
|
||||
#include "host/ble_gap.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "nimble/ble.h"
|
||||
#include "host/ble_gatt.h"
|
||||
#include "host/ble_uuid.h"
|
||||
#include "host/ble_store.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include "host/ble_gatt.h"
|
||||
#include "host/ble_uuid.h"
|
||||
#include "console/console.h"
|
||||
#include "nimble/ble.h"
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#include "syscfg/syscfg.h"
|
||||
#include "stats/stats.h"
|
||||
#include "nimble/ble_hci_trans.h"
|
||||
#include "host/ble_hs.h"
|
||||
#include "ble_hs_priv.h"
|
||||
#include "ble_monitor_priv.h"
|
||||
#include "nimble/nimble_npl.h"
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include "os/os.h"
|
||||
#include "host/ble_hs.h"
|
||||
#include "host/ble_hs_log.h"
|
||||
|
||||
struct log ble_hs_log;
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "host/ble_hs.h"
|
||||
#include "host/ble_hs_mbuf.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include "sysinit/sysinit.h"
|
||||
#include "syscfg/syscfg.h"
|
||||
#include "ble_hs_priv.h"
|
||||
#include "host/ble_hs_stop.h"
|
||||
#include "nimble/nimble_npl.h"
|
||||
#ifndef MYNEWT
|
||||
#include "nimble/nimble_port.h"
|
||||
@@ -217,7 +218,7 @@ ble_hs_stop_begin(struct ble_hs_stop_listener *listener,
|
||||
}
|
||||
|
||||
int
|
||||
ble_hs_stop(struct ble_hs_stop_listener *listener,
|
||||
ble_hs_stop(struct ble_hs_stop_listener *listener,
|
||||
ble_hs_stop_fn *fn, void *arg)
|
||||
{
|
||||
int rc;
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <string.h>
|
||||
#include "host/ble_hs_adv.h"
|
||||
#include "host/ble_ibeacon.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
#define BLE_IBEACON_MFG_DATA_SIZE 25
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <errno.h>
|
||||
#include "syscfg/syscfg.h"
|
||||
#include "os/os.h"
|
||||
#include "host/ble_l2cap.h"
|
||||
#include "nimble/ble.h"
|
||||
#include "nimble/hci_common.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
Reference in New Issue
Block a user