Event produced when advertising ends. More...
#include <Events.h>
Public Member Functions | |
advertising_handle_t | getAdvHandle () const |
Get advertising handle. More... | |
connection_handle_t | getConnection () const |
Get connection handle (valid only if connected successfully). More... | |
uint8_t | getCompleted_events () const |
Get how many events advertising created. More... | |
bool | isConnected () const |
Has the advertising ended with a connection. More... | |
bool | isLegacy () const |
Is the end of legacy advertising. More... | |
ble_error_t | getStatus () const |
Get the result of the stop advertising event. More... | |
Event produced when advertising ends.
advertising_handle_t getAdvHandle | ( | ) | const |
uint8_t getCompleted_events | ( | ) | const |
connection_handle_t getConnection | ( | ) | const |
ble_error_t getStatus | ( | ) | const |
bool isConnected | ( | ) | const |
bool isLegacy | ( | ) | const |
Is the end of legacy advertising.
If it is the return of getConnection() getCompleted_events() and isConnected() must be discarded