Lines Matching refs:p_attr
229 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; in gatt_act_write() local
231 if (p_attr) in gatt_act_write()
236 p_clcb->s_handle = p_attr->handle; in gatt_act_write()
241 p_attr->handle, in gatt_act_write()
242 p_attr->len, in gatt_act_write()
244 p_attr->value); in gatt_act_write()
248 if (p_attr->len <= (p_tcb->payload_size - GATT_HDR_SIZE)) in gatt_act_write()
250 p_clcb->s_handle = p_attr->handle; in gatt_act_write()
255 p_attr->handle, in gatt_act_write()
256 p_attr->len, in gatt_act_write()
258 p_attr->value); in gatt_act_write()
322 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; in gatt_check_write_long_terminate() local
330 if (p_rsp_value->handle != p_attr->handle || in gatt_check_write_long_terminate()
332 memcmp(p_rsp_value->value, p_attr->value + p_attr->offset, p_rsp_value->len)) in gatt_check_write_long_terminate()
343 if ((p_attr->offset += p_rsp_value->len) >= p_attr->len) in gatt_check_write_long_terminate()
365 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; in gatt_send_prepare_write() local
371 to_send = p_attr->len - p_attr->offset; in gatt_send_prepare_write()
376 p_clcb->s_handle = p_attr->handle; in gatt_send_prepare_write()
378 offset = p_attr->offset; in gatt_send_prepare_write()
389 p_attr->handle, in gatt_send_prepare_write()
392 p_attr->value + p_attr->offset); /* data */ in gatt_send_prepare_write()
563 tGATT_VALUE *p_attr = (tGATT_VALUE *)p_clcb->p_attr_buf; in gatt_process_error_rsp() local
582 (p_attr) && in gatt_process_error_rsp()
583 (handle == p_attr->handle) ) in gatt_process_error_rsp()