TI BLE-Stack for Bluetooth 4.2 API Documentation
3.01.00.07
|
Typedefs | |
typedef void(* | pfnPairStateCB_t) (uint16 connectionHandle, uint8 state, uint8 status) |
Pairing State Callback Function. More... | |
typedef void(* | pfnPasscodeCB_t) (uint8 *deviceAddr, uint16 connectionHandle, uint8 uiInputs, uint8 uiOutputs, uint32 numComparison) |
Passcode and Numeric Comparison Callback Function. More... | |
These are functions whose pointers are passed from the application to the GAPBondMgr so that the GAPBondMgr can send events to the application
typedef void(* pfnPairStateCB_t) (uint16 connectionHandle, uint8 state, uint8 status) |
Pairing State Callback Function.
This callback returns the current pairing state to the application whenever the state changes and the current status of the pairing or bonding process associated with the current state
connectionHandle | connection handle of current pairing process |
state | GAP Bond Manager Pairing States |
status | pairing status |
typedef void(* pfnPasscodeCB_t) (uint8 *deviceAddr, uint16 connectionHandle, uint8 uiInputs, uint8 uiOutputs, uint32 numComparison) |
Passcode and Numeric Comparison Callback Function.
This callback returns to the application the peer device information when a passcode is requested during the paring process or when numeric comparison is used
deviceAddr | Pointer to 6-byte device address which the current pairing process relates to |
connectionHandle | Connection handle of the current pairing process |
uiInputs | if TRUE, the local device should accept a passcode input. |
uiOutputs | if TRUE, the local device should display the passcode. |
numComparison | If this is a nonzero value, then it is the code that should be displayed for numeric comparison pairing. If this is zero, then passcode pairing is occurring. |