Lines Matching refs:op
106 gatt_operation& op = gatt_ops.front(); in gatt_execute_next_op() local
108 if (op.type == GATT_READ_CHAR) { in gatt_execute_next_op()
111 data->cb = op.read_cb; in gatt_execute_next_op()
112 data->cb_data = op.read_cb_data; in gatt_execute_next_op()
113 BTA_GATTC_ReadCharacteristic(conn_id, op.handle, GATT_AUTH_REQ_NONE, in gatt_execute_next_op()
116 } else if (op.type == GATT_READ_DESC) { in gatt_execute_next_op()
119 data->cb = op.read_cb; in gatt_execute_next_op()
120 data->cb_data = op.read_cb_data; in gatt_execute_next_op()
121 BTA_GATTC_ReadCharDescr(conn_id, op.handle, GATT_AUTH_REQ_NONE, in gatt_execute_next_op()
124 } else if (op.type == GATT_WRITE_CHAR) { in gatt_execute_next_op()
127 data->cb = op.write_cb; in gatt_execute_next_op()
128 data->cb_data = op.write_cb_data; in gatt_execute_next_op()
129 BTA_GATTC_WriteCharValue(conn_id, op.handle, op.write_type, in gatt_execute_next_op()
130 std::move(op.value), GATT_AUTH_REQ_NONE, in gatt_execute_next_op()
133 } else if (op.type == GATT_WRITE_DESC) { in gatt_execute_next_op()
136 data->cb = op.write_cb; in gatt_execute_next_op()
137 data->cb_data = op.write_cb_data; in gatt_execute_next_op()
138 BTA_GATTC_WriteCharDescr(conn_id, op.handle, std::move(op.value), in gatt_execute_next_op()