#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...
 
- Public Member Functions inherited from ISystemReadyHandler
virtual ~ISystemReadyHandler ()
 

Member Function Documentation

◆ begin()

void WifiSniffer::begin ( )

Initialise the sniffer.

◆ end()

void WifiSniffer::end ( )

Stop the sniffer.

◆ getChannel()

unsigned WifiSniffer::getChannel ( )
inline

Get the current channel being listened on.

◆ onBeacon()

void WifiSniffer::onBeacon ( WifiBeaconCallback  callback)
inline

Register notification for beacon (AP) info.

◆ onClient()

void WifiSniffer::onClient ( WifiClientCallback  callback)
inline

Register notification for client info.

◆ onSniff()

void WifiSniffer::onSniff ( WifiSnifferCallback  callback)
inline

Register notification for all incoming data.

Note
Callback invoked for all packet types, including beacon/client

◆ setChannel()

void WifiSniffer::setChannel ( unsigned  channel)
inline

Set the channel to listen on.

Parameters
channel

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