BT GATT Server provides the interfaces to use Bluetooth GATT server feature.
Before calling any GATT server function, the Generic Access Profile needs to be initialized (see bt_hal_manager.h and bt_hal_manager_adapter*.h). bt_hal_manager.h give the starting point. After GAP has been initialized, the functions need to be called in that order:
The BT-GATT server interface is represented by BTGattServerInterface_t
The BT-GATT server callbacks can be found here BT-GATT Server Callbacks