AlteriomPainlessMesh v2.1.1
Easy ESP32/ESP8266 mesh networking with Alteriom IoT extensions
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
painlessmesh::plugin::BroadcastPackage Class Reference

#include <plugin.hpp>

Inheritance diagram for painlessmesh::plugin::BroadcastPackage:
Inheritance graph
[legend]
Collaboration diagram for painlessmesh::plugin::BroadcastPackage:
Collaboration graph
[legend]

Public Member Functions

 BroadcastPackage (int type)
 
 BroadcastPackage (JsonObject jsonObj)
 
JsonObject addTo (JsonObject &&jsonObj) const
 
- Public Member Functions inherited from painlessmesh::protocol::PackageInterface
virtual ~PackageInterface ()=default
 
virtual size_t jsonObjectSize () const =0
 

Public Attributes

uint32_t from = 0
 
router::Type routing = router::BROADCAST
 
int type = 0
 
int noJsonFields = 3
 

Constructor & Destructor Documentation

◆ BroadcastPackage() [1/2]

painlessmesh::plugin::BroadcastPackage::BroadcastPackage ( int  type)
inline

◆ BroadcastPackage() [2/2]

painlessmesh::plugin::BroadcastPackage::BroadcastPackage ( JsonObject  jsonObj)
inline

Member Function Documentation

◆ addTo()

JsonObject painlessmesh::plugin::BroadcastPackage::addTo ( JsonObject &&  jsonObj) const
inlinevirtual

Member Data Documentation

◆ from

uint32_t painlessmesh::plugin::BroadcastPackage::from = 0

◆ noJsonFields

int painlessmesh::plugin::BroadcastPackage::noJsonFields = 3

◆ routing

router::Type painlessmesh::plugin::BroadcastPackage::routing = router::BROADCAST

◆ type

int painlessmesh::plugin::BroadcastPackage::type = 0

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