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
| Parameter | Description | 
|---|---|
| [in] spsm | Simplified Protocol/Service Multiplexer. | 
| [in] enable | Set true to pause the authorization (unauthorized). Otherwise, authorized. | 
Return values
| Return value | Description | 
|---|---|
| MBA_RES_SUCCESS | Successfully configure the SPSM. | 
| MBA_RES_INVALID_PARA | Unknown SPSM. | 
