Page 1 of 1

How to customize NimBLE configs with `MYNEWT_` prefix?

Posted: Sat Nov 02, 2024 6:26 am
by Tnze__
I'm using NimBLE to create a BLE server with DIS service. It turns out that I have to enable following configs to have all characteristics in DIS.
  • MYNEWT_VAL_BLE_SVC_DIS_FIRMWARE_REVISION_READ_PERM
  • MYNEWT_VAL_BLE_SVC_DIS_HARDWARE_REVISION_READ_PERM
  • MYNEWT_VAL_BLE_SVC_DIS_SOFTWARE_REVISION_READ_PERM
  • MYNEWT_VAL_BLE_SVC_DIS_MANUFACTURER_NAME_READ_PERM
But these configs are defined in "esp-idf\components\bt\host\nimble\port\include\esp_nimble_cfg.h", which (in my opinion) should not be modified directly.
What should I do?

Re: How to customize NimBLE configs with `MYNEWT_` prefix?

Posted: Thu Nov 14, 2024 4:11 am
by Tnze__