Home
last modified time | relevance | path

Searched refs:current_ltv_offset (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/host/
Dadv.c54 uint16_t current_ltv_offset; member
105 const bool done_reading_ltv = (stream->current_ltv_offset == current_ltv->data_len + 2); in ad_stream_current_ltv_update()
108 stream->current_ltv_offset = 0; in ad_stream_current_ltv_update()
147 if (stream->current_ltv_offset == 0) { in ad_stream_read()
149 stream->current_ltv_offset++; in ad_stream_read()
151 } else if (stream->current_ltv_offset == 1) { in ad_stream_read()
153 stream->current_ltv_offset++; in ad_stream_read()
157 current_ltv->data_len - stream->current_ltv_offset + 2; in ad_stream_read()
161 &current_ltv->data[stream->current_ltv_offset - 2], in ad_stream_read()
163 stream->current_ltv_offset += size_to_copy; in ad_stream_read()