SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes | List of all members
SPSP::LocalLayers::ESPNOW::IEEE80211::VendorSpecificContent Struct Reference

Vendor specific content of ESP-NOW. More...

#include <espnow_packet_ieee80211.hpp>

Public Member Functions

void setPayloadLen (uint8_t payloadLen)
 Calculates correct len based on actual payload length. More...
 
uint8_t getPayloadLen () const
 Calculates actual payload length. More...
 

Public Attributes

uint8_t elementID = 221
 
uint8_t len
 
uint8_t oui [3] = {0x18, 0xFE, 0x34}
 
uint8_t type = 0x04
 
uint8_t version = 0x01
 
uint8_t payload []
 

Detailed Description

Vendor specific content of ESP-NOW.

Definition at line 61 of file espnow_packet_ieee80211.hpp.

Member Function Documentation

◆ getPayloadLen()

uint8_t SPSP::LocalLayers::ESPNOW::IEEE80211::VendorSpecificContent::getPayloadLen ( ) const
inline

Calculates actual payload length.

Returns
Payload length

Definition at line 82 of file espnow_packet_ieee80211.hpp.

◆ setPayloadLen()

void SPSP::LocalLayers::ESPNOW::IEEE80211::VendorSpecificContent::setPayloadLen ( uint8_t  payloadLen)
inline

Calculates correct len based on actual payload length.

Parameters
payloadLenLength of payload

Definition at line 75 of file espnow_packet_ieee80211.hpp.


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