BLE_GAP_TrafficUnlock

C

uint16_t BLE_GAP_TrafficUnlock(void);

Description

Unlocks BLE data traffic.

Note

The BLE stack will lock data traffic when BLE_GAP_EnableOneTimeAdv is called and a connection is established automatically. The application should call this function to unlock BLE data traffic after all necessary BLE modules have been initialized.

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully unlocks BLE data traffic.
MBA_RES_OOMInternal memory allocation failure occurred.