ESP-IDF
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define H_ESP_PERIPHERAL_
#include <stdbool.h>
#include "nimble/ble.h"
#include "modlog/modlog.h"
scli_init();
scli_receive_key(int *);
print_bytes(const uint8_t *, int);
print_addr(const void *);
addr_str(const void *);
print_mbuf(const struct os_mbuf *);
Files
loading...
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
examples/bluetooth/nimble/common/nimble_peripheral_utils/esp_peripheral.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/* ... */
#ifndef
H_ESP_PERIPHERAL_
#define
H_ESP_PERIPHERAL_
#include
<
stdbool.h>
#include
"
nimble
/
ble.h"
#include
"
modlog
/
modlog.h"
#ifdef
__cplusplus
extern
"C"
{
#endif
/* Console */
int
scli_init
(
void
)
;
int
scli_receive_key
(
int
*
key
)
;
/** Misc. */
void
print_bytes
(
const
uint8_t
*
bytes
,
int
len
)
;
void
print_addr
(
const
void
*
addr
)
;
char
*
addr_str
(
const
void
*
addr
)
;
void
print_mbuf
(
const
struct
os_mbuf
*
om
)
;
#ifdef
__cplusplus
}
{...}
#endif
/* ... */
#endif
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
print_addr()
addr_str()
print_bytes()
print_mbuf()
scli_receive_key()
scli_init()
os_mbuf
print_mbuf()::om
print_bytes()::bytes
print_bytes()::len
print_addr()::addr
addr_str()::addr
scli_receive_key()::key
H_ESP_PERIPHERAL_