Conditionally compile code for specific roles.

This allows NimBLE options in menuconfig to reduce code size based on
the roles selected (scan/advertising/central/peripheral).

Significant code space can be saved by removing unnecessary roles for the application.
This commit is contained in:
h2zero committed 2020-05-13 22:03:56 -06:00
1 parent 3d6f8b691e
commit 03cb7b21d9
53 files changed
+2335 -2012

No files matched your search

+3 -3
View File
@@ -3,7 +3,7 @@
*
* Created: on Feb 22 2020
* Author H2zero
*
*
* Originally:
*
* BLESecurity.h
@@ -12,8 +12,8 @@
* Author: chegewara
*/
/** This class exists for backward compatibility - Should not be used in new code
* See the security functions in NimBLEDevice and callbacks in NimBLEServer / NimBLEClient
/** This class exists for backward compatibility - Should not be used in new code
* See the security functions in NimBLEDevice and callbacks in NimBLEServer / NimBLEClient
*/
#ifndef COMPONENTS_NIMBLESECURITY_H_