Zephyr Project API 4.0.0
A Scalable Open Source RTOS
|
#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. | |
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.
adv | The advertising set object. |
info | Information about the connected event. |
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.
adv | The advertising set object. |
addr | Information about the scanned event. |
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.
adv | The advertising set object. |
info | Information about the sent event. |