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 value | Description |
---|---|
MBA_RES_SUCCESS | Successfully unlocks BLE data traffic. |
MBA_RES_OOM | Internal memory allocation failure occurred. |