BLE-Stack APIs  3.00.01
simple_np_gap.h
Go to the documentation of this file.
1 /******************************************************************************
2 
3  @file simple_np_gap.h
4 
5  @brief This file contains the parsing of GAP related command for the
6  Simple BLE Peripheral sample application, for use with the
7  CC2650 Bluetooth Low Energy Protocol Stack.
8 
9  Group: WCS, BTS
10  $Target Device: DEVICES $
11 
12  ******************************************************************************
13  $License: BSD3 2015 $
14  ******************************************************************************
15  $Release Name: PACKAGE NAME $
16  $Release Date: PACKAGE RELEASE DATE $
17  *****************************************************************************/
61 #ifndef SIMPLEBLEPROCESSOR_GAP_H
62 #define SIMPLEBLEPROCESSOR_GAP_H
63 
64 #ifdef __cplusplus
65 extern "C"
66 {
67 #endif
68 
69 /*********************************************************************
70  * INCLUDES
71  */
72 
73 /*********************************************************************
74 * EXTERNAL VARIABLES
75 */
76 
77 /*********************************************************************
78  * CONSTANTS
79  */
80 
81 /*********************************************************************
82  * MACROS
83  */
84 
85 /*********************************************************************
86  * FUNCTIONS
87  */
88 
164 uint8_t SNP_startAdv(snpStartAdvReq_t* cmdStartAdv);
165 
201 uint8_t SNP_stopAdv( void );
202 
267 uint8_t SNP_setAdvData(snpSetAdvDataReq_t *cmdData, uint8_t len);
336 
382 uint8_t SNP_terminateConn( snpTermConnReq_t* cmdStruct);
383 
426 uint8_t SNP_setGapParam( snpSetGapParamReq_t* cmdStruct);
427 
470 uint8_t SNP_getGapParam( snpGetGapParamReq_t* cmdStruct);
471 
516 
557 
601 uint8_t SNP_sendSecurityRequest(void);
602 
647 /*********************************************************************
648 *********************************************************************/
649 
650 #ifdef __cplusplus
651 }
652 #endif
653 
654 #endif /* SIMPLEBLEPROCESSOR_H */
655  // end of SNP
Parameter Structure for SNP_updateConnParam.
Definition: snp.h:706
uint8_t SNP_setSecurityParams(snpSetSecParamReq_t *pReq)
SNP Set Security Parameters.
Parameter Structure for SNP_setAuthenticationData / SNP_SET_AUTHENTICATION_DATA_REQ.
Definition: snp.h:813
uint8_t SNP_stopAdv(void)
SNP Stop Advertisement.
uint8_t SNP_startAdv(snpStartAdvReq_t *cmdStartAdv)
SNP Start Advertisement.
uint8_t SNP_setAuthenticationData(snpSetAuthDataReq_t *pReq)
SNP Set Authentication Data.
uint8_t SNP_updateConnParam(snpUpdateConnParamReq_t *cmdData)
SNP Update Connection Parameters.
uint8_t SNP_setGapParam(snpSetGapParamReq_t *cmdStruct)
SNP Set GAP Parameter.
Parameter Structure for SNP_setWhiteListFilterPolicy / SNP_SET_WHITE_LIST_POLICY_REQ.
Definition: snp.h:1317
uint8_t SNP_terminateConn(snpTermConnReq_t *cmdStruct)
SNP Terminate Connection.
uint8_t SNP_sendSecurityRequest(void)
SNP Send Security Request.
uint8_t SNP_getGapParam(snpGetGapParamReq_t *cmdStruct)
SNP Get GAP Parameter.
Parameter Structure for SNP_setGapParam / SNP_SET_GAP_PARAM_REQ.
Definition: snp.h:780
Connection Termination Request Structure.
Definition: snp.h:693
Parameter Structure for SNP_startAdv.
Definition: snp.h:653
Parameter Structure for SNP_setAdvData.
Definition: snp.h:678
uint8_t SNP_setAdvData(snpSetAdvDataReq_t *cmdData, uint8_t len)
SNP Set Advertisement Data.
uint8_t SNP_setWhiteListFilterPolicy(snpSetWhiteListReq_t *pReq)
SNP Set White List Filter Policy.
Copyright 2017, Texas Instruments Incorporated