Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_le_scan_cb Struct Reference

Listener context for (LE) scanning. More...

#include <bluetooth.h>

Data Fields

void(* recv )(const struct bt_le_scan_recv_info *info, struct net_buf_simple *buf)
 Advertisement packet and scan response received callback.
 
void(* timeout )(void)
 The scanner has stopped scanning after scan timeout.
 
sys_snode_t node
 

Detailed Description

Listener context for (LE) scanning.

Field Documentation

◆ node

sys_snode_t bt_le_scan_cb::node

◆ recv

void(* bt_le_scan_cb::recv) (const struct bt_le_scan_recv_info *info, struct net_buf_simple *buf)

Advertisement packet and scan response received callback.

Parameters
infoAdvertiser packet and scan response information.
bufBuffer containing advertiser data.

◆ timeout

void(* bt_le_scan_cb::timeout) (void)

The scanner has stopped scanning after scan timeout.


The documentation for this struct was generated from the following file: