SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
Main Page
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
e
h
i
k
l
m
n
p
q
r
s
t
u
v
Files
File List
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
include
common
spsp
wifi_espnow_if.hpp
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <cstdint>
13
14
#include "
spsp/wifi_types.hpp
"
15
16
namespace
SPSP::WiFi
17
{
23
class
IESPNOW
24
{
25
public
:
31
virtual
uint8_t
getChannel
() = 0;
32
41
virtual
void
setChannel
(uint8_t ch) = 0;
42
48
virtual
const
ChannelRestrictions
getChannelRestrictions
() = 0;
49
};
50
}
// namespace SPSP::WiFi
51
SPSP::WiFi::IESPNOW::getChannel
virtual uint8_t getChannel()=0
Gets current WiFi channel.
SPSP::WiFi::IESPNOW::getChannelRestrictions
virtual const ChannelRestrictions getChannelRestrictions()=0
Gets currently set channel restrictions of WiFi adapter.
SPSP::WiFi::IESPNOW
Requirements of ESP-NOW from WiFi instance.
Definition:
wifi_espnow_if.hpp:23
SPSP::WiFi::ChannelRestrictions
WiFi channel restrictions structure.
Definition:
wifi_types.hpp:33
wifi_types.hpp
Common WiFi types (and some constants)
SPSP::WiFi::IESPNOW::setChannel
virtual void setChannel(uint8_t ch)=0
Sets current WiFi channel.
Generated by
1.8.17