Go to the documentation of this file.
53 #ifndef __GLS_RACP_H__
54 #define __GLS_RACP_H__
69 #define GLS_RACP_FILTER_SEQ_NUM_LEN 2
70 #define GLS_RACP_FILTER_USER_TIME_LEN 7
gls_racp_filter_t filter
Definition: gls_racp.h:154
@ GLS_RACP_FILTER_RESERVED
Definition: gls_racp.h:120
@ GLS_RACP_RSP_NO_RECS_FOUND
Definition: gls_racp.h:110
@ GLS_RACP_RSP_RESERVED
Definition: gls_racp.h:104
@ GLS_RACP_OP_NB_OF_STRD_RECS_RSP
Definition: gls_racp.h:85
@ GLS_RACP_OPERATOR_FIRST_REC
Definition: gls_racp.h:97
gls_racp_op_code_t op_code
Definition: gls_racp.h:160
@ GLS_RACP_OPERATOR_NULL
Definition: gls_racp.h:92
@ GLS_RACP_OPERATOR_ALL_RECS
Definition: gls_racp.h:93
@ GLS_RACP_OP_REP_NB_OF_STRD_RECS
Definition: gls_racp.h:84
@ GLS_RACP_OP_RSP_CODE
Definition: gls_racp.h:86
gls_racp_op_code_t op_code_req
Definition: gls_racp.h:167
gls_racp_operator_t racp_operator
Definition: gls_racp.h:161
@ GLS_RACP_FILTER_USER_FACING_TIME
Definition: gls_racp.h:122
@ GLS_RACP_OP_REP_STRD_RECS
Definition: gls_racp.h:81
int8_t gls_racp_user_time_compare(prf_date_time_t *p_compared_date_time, prf_date_time_t *p_base_date_time)
Compared two date time.
@ GLS_RACP_FILTER_SEQ_NUMBER
Definition: gls_racp.h:121
uint16_t min
Definition: gls_racp.h:139
gls_racp_operator_t racp_operator
Definition: gls_racp.h:133
@ GLS_RACP_OPERATOR_WITHIN_RANGE_OF
Definition: gls_racp.h:96
uint16_t num_of_record
Definition: gls_racp.h:164
uint16_t gls_racp_rsp_encode(gls_racp_rsp_t *p_racp_rsp, uint8_t *p_encoded_buffer)
Encode record access control point response.
@ GLS_RACP_OPERATOR_GT_OR_EQ
Definition: gls_racp.h:95
gls_racp_operator_t
Glucose Recoerd Access Control Point Operator.
Definition: gls_racp.h:91
Glucose Recoerd Access Control Point request value.
Definition: gls_racp.h:152
prf_date_time_t max
Definition: gls_racp.h:145
@ GLS_RACP_OP_RESERVED
Definition: gls_racp.h:80
Profile/Service Common Types.
@ GLS_RACP_RSP_OPERATOR_NOT_SUP
Definition: gls_racp.h:108
@ GLS_RACP_RSP_OP_CODE_NOT_SUP
Definition: gls_racp.h:106
@ GLS_RACP_OPERATOR_LAST_REC
Definition: gls_racp.h:98
uint16_t max
Definition: gls_racp.h:140
@ GLS_RACP_OPERATOR_LE_OR_EQ
Definition: gls_racp.h:94
The date and time structure. The packed size is 7 bytes.
Definition: ble_prf_types.h:101
gls_racp_op_code_t
Glucose Recoerd Access Control Point Operation Codes.
Definition: gls_racp.h:79
gls_racp_operand_t
Glucose Recoerd Access Control Point Response codes.
Definition: gls_racp.h:103
prf_date_time_t min
Definition: gls_racp.h:144
@ GLS_RACP_RSP_VALID_DECODE
Definition: gls_racp.h:114
@ GLS_RACP_RSP_SUCCESS
Definition: gls_racp.h:105
@ GLS_RACP_OP_ABORT_OP
Definition: gls_racp.h:83
@ GLS_RACP_RSP_OPERAND_NOT_SUP
Definition: gls_racp.h:113
@ GLS_RACP_RSP_ABORT_UNSUCCESSFUL
Definition: gls_racp.h:111
@ GLS_RACP_OP_DEL_STRD_RECS
Definition: gls_racp.h:82
@ GLS_RACP_RSP_PROCEDURE_NOT_COMPLETED
Definition: gls_racp.h:112
Glucose Recoerd Access Control Point response value.
Definition: gls_racp.h:159
gls_racp_operand_t status
Definition: gls_racp.h:168
Glucose Recoerd Access Control Point filter value.
Definition: gls_racp.h:132
gls_racp_op_code_t op_code
Definition: gls_racp.h:153
gls_racp_filter_type_t
Glucose Recoerd Access Control Point filter types.
Definition: gls_racp.h:119
gls_racp_operand_t gls_racp_req_decode(const uint8_t *p_data, uint16_t length, gls_racp_req_t *p_racp_req)
Decode record access control point request.
@ GLS_RACP_RSP_INVALID_OPERATOR
Definition: gls_racp.h:107
@ GLS_RACP_RSP_INVALID_OPERAND
Definition: gls_racp.h:109
gls_racp_filter_type_t racp_filter_type
Definition: gls_racp.h:134