Lines Matching +full:pre +full:- +full:delay
5 * SPDX-License-Identifier: Apache-2.0
32 /* Pre-5.0 controllers enforce a minimum interval of 100ms
65 * pre-emptible continuous scanning, allowing advertising events to be in bt_data_send()
66 * transmitted without delay when advertising is enabled. No need to in bt_data_send()
76 * pre-empted, hence, scanning will block advertising events from in bt_data_send()
134 uint16_t num_events = BT_MESH_TRANSMIT_COUNT(adv->ctx.xmit) + 1; in adv_send()
138 adv_int = BT_MESH_TRANSMIT_INT(adv->ctx.xmit); in adv_send()
140 LOG_DBG("type %u len %u: %s", adv->ctx.type, in adv_send()
141 adv->b.len, bt_hex(adv->b.data, adv->b.len)); in adv_send()
143 ad.type = bt_mesh_adv_type[adv->ctx.type]; in adv_send()
144 ad.data_len = adv->b.len; in adv_send()
145 ad.data = adv->b.data; in adv_send()
147 bt_data_send(num_events, adv_int, &ad, 1, &adv->ctx); in adv_send()
186 if (adv->ctx.busy) { in adv_thread()
187 adv->ctx.busy = 0U; in adv_thread()
191 struct bt_mesh_adv_ctx ctx = adv->ctx; in adv_thread()
193 adv->ctx.started = 0; in adv_thread()
203 bt_mesh_adv_send_start(0, -ENODEV, &adv->ctx); in adv_thread()
245 return -EINVAL; in bt_mesh_adv_enable()
261 return -EINVAL; in bt_mesh_adv_disable()
270 return err == -EDEADLK ? 0 : err; in bt_mesh_adv_disable()