Lines Matching refs:p_attr
299 tGATT_VALUE* p_attr = (tGATT_VALUE*)p_clcb->p_attr_buf; in gatt_check_write_long_terminate() local
306 if (p_rsp_value->handle != p_attr->handle || in gatt_check_write_long_terminate()
308 memcmp(p_rsp_value->value, p_attr->value + p_attr->offset, in gatt_check_write_long_terminate()
318 if ((p_attr->offset += p_rsp_value->len) >= p_attr->len) exec = true; in gatt_check_write_long_terminate()
330 tGATT_VALUE* p_attr = (tGATT_VALUE*)p_clcb->p_attr_buf; in gatt_send_prepare_write() local
334 uint16_t to_send = p_attr->len - p_attr->offset; in gatt_send_prepare_write()
340 p_clcb->s_handle = p_attr->handle; in gatt_send_prepare_write()
342 uint16_t offset = p_attr->offset; in gatt_send_prepare_write()
350 p_attr->handle, to_send, /* length */ in gatt_send_prepare_write()
352 p_attr->value + p_attr->offset); /* data */ in gatt_send_prepare_write()
512 tGATT_VALUE* p_attr = (tGATT_VALUE*)p_clcb->p_attr_buf; in gatt_process_error_rsp() local
539 (opcode == GATT_REQ_PREPARE_WRITE) && (p_attr) && in gatt_process_error_rsp()
540 (handle == p_attr->handle)) { in gatt_process_error_rsp()