How to customize NimBLE configs with `MYNEWT_` prefix?

User avatar
Tnze__
Posts: 2
Joined: Sat Nov 02, 2024 6:16 am

How to customize NimBLE configs with `MYNEWT_` prefix?

Postby Tnze__ » Sat Nov 02, 2024 6:26 am

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?


Who is online

Users browsing this forum: No registered users and 121 guests