Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
bt_le_ext_adv_cb Struct Reference

#include <bluetooth.h>

Data Fields

void(* sent )(struct bt_le_ext_adv *adv, struct bt_le_ext_adv_sent_info *info)
 The advertising set has finished sending adv data.
 
void(* connected )(struct bt_le_ext_adv *adv, struct bt_le_ext_adv_connected_info *info)
 The advertising set has accepted a new connection.
 
void(* scanned )(struct bt_le_ext_adv *adv, struct bt_le_ext_adv_scanned_info *info)
 The advertising set has sent scan response data.
 

Field Documentation

◆ connected

void(* bt_le_ext_adv_cb::connected) (struct bt_le_ext_adv *adv, struct bt_le_ext_adv_connected_info *info)

The advertising set has accepted a new connection.

This callback notifies the application that the advertising set has accepted a new connection.

Parameters
advThe advertising set object.
infoInformation about the connected event.

◆ scanned

void(* bt_le_ext_adv_cb::scanned) (struct bt_le_ext_adv *adv, struct bt_le_ext_adv_scanned_info *info)

The advertising set has sent scan response data.

This callback notifies the application that the advertising set has has received a Scan Request packet, and has sent a Scan Response packet.

Parameters
advThe advertising set object.
addrInformation about the scanned event.

◆ sent

void(* bt_le_ext_adv_cb::sent) (struct bt_le_ext_adv *adv, struct bt_le_ext_adv_sent_info *info)

The advertising set has finished sending adv data.

This callback notifies the application that the advertising set has finished sending advertising data. The advertising set can either have been stopped by a timeout or because the specified number of advertising events has been reached.

Parameters
advThe advertising set object.
infoInformation about the sent event.

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