Macros | |
#define | GATT_DB_MAX_SIZE 0x50 |
Local database maximum size. More... | |
#define | GATT_MAX_HDL_LIST 0x08 |
maximum number of handles returned More... | |
#define | GATT_UUID_16_OCTET_LEN 0x10 |
size for 128-bit UUID More... | |
Functions | |
ATT_ERR | gatt_clear_attribute_req_handler (uint16_t attr_hdl) |
void | gatt_disc_char_req_handler (uint8_t u8ReqType, uint16_t u16ConHdl, uint16_t u16StartHdl, uint16_t u16EndHdl, uint16_t u16AttDesValSize, uint8_t *pu8AttDesVal) |
void | gatt_disc_svc_req_handler (uint8_t u8ReqType, uint16_t u16ConHdl, uint16_t u16StartHdl, uint16_t u16EndHdl, uint16_t u16AttDesValSize, uint8_t *pu8AttDesVal) |
ATT_ERR | gatt_indicate_req_handler (uint16_t conhdl, uint16_t charhdl) |
ATT_ERR | gatt_notify_req_handler (uint16_t conhdl, uint16_t charhdl) |
ATT_ERR | gatt_read_attribute_req_handler (uint16_t attr_hdl, uint16_t *len, uint16_t *perm, uint8_t *uuid_len, uint8_t *uuid, uint8_t *value) |
void | gatt_read_char_req_handler (uint8_t u8ReqType, uint16_t u16Offset, uint16_t u16ConHdl, uint16_t u16StartHdl, uint16_t u16EndHdl, uint16_t u16NbOfUUID, uint8_t u8UUIDSize, uint8_t u8RespSize, uint16_t u16UUID) |
void | gatt_resource_access_req_handler (uint16_t con_hdl) |
void | gatt_resource_access_resp_handler (uint16_t con_hdl) |
ATT_ERR | gatt_write_attribute_req_handler (uint16_t length, uint16_t attr_hdl, uint16_t perm, uint8_t *val) |
uint8_t | gatt_write_char_req_handler (uint16_t u16ConHdl, uint16_t u16CharHdl, uint16_t u16WrOffset, uint16_t u16ValLen, uint8_t u8ReqType, uint8_t u8AutoExec, uint8_t *pu8Val) |
ATT_ERR | gattm_add_attribute_req_handler (uint16_t start_hdl, uint16_t max_data_size, uint16_t perm, uint8_t uuid_len, uint8_t *uuid, uint16_t *handle) |
ATT_ERR | gattm_add_svc_req_handler (uint16_t *start_hdl, uint16_t total_size, uint8_t nb_att_uuid_16, uint8_t nb_att_uuid_32, uint8_t nb_att_uuid_128) |
ATT_ERR | gattm_att_get_value_req_handler (uint16_t handle, uint16_t *length, uint8_t *value) |
ATT_ERR | gattm_att_set_value_req_handler (uint16_t handle, uint16_t length, uint8_t *value) |
#define GATT_DB_MAX_SIZE 0x50 |
Local database maximum size.
#define GATT_MAX_HDL_LIST 0x08 |
maximum number of handles returned
#define GATT_UUID_16_OCTET_LEN 0x10 |
size for 128-bit UUID
anonymous enum |
request type - application interface
enum gattm_msg_id |
GATT Task messages.
ATT_ERR gatt_clear_attribute_req_handler | ( | uint16_t | attr_hdl | ) |
void gatt_disc_char_req_handler | ( | uint8_t | u8ReqType, |
uint16_t | u16ConHdl, | ||
uint16_t | u16StartHdl, | ||
uint16_t | u16EndHdl, | ||
uint16_t | u16AttDesValSize, | ||
uint8_t * | pu8AttDesVal | ||
) |
void gatt_disc_svc_req_handler | ( | uint8_t | u8ReqType, |
uint16_t | u16ConHdl, | ||
uint16_t | u16StartHdl, | ||
uint16_t | u16EndHdl, | ||
uint16_t | u16AttDesValSize, | ||
uint8_t * | pu8AttDesVal | ||
) |
ATT_ERR gatt_indicate_req_handler | ( | uint16_t | conhdl, |
uint16_t | charhdl | ||
) |
ATT_ERR gatt_notify_req_handler | ( | uint16_t | conhdl, |
uint16_t | charhdl | ||
) |
ATT_ERR gatt_read_attribute_req_handler | ( | uint16_t | attr_hdl, |
uint16_t * | len, | ||
uint16_t * | perm, | ||
uint8_t * | uuid_len, | ||
uint8_t * | uuid, | ||
uint8_t * | value | ||
) |
void gatt_read_char_req_handler | ( | uint8_t | u8ReqType, |
uint16_t | u16Offset, | ||
uint16_t | u16ConHdl, | ||
uint16_t | u16StartHdl, | ||
uint16_t | u16EndHdl, | ||
uint16_t | u16NbOfUUID, | ||
uint8_t | u8UUIDSize, | ||
uint8_t | u8RespSize, | ||
uint16_t | u16UUID | ||
) |
void gatt_resource_access_req_handler | ( | uint16_t | con_hdl | ) |
void gatt_resource_access_resp_handler | ( | uint16_t | con_hdl | ) |
ATT_ERR gatt_write_attribute_req_handler | ( | uint16_t | length, |
uint16_t | attr_hdl, | ||
uint16_t | perm, | ||
uint8_t * | val | ||
) |
uint8_t gatt_write_char_req_handler | ( | uint16_t | u16ConHdl, |
uint16_t | u16CharHdl, | ||
uint16_t | u16WrOffset, | ||
uint16_t | u16ValLen, | ||
uint8_t | u8ReqType, | ||
uint8_t | u8AutoExec, | ||
uint8_t * | pu8Val | ||
) |
ATT_ERR gattm_add_attribute_req_handler | ( | uint16_t | start_hdl, |
uint16_t | max_data_size, | ||
uint16_t | perm, | ||
uint8_t | uuid_len, | ||
uint8_t * | uuid, | ||
uint16_t * | handle | ||
) |
References GATTM_ADD_ATTRIBUTE_REQ, GATTM_ADD_ATTRIBUTE_RSP, INTERFACE_MSG_DONE, INTERFACE_MSG_INIT, INTERFACE_PACK_ARG_BLOCK, INTERFACE_PACK_ARG_UINT16, INTERFACE_PACK_ARG_UINT8, INTERFACE_SEND_WAIT, INTERFACE_UNPACK_UINT16, INTERFACE_UNPACK_UINT8, and TASK_ATTM.
Referenced by at_ble_service_define(), client_conf_define(), extended_properties_define(), presentation_format_define(), server_conf_define(), and user_description_define().
ATT_ERR gattm_add_svc_req_handler | ( | uint16_t * | start_hdl, |
uint16_t | total_size, | ||
uint8_t | nb_att_uuid_16, | ||
uint8_t | nb_att_uuid_32, | ||
uint8_t | nb_att_uuid_128 | ||
) |
ATT_ERR gattm_att_get_value_req_handler | ( | uint16_t | handle, |
uint16_t * | length, | ||
uint8_t * | value | ||
) |
ATT_ERR gattm_att_set_value_req_handler | ( | uint16_t | handle, |
uint16_t | length, | ||
uint8_t * | value | ||
) |
References GATTM_ATT_SET_VALUE_REQ, GATTM_ATT_SET_VALUE_RSP, INTERFACE_MSG_DONE, INTERFACE_MSG_INIT, INTERFACE_PACK_ARG_BLOCK, INTERFACE_PACK_ARG_UINT16, INTERFACE_SEND_WAIT, INTERFACE_UNPACK_UINT16, INTERFACE_UNPACK_UINT8, and TASK_ATTM.
Referenced by at_ble_characteristic_value_set(), at_ble_service_define(), client_conf_define(), extended_properties_define(), gattc_write_cmd_ind(), presentation_format_define(), server_conf_define(), and user_description_define().