Gap Bond Manager (GAPBondMgr)
www.ti.com
44
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
The Bluetooth Low Energy Protocol Stack
This passcode communication with the GAPBondMgr uses a passcode callback function when registering
with GAPBondMgr. You must add a passcode function to the GAPBondMgr application callbacks. The
following is an example of a passcode function.
When the GAPBondMgr requires a passcode, the GAPBondMgr use the following callback to request a
passcode from the application. Depending on the input and output capabilities of the devices, the callback
function should either display a passcode or read in an entered passcode. This passcode must be sent by
the application to the GAPBondMgr using the GAPBondMgr_PasscodeRsp() function. The following is an
example of the SimpleBLECentral.
In the previous example, a random password is generated and displayed on an LCD screen by the
passcode callback function. The other connected device must then enter this passcode.
5.4.3.5 Authenticated Pairing With Bonding Enabled
After pairing and encrypting with MITM authentication, bonding occurs similarly as described in
Section 5.4.3.3.