27 #ifndef GAPGATTSERVER_H 28 #define GAPGATTSERVER_H 40 #define GAP_DEVICE_NAME_LEN 21 43 #define GAP_PRIVACY_DISABLED 0x00 44 #define GAP_PRIVACY_ENABLED 0x01 48 #define GAP_RPA_ONLY_MODE 0x00 64 #define GGS_DEVICE_NAME_ATT 0 72 #define GGS_APPEARANCE_ATT 1 80 #define GGS_PERI_CONN_PARAM_ATT 4 81 #if defined ( TESTMODES ) 83 #define GGS_W_PERMIT_DEVICE_NAME_ATT 6 84 #define GGS_W_PERMIT_APPEARANCE_ATT 7 97 #define GGS_CENT_ADDR_RES_ATT 9 108 #define GGS_RESOLVABLE_PRIVATE_ADDRESS_ONLY_ATT 10 113 #define GAP_SERVICE 0x00000001 116 #if defined ( TESTMODES ) 117 #define GGS_TESTMODE_OFF 0 119 #define GGS_TESTMODE_W_PERMIT_DEVICE_NAME 1 121 #define GGS_TESTMODE_W_PERMIT_APPEARANCE 2 127 #define GGS_TESTMODE_TOGGLE_CAR_VALUE 3 uint16 GGS_GetParamValue(void)
bStatus_t GGS_GetParameter(uint8 param, void *value)
void(* ggsAttrValueChange_t)(uint16 connHandle, uint8 attrId)
Callback to notify when attribute value is changed over the air.
Definition: gapgattserver.h:137
void GGS_RegisterAppCBs(ggsAppCBs_t *appCallbacks)
bStatus_t GGS_DelService(uint32 services)
bStatus_t GGS_AddService(uint32 services)
void GGS_SetParamValue(uint16 value)
Status_t bStatus_t
BLE Generic Status return.
Definition: bcomdef.h:251
bStatus_t GGS_SetParameter(uint8 param, uint8 len, void *value)