ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
c_NetworkMgr Class Reference

#include <NetworkMgr.hpp>

Collaboration diagram for c_NetworkMgr:

Public Member Functions

 c_NetworkMgr ()
 < Start up the driver and put it into a safe mode
 
virtual ~c_NetworkMgr ()
 < deallocate any resources and put the Input channels into a safe state
 
void Begin ()
 < Start the module
 
void GetConfig (JsonObject &json)
 
void GetStatus (JsonObject &json)
 
bool SetConfig (JsonObject &json)
 
void Poll ()
 < Called from loop()
 
void GetDriverName (String &Name)
 
void SetWiFiIsConnected (bool newState)
 
void SetEthernetIsConnected (bool newState)
 
bool IsConnected ()
 
void GetHostname (String &name)
 
IPAddress GetlocalIP ()
 

Private Member Functions

bool Validate ()
 
void AdvertiseNewState ()
 
void SetWiFiEnable ()
 

Private Attributes

c_WiFiDriver WiFiDriver
 
String hostname
 
bool HasBeenInitialized = false
 
bool IsWiFiConnected = false
 
bool IsEthernetConnected = false
 
bool PreviousState = false
 
bool AllowWiFiAndEthUpSimultaneously = true
 

Constructor & Destructor Documentation

◆ c_NetworkMgr()

c_NetworkMgr::c_NetworkMgr ( )

< Start up the driver and put it into a safe mode

◆ ~c_NetworkMgr()

c_NetworkMgr::~c_NetworkMgr ( )
virtual

< deallocate any resources and put the Input channels into a safe state

Member Function Documentation

◆ AdvertiseNewState()

void c_NetworkMgr::AdvertiseNewState ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Begin()

void c_NetworkMgr::Begin ( )

< Start the module

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetConfig()

void c_NetworkMgr::GetConfig ( JsonObject & json)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDriverName()

void c_NetworkMgr::GetDriverName ( String & Name)
inline

◆ GetHostname()

void c_NetworkMgr::GetHostname ( String & name)
inline
Here is the caller graph for this function:

◆ GetlocalIP()

IPAddress c_NetworkMgr::GetlocalIP ( )
Here is the caller graph for this function:

◆ GetStatus()

void c_NetworkMgr::GetStatus ( JsonObject & json)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsConnected()

bool c_NetworkMgr::IsConnected ( )
inline
Here is the caller graph for this function:

◆ Poll()

void c_NetworkMgr::Poll ( )

< Called from loop()

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetConfig()

bool c_NetworkMgr::SetConfig ( JsonObject & json)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetEthernetIsConnected()

void c_NetworkMgr::SetEthernetIsConnected ( bool newState)
Here is the call graph for this function:

◆ SetWiFiEnable()

void c_NetworkMgr::SetWiFiEnable ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetWiFiIsConnected()

void c_NetworkMgr::SetWiFiIsConnected ( bool newState)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Validate()

bool c_NetworkMgr::Validate ( )
private
Here is the caller graph for this function:

Member Data Documentation

◆ AllowWiFiAndEthUpSimultaneously

bool c_NetworkMgr::AllowWiFiAndEthUpSimultaneously = true
private

◆ HasBeenInitialized

bool c_NetworkMgr::HasBeenInitialized = false
private

◆ hostname

String c_NetworkMgr::hostname
private

◆ IsEthernetConnected

bool c_NetworkMgr::IsEthernetConnected = false
private

◆ IsWiFiConnected

bool c_NetworkMgr::IsWiFiConnected = false
private

◆ PreviousState

bool c_NetworkMgr::PreviousState = false
private

◆ WiFiDriver

c_WiFiDriver c_NetworkMgr::WiFiDriver
private

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