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

#include <FPPDiscovery.h>

Collaboration diagram for c_FPPDiscovery:

Classes

struct  MultiSyncStats_t
 
struct  SystemDebugStats_t
 

Public Member Functions

 c_FPPDiscovery ()
 
virtual ~c_FPPDiscovery ()
 
void begin ()
 
void ProcessFPPJson (AsyncWebServerRequest *request)
 
void ProcessFPPDJson (AsyncWebServerRequest *request)
 
void ProcessGET (AsyncWebServerRequest *request)
 
void ProcessPOST (AsyncWebServerRequest *request)
 
void ProcessFile (AsyncWebServerRequest *request, String filename, uint32_t index, uint8_t *data, uint32_t len, bool final, uint32_t contentLength=0)
 
void ProcessBody (AsyncWebServerRequest *request, uint8_t *data, uint32_t len, uint32_t index, uint32_t total)
 
void sendPingPacket (IPAddress destination=IPAddress(255, 255, 255, 255))
 
void PlayFile (String &FileToPlay)
 
void Enable (void)
 
void Disable (void)
 
void GetStatus (JsonObject &jsonStatus)
 
void NetworkStateChanged (bool NewNetworkState)
 
void SetOperationalState (bool ActiveFlag)
 
bool SetConfig (JsonObject &jsonConfig)
 
void GetConfig (JsonObject &jsonConfig)
 
void SetInputFPPRemotePlayFile (c_InputFPPRemote *value)
 
void ForgetInputFPPRemotePlayFile ()
 
void GenerateFppSyncMsg (uint8_t Action, const String &FileName, uint32_t CurrentFrame, const float &ElpsedTime)
 
void GetSysInfoJSON (JsonObject &jsonResponse)
 
bool PlayingAfile ()
 

Private Member Functions

void ProcessReceivedUdpPacket (AsyncUDPPacket _packet)
 
void ProcessSyncPacket (uint8_t action, String filename, float seconds_elapsed)
 
void ProcessBlankPacket ()
 
bool PlayingFile ()
 
void GetStatusJSON (JsonObject &jsonResponse, bool advanced)
 
void BuildFseqResponse (String fname, c_FileMgr::FileId fseq, String &resp)
 
void StopPlaying ()
 
void StartPlaying (String &FileName, float SecondsElapsed)
 
bool AllowedToPlayRemoteFile ()
 
void GetDriverName (String &Name)
 

Private Attributes

AsyncUDP udp
 
bool inFileUpload = false
 
bool writeFailed = false
 
bool hasBeenInitialized = false
 
bool IsEnabled = false
 
bool BlankOnStop = false
 
bool StopInProgress = false
 
bool FppSyncOverride = false
 
String ConfiguredFileToPlay
 
String UploadFileName
 
IPAddress FppRemoteIp = IPAddress (uint32_t(0))
 
c_InputFPPRemoteInputFPPRemote = nullptr
 
const IPAddress MulticastAddress = IPAddress (239, 70, 80, 80)
 
MultiSyncStats_t MultiSyncStats
 
SystemDebugStats_t SystemDebugStats
 

Constructor & Destructor Documentation

◆ c_FPPDiscovery()

c_FPPDiscovery::c_FPPDiscovery ( )

◆ ~c_FPPDiscovery()

virtual c_FPPDiscovery::~c_FPPDiscovery ( )
inlinevirtual

Member Function Documentation

◆ AllowedToPlayRemoteFile()

bool c_FPPDiscovery::AllowedToPlayRemoteFile ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ begin()

void c_FPPDiscovery::begin ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ BuildFseqResponse()

void c_FPPDiscovery::BuildFseqResponse ( String fname,
c_FileMgr::FileId fseq,
String & resp )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Disable()

void c_FPPDiscovery::Disable ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Enable()

void c_FPPDiscovery::Enable ( void )
Here is the caller graph for this function:

◆ ForgetInputFPPRemotePlayFile()

void c_FPPDiscovery::ForgetInputFPPRemotePlayFile ( )
Here is the caller graph for this function:

◆ GenerateFppSyncMsg()

void c_FPPDiscovery::GenerateFppSyncMsg ( uint8_t Action,
const String & FileName,
uint32_t CurrentFrame,
const float & ElpsedTime )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetConfig()

void c_FPPDiscovery::GetConfig ( JsonObject & jsonConfig)
Here is the caller graph for this function:

◆ GetDriverName()

void c_FPPDiscovery::GetDriverName ( String & Name)
inlineprivate

◆ GetStatus()

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

◆ GetStatusJSON()

void c_FPPDiscovery::GetStatusJSON ( JsonObject & jsonResponse,
bool advanced )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetSysInfoJSON()

void c_FPPDiscovery::GetSysInfoJSON ( JsonObject & jsonResponse)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ NetworkStateChanged()

void c_FPPDiscovery::NetworkStateChanged ( bool NewNetworkState)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PlayFile()

void c_FPPDiscovery::PlayFile ( String & FileToPlay)

◆ PlayingAfile()

bool c_FPPDiscovery::PlayingAfile ( )
inline
Here is the call graph for this function:

◆ PlayingFile()

bool c_FPPDiscovery::PlayingFile ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessBlankPacket()

void c_FPPDiscovery::ProcessBlankPacket ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessBody()

void c_FPPDiscovery::ProcessBody ( AsyncWebServerRequest * request,
uint8_t * data,
uint32_t len,
uint32_t index,
uint32_t total )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessFile()

void c_FPPDiscovery::ProcessFile ( AsyncWebServerRequest * request,
String filename,
uint32_t index,
uint8_t * data,
uint32_t len,
bool final,
uint32_t contentLength = 0 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessFPPDJson()

void c_FPPDiscovery::ProcessFPPDJson ( AsyncWebServerRequest * request)
Here is the caller graph for this function:

◆ ProcessFPPJson()

void c_FPPDiscovery::ProcessFPPJson ( AsyncWebServerRequest * request)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessGET()

void c_FPPDiscovery::ProcessGET ( AsyncWebServerRequest * request)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessPOST()

void c_FPPDiscovery::ProcessPOST ( AsyncWebServerRequest * request)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessReceivedUdpPacket()

void c_FPPDiscovery::ProcessReceivedUdpPacket ( AsyncUDPPacket _packet)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessSyncPacket()

void c_FPPDiscovery::ProcessSyncPacket ( uint8_t action,
String filename,
float seconds_elapsed )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendPingPacket()

void c_FPPDiscovery::sendPingPacket ( IPAddress destination = IPAddress(255, 255, 255, 255))
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetConfig()

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

◆ SetInputFPPRemotePlayFile()

void c_FPPDiscovery::SetInputFPPRemotePlayFile ( c_InputFPPRemote * value)
Here is the caller graph for this function:

◆ SetOperationalState()

void c_FPPDiscovery::SetOperationalState ( bool ActiveFlag)
Here is the caller graph for this function:

◆ StartPlaying()

void c_FPPDiscovery::StartPlaying ( String & FileName,
float SecondsElapsed )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ StopPlaying()

void c_FPPDiscovery::StopPlaying ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ BlankOnStop

bool c_FPPDiscovery::BlankOnStop = false
private

◆ ConfiguredFileToPlay

String c_FPPDiscovery::ConfiguredFileToPlay
private

◆ FppRemoteIp

IPAddress c_FPPDiscovery::FppRemoteIp = IPAddress (uint32_t(0))
private

◆ FppSyncOverride

bool c_FPPDiscovery::FppSyncOverride = false
private

◆ hasBeenInitialized

bool c_FPPDiscovery::hasBeenInitialized = false
private

◆ inFileUpload

bool c_FPPDiscovery::inFileUpload = false
private

◆ InputFPPRemote

c_InputFPPRemote* c_FPPDiscovery::InputFPPRemote = nullptr
private

◆ IsEnabled

bool c_FPPDiscovery::IsEnabled = false
private

◆ MulticastAddress

const IPAddress c_FPPDiscovery::MulticastAddress = IPAddress (239, 70, 80, 80)
private

◆ MultiSyncStats

MultiSyncStats_t c_FPPDiscovery::MultiSyncStats
private

◆ StopInProgress

bool c_FPPDiscovery::StopInProgress = false
private

◆ SystemDebugStats

SystemDebugStats_t c_FPPDiscovery::SystemDebugStats
private

◆ udp

AsyncUDP c_FPPDiscovery::udp
private

◆ UploadFileName

String c_FPPDiscovery::UploadFileName
private

◆ writeFailed

bool c_FPPDiscovery::writeFailed = false
private

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