Home
last modified time | relevance | path

Searched refs:GATT_MAX_ATTR_LEN (Results 1 – 9 of 9) sorted by relevance

/system/bt/stack/include/
Dgatt_api.h140 #ifndef GATT_MAX_ATTR_LEN
141 #define GATT_MAX_ATTR_LEN 600 macro
328 uint8_t value[GATT_MAX_ATTR_LEN]; /* the actual attribute value */
367 uint8_t value[GATT_MAX_ATTR_LEN]; /* the actual attribute value */
/system/bt/stack/gatt/
Dgatt_cl.cc630 if (value.len > GATT_MAX_ATTR_LEN) { in gatt_process_notification()
820 p_clcb->p_attr_buf = (uint8_t*)osi_malloc(GATT_MAX_ATTR_LEN); in gatt_process_read_by_type_rsp()
821 if (p_clcb->counter <= GATT_MAX_ATTR_LEN) { in gatt_process_read_by_type_rsp()
917 p_clcb->p_attr_buf = (uint8_t*)osi_malloc(GATT_MAX_ATTR_LEN); in gatt_process_read_rsp()
920 if (offset < GATT_MAX_ATTR_LEN) { in gatt_process_read_rsp()
921 if ((len + offset) > GATT_MAX_ATTR_LEN) in gatt_process_read_rsp()
922 len = GATT_MAX_ATTR_LEN - offset; in gatt_process_read_rsp()
939 if (packet_is_full && (len + offset < GATT_MAX_ATTR_LEN)) { in gatt_process_read_rsp()
Dgatt_sr.cc423 &p_msg->attr_value.len, GATT_MAX_ATTR_LEN, sec_flag, key_size, in gatt_process_read_multi_req()
900 if (len > GATT_MAX_ATTR_LEN) len = GATT_MAX_ATTR_LEN; in gatts_process_write_req()
/system/bt/btif/src/
Dbtif_gatt_util.cc53 memcpy(p_dest->attr_value.value, p_src->attr_value.value, GATT_MAX_ATTR_LEN); in btif_to_bta_response()
/system/bt/bta/gatt/
Dbta_gatts_int.h86 uint8_t value[GATT_MAX_ATTR_LEN];
/system/bt/bta/include/
Dbta_gatt_api.h113 uint8_t value[GATT_MAX_ATTR_LEN];
166 uint8_t value[GATT_MAX_ATTR_LEN];
/system/bt/stack/srvc/
Dsrvc_dis.cc144 if (strlen((char*)pp) > GATT_MAX_ATTR_LEN) in dis_read_attr_value()
145 p_value->len = GATT_MAX_ATTR_LEN; in dis_read_attr_value()
/system/bt/stack/gap/
Dgap_ble.cc132 if (strlen((char*)p_dev_name) > GATT_MAX_ATTR_LEN) in read_attr_value()
133 p_value->len = GATT_MAX_ATTR_LEN; in read_attr_value()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc1721 if (!p_data->notify.is_notify || p_data->notify.len > GATT_MAX_ATTR_LEN) { in hearingaid_gattc_callback()