Lines Matching refs:olcp_ind
212 uint8_t *olcp_res = ots->olcp_ind.res; in olcp_ind_send()
221 memset(&ots->olcp_ind.params, 0, sizeof(ots->olcp_ind.params)); in olcp_ind_send()
222 memcpy(&ots->olcp_ind.attr, olcp_attr, sizeof(ots->olcp_ind.attr)); in olcp_ind_send()
223 ots->olcp_ind.params.attr = olcp_attr; in olcp_ind_send()
224 ots->olcp_ind.params.func = olcp_ind_cb; in olcp_ind_send()
225 ots->olcp_ind.params.data = olcp_res; in olcp_ind_send()
226 ots->olcp_ind.params.len = olcp_res_len; in olcp_ind_send()
228 ots->olcp_ind.params.chan_opt = BT_ATT_CHAN_OPT_NONE; in olcp_ind_send()
233 k_work_submit(&ots->olcp_ind.work); in olcp_ind_send()
249 if (!ots->olcp_ind.is_enabled) { in bt_gatt_ots_olcp_write()
259 if (k_work_is_pending(&ots->olcp_ind.work)) { in bt_gatt_ots_olcp_write()
313 struct bt_gatt_ots_indicate *olcp_ind = in bt_gatt_ots_olcp_cfg_changed() local
319 olcp_ind->is_enabled = false; in bt_gatt_ots_olcp_cfg_changed()
321 olcp_ind->is_enabled = true; in bt_gatt_ots_olcp_cfg_changed()