Searched refs:adv_buf (Results 1 – 1 of 1) sorted by relevance
925 static struct net_buf_simple *adv_buf = NET_BUF_SIMPLE(ADV_BUF_LEN); variable933 net_buf_simple_init(adv_buf, 0); in store_adv()935 ev = net_buf_simple_add(adv_buf, sizeof(*ev)); in store_adv()941 memcpy(net_buf_simple_add(adv_buf, buf_ad->len), buf_ad->data, buf_ad->len); in store_adv()972 if (!adv_buf->len) { in device_found()977 ev = (void *) adv_buf->data; in device_found()994 memcpy(net_buf_simple_add(adv_buf, buf_ad->len), buf_ad->data, buf_ad->len); in device_found()1003 if (adv_buf->len) { in device_found()1005 adv_buf->data, adv_buf->len); in device_found()1006 net_buf_simple_reset(adv_buf); in device_found()[all …]