NimBLE-Arduino
NimBLE-Arduino copied to clipboard
CONFIG_BT_NIMBLE_ROLE_PERIPHERAL incorrectly disables NimBLEServer
CONFIG_BT_NIMBLE_ROLE_PERIPHERAL disables NimBLEServer, but it is ok to have GATT Server on Central device.
If you are needing to support GATT on your client device then you are operating in a peripheral role so it should not be disabled.