WifiSniffer Class Reference
#include <WifiSniffer.h>
Inheritance diagram for WifiSniffer:
Collaboration diagram for WifiSniffer:
Public Member Functions | |
void | begin () |
Initialise the sniffer. More... | |
void | end () |
Stop the sniffer. More... | |
void | onBeacon (WifiBeaconCallback callback) |
Register notification for beacon (AP) info. More... | |
void | onClient (WifiClientCallback callback) |
Register notification for client info. More... | |
void | onSniff (WifiSnifferCallback callback) |
Register notification for all incoming data. More... | |
void | setChannel (unsigned channel) |
Set the channel to listen on. More... | |
unsigned | getChannel () |
Get the current channel being listened on. More... | |
![]() | |
virtual | ~ISystemReadyHandler () |
Member Function Documentation
◆ begin()
void WifiSniffer::begin | ( | ) |
Initialise the sniffer.
◆ end()
void WifiSniffer::end | ( | ) |
Stop the sniffer.
◆ getChannel()
|
inline |
Get the current channel being listened on.
◆ onBeacon()
|
inline |
Register notification for beacon (AP) info.
◆ onClient()
|
inline |
Register notification for client info.
◆ onSniff()
|
inline |
Register notification for all incoming data.
- Note
- Callback invoked for all packet types, including beacon/client
◆ setChannel()
|
inline |
Set the channel to listen on.
- Parameters
-
channel
The documentation for this class was generated from the following file: