nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches
Record Access Control Point

Record Access Control Point library. More...

Data Structures

struct  ble_racp_value
 Record Access Control Point value structure. More...
 

Enumerations

enum  racp_opcode {
  RACP_OPCODE_RESERVED = 0 , RACP_OPCODE_REPORT_RECS = 1 , RACP_OPCODE_DELETE_RECS = 2 , RACP_OPCODE_ABORT_OPERATION = 3 ,
  RACP_OPCODE_REPORT_NUM_RECS = 4 , RACP_OPCODE_NUM_RECS_RESPONSE = 5 , RACP_OPCODE_RESPONSE_CODE = 6
}
 Record Access Control Point opcodes. More...
 
enum  racp_operator {
  RACP_OPERATOR_NULL = 0 , RACP_OPERATOR_ALL = 1 , RACP_OPERATOR_LESS_OR_EQUAL = 2 , RACP_OPERATOR_GREATER_OR_EQUAL = 3 ,
  RACP_OPERATOR_RANGE = 4 , RACP_OPERATOR_FIRST = 5 , RACP_OPERATOR_LAST = 6 , RACP_OPERATOR_RFU_START = 7
}
 Record Access Control Point operators. More...
 
enum  racp_operand_filter_type { RACP_OPERAND_FILTER_TYPE_TIME_OFFSET = 1 , RACP_OPERAND_FILTER_TYPE_FACING_TIME = 2 }
 Record Access Control Point Operand Filter Type Value. More...
 
enum  racp_response {
  RACP_RESPONSE_RESERVED = 0 , RACP_RESPONSE_SUCCESS = 1 , RACP_RESPONSE_OPCODE_UNSUPPORTED = 2 , RACP_RESPONSE_INVALID_OPERATOR = 3 ,
  RACP_RESPONSE_OPERATOR_UNSUPPORTED = 4 , RACP_RESPONSE_INVALID_OPERAND = 5 , RACP_RESPONSE_NO_RECORDS_FOUND = 6 , RACP_RESPONSE_ABORT_FAILED = 7 ,
  RACP_RESPONSE_PROCEDURE_NOT_DONE = 8 , RACP_RESPONSE_OPERAND_UNSUPPORTED = 9
}
 Record Access Control Point response codes. More...
 

Functions

uint32_t ble_racp_decode (const uint8_t *data, size_t data_len, struct ble_racp_value *racp_val)
 Decode a Record Access Control Point write.
 
size_t ble_racp_encode (const struct ble_racp_value *racp_val, uint8_t *buf, size_t len)
 Encode a Record Access Control Point response.
 

Detailed Description

Record Access Control Point library.