NimBLE_Security sample
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define COMMON_H
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "esp_log.h"
#include "esp_random.h"
#include "nvs_flash.h"
#include "sdkconfig.h"
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include "host/ble_hs.h"
#include "host/ble_uuid.h"
#include "host/util/util.h"
#include "nimble/ble.h"
#include "nimble/nimble_port.h"
#include "nimble/nimble_port_freertos.h"
#define TAG
#define DEVICE_NAME
Files
loading (2/4)...
SourceVu
ESP-IDF Framework and Examples
NimBLE_Security sample
main/include/common.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
32
33
34
35
36
37
38
/*
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
/* ... */
#ifndef
COMMON_H
#define
COMMON_H
/* Includes */
/* STD APIs */
#include
<
assert.h>
#include
<
stdbool.h>
#include
<
stdio.h>
#include
<
string.h>
/* ESP APIs */
#include
"
esp_log.h"
#include
"
esp_random.h"
#include
"
nvs_flash.h"
#include
"
sdkconfig.h"
/* FreeRTOS APIs */
#include
<
freertos
/
FreeRTOS.h>
#include
<
freertos
/
task.h>
/* NimBLE stack APIs */
#include
"
host
/
ble_hs.h"
#include
"
host
/
ble_uuid.h"
#include
"
host
/
util
/
util.h"
#include
"
nimble
/
ble.h"
#include
"
nimble
/
nimble_port.h"
#include
"
nimble
/
nimble_port_freertos.h"
16 includes
/* Defines */
#define
TAG
"NimBLE_Security"
#define
DEVICE_NAME
"NimBLE_SEC"
/* ... */
#endif
// COMMON_H
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.
TAG
DEVICE_NAME
COMMON_H