Lines Matching refs:rt
141 uint8_t rt = GATT_INTERNAL_ERROR; in gatt_act_read() local
202 if (op_code != 0) rt = attp_send_cl_msg(tcb, p_clcb, op_code, &msg); in gatt_act_read()
204 if (op_code == 0 || (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED)) { in gatt_act_read()
205 gatt_end_operation(p_clcb, rt, NULL); in gatt_act_read()
221 uint8_t rt = gatt_send_write_msg(tcb, p_clcb, op_code, attr.handle, in gatt_act_write() local
223 if (rt != GATT_CMD_STARTED) { in gatt_act_write()
224 if (rt != GATT_SUCCESS) { in gatt_act_write()
226 "gatt_act_write() failed op_code=0x%x rt=%d", op_code, rt); in gatt_act_write()
228 gatt_end_operation(p_clcb, rt, NULL); in gatt_act_write()
237 uint8_t rt = gatt_send_write_msg(tcb, p_clcb, GATT_REQ_WRITE, in gatt_act_write() local
239 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && in gatt_act_write()
240 rt != GATT_CONGESTED) { in gatt_act_write()
241 if (rt != GATT_SUCCESS) { in gatt_act_write()
244 rt); in gatt_act_write()
246 gatt_end_operation(p_clcb, rt, NULL); in gatt_act_write()
276 uint8_t rt; in gatt_send_queue_write_cancel() local
282 rt = attp_send_cl_msg(tcb, p_clcb, GATT_REQ_EXEC_WRITE, &gatt_cl_msg); in gatt_send_queue_write_cancel()
284 if (rt != GATT_SUCCESS) { in gatt_send_queue_write_cancel()
285 gatt_end_operation(p_clcb, rt, NULL); in gatt_send_queue_write_cancel()
348 uint8_t rt = gatt_send_write_msg(tcb, p_clcb, GATT_REQ_PREPARE_WRITE, in gatt_send_prepare_write() local
356 if (rt != GATT_SUCCESS && rt != GATT_CMD_STARTED && rt != GATT_CONGESTED) { in gatt_send_prepare_write()
357 gatt_end_operation(p_clcb, rt, NULL); in gatt_send_prepare_write()