Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/host/
Dadv.c50 size_t data_index; member
105 const struct bt_data *current_ltv = &stream->ad[stream->ad_index].data[stream->data_index]; in ad_stream_current_ltv_update()
111 if (stream->data_index + 1 == stream->ad[stream->ad_index].len) { in ad_stream_current_ltv_update()
112 stream->data_index = 0; in ad_stream_current_ltv_update()
115 stream->data_index++; in ad_stream_current_ltv_update()
122 return &stream->ad[stream->ad_index].data[stream->data_index]; in ad_stream_current_ltv_update()
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.c1978 uint16_t data_index = 0; in mdm_decode_pdu() local
1996 target_buf->data[data_index++] = letter & 0x007f; in mdm_decode_pdu()
1998 target_buf->data[data_index++] = 0xc0 | ((letter & 0x07c0) >> 6); in mdm_decode_pdu()
1999 target_buf->data[data_index++] = 0x80 | ((letter & 0x003f) >> 0); in mdm_decode_pdu()
2004 target_buf->data_len = data_index; in mdm_decode_pdu()