TI BLE5-Stack API Documentation
1.01.01.00
|
GAP Attribute Server interface
Go to the source code of this file.
Macros | |
#define | GAP_DEVICE_NAME_LEN 21 |
Length of Device Name Attribute value excluding null-terminate char. | |
#define | GAP_PRIVACY_DISABLED 0x00 |
Central Address Resolution: Privacy is Disabled. | |
#define | GAP_PRIVACY_ENABLED 0x01 |
Central Address Resolution: Privacy is Enabled. | |
#define | GAP_RPA_ONLY_MODE 0x00 |
Only Resolvable Private Addresses Shall Be Used. | |
#define | GGS_APPEARANCE_ATT 1 |
#define | GGS_CENT_ADDR_RES_ATT 9 |
#define | GGS_DEVICE_NAME_ATT 0 |
#define | GGS_PERI_CONN_PARAM_ATT 4 |
#define | GGS_RESOLVABLE_PRIVATE_ADDRESS_ONLY_ATT 10 |
Typedefs | |
typedef void(* | ggsAttrValueChange_t) (uint16 connHandle, uint8 attrId) |
Callback to notify when attribute value is changed over the air. | |
Functions | |
bStatus_t | GGS_AddService (uint32 services) |
bStatus_t | GGS_DelService (uint32 services) |
bStatus_t | GGS_GetParameter (uint8 param, void *value) |
uint16 | GGS_GetParamValue (void) |
void | GGS_RegisterAppCBs (ggsAppCBs_t *appCallbacks) |
bStatus_t | GGS_SetParameter (uint8 param, uint8 len, void *value) |
void | GGS_SetParamValue (uint16 value) |