BLE_L2CAP_CbPauseAuthorization

C

uint16_t BLE_L2CAP_CbPauseAuthorization(uint16_t spsm, bool enable);

Description

Pause or resume authorization in specific SPSM.

Note

All SPSMs are all authorized as default. Use this API to pause the authorization if required.

Parameters

ParameterDescription
[in] spsmSimplified Protocol/Service Multiplexer.
[in] enableSet true to pause the authorization (unauthorized). Otherwise, authorized.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully configure the SPSM.
MBA_RES_INVALID_PARAUnknown SPSM.