Skip to content

Commit ed78b0c

Browse files
author
Sean Lyons
committed
Merge pull request #71 in SA/ble_examples from bugfix/lprfapps-893 to develop
Squashed commit of the following: commit 2a163bbe6275fa41896801132dd564c105c6ad85 Author: Sean Lyons <a0225155@ti.com> Date: Tue Jan 2 16:55:54 2018 -0800 Add back #define, use it when not bonded See: LPRFAPPS-893 commit 8dc699c78f8eff3a43c30c748f4af360c0e89e5d Author: Sean Lyons <a0225155@ti.com> Date: Tue Jan 2 09:04:08 2018 -0800 Use whitelist param for establish link fxn See LPRFAPPS-893
1 parent 2460429 commit ed78b0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/rtos/CC2640R2_LAUNCHXL/bleapps/central_bidirectional_audio/src/app/central_bidirectional_audio.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,8 @@ static void CentralAudio_processRoleEvent(gapCentralRoleEvent_t *pEvent)
728728
if ( peerDeviceFound == TRUE )
729729
{
730730

731-
CentralAudio_EstablishLink( FALSE, addrType, peerAddr );
731+
CentralAudio_EstablishLink( DEFAULT_LINK_WHITE_LIST, addrType,
732+
peerAddr );
732733

733734
peerDeviceFound = FALSE;
734735
scanRes = 0;
@@ -1459,7 +1460,7 @@ static void CentralAudio_EstablishLink( uint8_t whiteList, uint8_t addrType,
14591460

14601461
// Try to connect to remote device
14611462
GAPCentralRole_EstablishLink(DEFAULT_LINK_HIGH_DUTY_CYCLE,
1462-
DEFAULT_LINK_WHITE_LIST,
1463+
whiteList,
14631464
addrType, peerAddr);
14641465
}
14651466
}

0 commit comments

Comments
 (0)