mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-08-24 19:00:00 +00:00
BLE Host - Add missing #include.
X-Original-Commit: e51ce9de50b2950273b1db79e26e43e01b0082b0
This commit is contained in:
@@ -99,6 +99,7 @@ typedef union {
|
||||
#define BLE_UUID128(u) \
|
||||
((ble_uuid128_t *) (u))
|
||||
|
||||
/** Includes trailing \0. */
|
||||
#define BLE_UUID_STR_LEN (37)
|
||||
|
||||
int ble_uuid_init_from_buf(ble_uuid_any_t *uuid, const void *buf, size_t len);
|
||||
@@ -106,6 +107,8 @@ int ble_uuid_cmp(const ble_uuid_t *uuid1, const ble_uuid_t *uuid2);
|
||||
char *ble_uuid_to_str(const ble_uuid_t *uuid, char *dst);
|
||||
uint16_t ble_uuid_u16(const ble_uuid_t *uuid);
|
||||
|
||||
int ble_uuid_to_s(char *dst, int dst_sz, const void *uuid128);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include "os/os_mbuf.h"
|
||||
#include "nimble/ble.h"
|
||||
#include "ble_hs_priv.h"
|
||||
|
||||
Reference in New Issue
Block a user