How to overrride defines in from "esp_nimble_cfg.h" ?
Posted: Thu Feb 02, 2023 9:17 am
Hello,
I am developing an BLE Peripheral app with esp32c3 controller and nimble bluetooth stack.
I want to use Device Information Service with some of its characteristics.
These characteristics are enabled by setting the variables such as etc. By default these defines are NULL and The DIS is added without these characteristics.
I read in the nimble documentation that with a newt tool these variables can be set (https://mynewt.apache.org/latest/os/mod ... ynewt_val_)
But this is not possible when nimble is used with esp-idf build system(?)
can someone please tell me how can I define MYNEWT_VAL_* defines in application without modifying the esp-idf files (esp_nimble_cfg.h).
Thank you
I am developing an BLE Peripheral app with esp32c3 controller and nimble bluetooth stack.
I want to use Device Information Service with some of its characteristics.
These characteristics are enabled by setting the variables such as
Code: Select all
MYNEWT_VAL_BLE_SVC_DIS_FIRMWARE_REVISION_READ_PERM
I read in the nimble documentation that with a newt tool these variables can be set (https://mynewt.apache.org/latest/os/mod ... ynewt_val_)
But this is not possible when nimble is used with esp-idf build system(?)
can someone please tell me how can I define MYNEWT_VAL_* defines in application without modifying the esp-idf files (esp_nimble_cfg.h).
Thank you