libGulliBLE
nimble_host_guard.hpp
Go to the documentation of this file.
1//
2// Created by spak on 11/2/21.
3//
4
5#ifndef LIBGULLIBLE_NIMBLE_HOST_GUARD_HPP
6#define LIBGULLIBLE_NIMBLE_HOST_GUARD_HPP
7
8#include <sdkconfig.h>
9
10#if !defined(CONFIG_BT_ENABLED) || CONFIG_BT_ENABLED == 0
11#error "GulliBLE: config macro CONFIG_BT_ENABLED not found, make sure you enable bluetooth!"
12#endif
13
14#if !defined(CONFIG_BT_NIMBLE_ENABLED) || CONFIG_BT_NIMBLE_ENABLED == 0
15#error "GulliBLE: config macro CONFIG_BT_NIMBLE_ENABLED not found, make sure you enable NimBLE!"
16#endif
17
18#include <host/ble_gap.h>
19#include <host/ble_gatt.h>
20#include <host/ble_uuid.h>
21
26#ifdef min
27#undef min
28#endif
29
30#ifdef max
31#undef max
32#endif
33
34#endif//LIBGULLIBLE_NIMBLE_HOST_GUARD_HPP