SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
wifi_types.hpp
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include <cstdint>
13 
14 #include "spsp/exception.hpp"
15 
16 namespace SPSP::WiFi
17 {
18  static constexpr int TX_POWER_DEFAULT = INT_MIN;
19 
25  {
27  };
28 
34  {
35  uint8_t low;
36  uint8_t high;
37  };
38 } // namespace SPSP::WiFi
39 
SPSP::WiFi::ChannelRestrictions::high
uint8_t high
Highest usable channel.
Definition: wifi_types.hpp:36
SPSP::WiFi::ConnectionError
WiFi connection error.
Definition: wifi_types.hpp:24
SPSP::WiFi::ChannelRestrictions::low
uint8_t low
Lowest usable channel.
Definition: wifi_types.hpp:35
SPSP::Exception::Exception
Exception(const std::string &msg)
Constructs a new exception.
Definition: exception.hpp:31
exception.hpp
Base of all SPSP exceptions.
SPSP::WiFi::ChannelRestrictions
WiFi channel restrictions structure.
Definition: wifi_types.hpp:33
SPSP::Exception
Base SPSP exception.
Definition: exception.hpp:21