diff --git a/CLI_8cpp.html b/CLI_8cpp.html new file mode 100644 index 0000000..c647e02 --- /dev/null +++ b/CLI_8cpp.html @@ -0,0 +1,162 @@ + + +
+ + + + +
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include "CLI.h"
#include "config.h"
#include "serial_output.h"
#include "tools.h"
#include "Settings.h"
#include "Radio.h"
#include "OOKwiz.h"
Go to the source code of this file.
++Namespaces | |
CLI | |
+Macros | |
#define | COMMAND(c) |
#define | END_CMD return; } |
+Functions | |
void | CLI::parse (String cmd) |
void | CLI::loop () |
+Variables | |
bool | CLI::cli_start_msg_printed = false |
String | CLI::serial_buffer |
#define COMMAND | +( | ++ | c | ) | ++ |
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include <Arduino.h>
Go to the source code of this file.
++Namespaces | |
CLI | |
+Functions | |
void | CLI::loop () |
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include "Device.h"
#include "serial_output.h"
#include "device_plugins/DEVICE_INDEX"
#include "tools.h"
#include "Settings.h"
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include <Arduino.h>
#include "config.h"
#include "RawTimings.h"
#include "Pulsetrain.h"
#include "Meaning.h"
#include "tools.h"
Go to the source code of this file.
++Classes | |
class | Device |
+Macros | |
#define | DEVICE_PLUGIN_START(name) |
#define | DEVICE_PLUGIN_END(name) |
#define DEVICE_PLUGIN_START | +( | ++ | name | ) | ++ |
#define DEVICE_PLUGIN_END | +( | ++ | name | ) | ++ |
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include "config.h"
#include "Meaning.h"
#include "Pulsetrain.h"
#include "RawTimings.h"
#include "serial_output.h"
#include "tools.h"
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
Go to the source code of this file.
++Classes | |
struct | MeaningElement |
Chunks of parsed packet. Either a pulse, a gap or a block of decoded data. More... | |
class | Meaning |
Holds the parsed packet as a collection of MeaningElements. More... | |
+Typedefs | |
typedef enum modulation | modulation |
Encodes type of modulation for a MeaningElement. More... | |
typedef struct MeaningElement | MeaningElement |
Chunks of parsed packet. Either a pulse, a gap or a block of decoded data. More... | |
+Enumerations | |
enum | modulation { + UNKNOWN +, PULSE +, GAP +, PWM +, + PPM + + } |
Encodes type of modulation for a MeaningElement. More... | |
typedef enum modulation modulation | +
Encodes type of modulation for a MeaningElement.
+ +typedef struct MeaningElement MeaningElement | +
Chunks of parsed packet. Either a pulse, a gap or a block of decoded data.
+ +enum modulation | +
Encodes type of modulation for a MeaningElement.
+Enumerator | |
---|---|
UNKNOWN | |
PULSE | |
GAP | |
PWM | |
PPM |
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include <Arduino.h>
#include "config.h"
#include "Radio.h"
#include "RawTimings.h"
#include "Pulsetrain.h"
#include "Meaning.h"
#include "Settings.h"
#include "Device.h"
#include "tools.h"
#include "serial_output.h"
Go to the source code of this file.
++Classes | |
struct | BufferPair |
class | OOKwiz |
The static functions in the OOKwiz class provide the main controls for OOKwiz' functionality. Prefix them with OOKwiz:: to use them from your own code. More... | |
+Typedefs | |
typedef struct BufferPair | BufferPair |
typedef struct BufferPair BufferPair | +
In the ISR handling of packets, we want to operate on three sets of RawTimings and Pulsetrain (isr_in, isr_compare and isr_out), hence this struct.
+ +
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include <algorithm>
#include "Pulsetrain.h"
#include "RawTimings.h"
#include "Meaning.h"
#include "Settings.h"
#include "serial_output.h"
#include "tools.h"
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
Go to the source code of this file.
++Classes | |
struct | pulseBin |
Struct that holds information about a 'bin' in a Pulsetrain, a range of timings that are lumped together when converting RawTimings to a Pulsetrain. More... | |
class | Pulsetrain |
Instances of Pulsetrain represent packets in a normalized way, meaning all intervals of similar length are made equal. More... | |
+Typedefs | |
typedef struct pulseBin | pulseBin |
Struct that holds information about a 'bin' in a Pulsetrain, a range of timings that are lumped together when converting RawTimings to a Pulsetrain. More... | |
Struct that holds information about a 'bin' in a Pulsetrain, a range of timings that are lumped together when converting RawTimings to a Pulsetrain.
+ +
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include "Radio.h"
#include "serial_output.h"
#include "tools.h"
#include "radio_plugins/RADIO_INDEX"
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include <Arduino.h>
#include <RadioLib.h>
#include <SPI.h>
#include "config.h"
#include "tools.h"
Go to the source code of this file.
++Classes | |
class | Radio |
+Macros | |
#define | RADIO_PLUGIN_START |
#define | RADIO_PLUGIN_END |
#define | CHECK_RADIO_SET |
#define | PIN_MODE(x, y) if (x != -1) pinMode(x, y); |
#define | PIN_WRITE(x, y) if (x != -1) digitalWrite(x, y); |
#define | PIN_INPUT(x) if (x != -1) pinMode(x, INPUT) |
#define | PIN_OUTPUT(x) if (x != -1) pinMode(x, OUTPUT) |
#define | PIN_HIGH(x) if (x != -1) { pinMode(x, OUTPUT); digitalWrite(x, HIGH); } |
#define | PIN_LOW(x) if (x != -1) { pinMode(x, OUTPUT); digitalWrite(x, LOW); } |
#define | RADIO_DO(action) |
#define | MODULE_DO(action) |
#define RADIO_PLUGIN_START | +
#define RADIO_PLUGIN_END | +
#define CHECK_RADIO_SET | +
#define PIN_MODE | +( | ++ | x, | +
+ | + | + | y | +
+ | ) | +if (x != -1) pinMode(x, y); | +
#define PIN_WRITE | +( | ++ | x, | +
+ | + | + | y | +
+ | ) | +if (x != -1) digitalWrite(x, y); | +
#define PIN_INPUT | +( | ++ | x | ) | +if (x != -1) pinMode(x, INPUT) | +
#define PIN_OUTPUT | +( | ++ | x | ) | +if (x != -1) pinMode(x, OUTPUT) | +
#define PIN_HIGH | +( | ++ | x | ) | +if (x != -1) { pinMode(x, OUTPUT); digitalWrite(x, HIGH); } | +
#define PIN_LOW | +( | ++ | x | ) | +if (x != -1) { pinMode(x, OUTPUT); digitalWrite(x, LOW); } | +
#define RADIO_DO | +( | ++ | action | ) | ++ |
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include "RawTimings.h"
#include "Pulsetrain.h"
#include "serial_output.h"
#include "Settings.h"
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
Go to the source code of this file.
++Classes | |
class | RawTimings |
RawTimings instances store the time in µs of each interval. More... | |
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
#include "Settings.h"
#include "config.h"
#include "serial_output.h"
#include "FS.h"
#include "SPIFFS.h"
#include "tools.h"
Go to the source code of this file.
++Variables | |
Settings | dummy |
Settings dummy | +
Definition at line 303 of file Settings.cpp.
+ +
+ OOKwiz
+
+ on/off-keying for ESP32 and a variety of supported radio modules
+ |
+
Go to the source code of this file.
++Classes | |
class | Settings |
+Macros | |
#define | SETTING(name) Settings::get(#name, name); |
#define | SETTING_WITH_DEFAULT(name, default) if (!Settings::get(#name, name)) name = default; |
#define | SETTING_OR_ERROR(name) |
#define | MANDATORY(name) |
#define SETTING | +( | ++ | name | ) | +Settings::get(#name, name); | +
Definition at line 10 of file Settings.h.
+ +#define SETTING_WITH_DEFAULT | +( | ++ | name, | +
+ | + | + | default | +
+ | ) | +if (!Settings::get(#name, name)) name = default; | +
Definition at line 14 of file Settings.h.
+ +#define SETTING_OR_ERROR | +( | ++ | name | ) | ++ |
Definition at line 21 of file Settings.h.
+ +#define MANDATORY | +( | ++ | name | ) | ++ |
Definition at line 26 of file Settings.h.
+ +CDevice | |
CMeaning | Holds the parsed packet as a collection of MeaningElements |
CMeaningElement | Chunks of parsed packet. Either a pulse, a gap or a block of decoded data |
COOKwiz | The static functions in the OOKwiz class provide the main controls for OOKwiz' functionality. Prefix them with OOKwiz:: to use them from your own code |
CpulseBin | Struct that holds information about a 'bin' in a Pulsetrain, a range of timings that are lumped together when converting RawTimings to a Pulsetrain |
CPulsetrain | Instances of Pulsetrain represent packets in a normalized way, meaning all intervals of similar length are made equal |
CRadio | |
CRawTimings | RawTimings instances store the time in µs of each interval |
CSettings | |
CBufferPair | |
CDevice | |
CMeaning | Holds the parsed packet as a collection of MeaningElements |
CMeaningElement | Chunks of parsed packet. Either a pulse, a gap or a block of decoded data |
COOKwiz | The static functions in the OOKwiz class provide the main controls for OOKwiz' functionality. Prefix them with OOKwiz:: to use them from your own code |
CpulseBin | Struct that holds information about a 'bin' in a Pulsetrain, a range of timings that are lumped together when converting RawTimings to a Pulsetrain |
CPulsetrain | Instances of Pulsetrain represent packets in a normalized way, meaning all intervals of similar length are made equal |
CRadio | |
CRawTimings | RawTimings instances store the time in µs of each interval |
CSettings |
This is the complete list of members for Device, including all inherited members.
add(const char *name, Device *pointer) (defined in Device) | Device | static |
len (defined in Device) | Device | static |
list(String separator=", ") (defined in Device) | Device | static |
name (defined in Device) | Device | |
new_packet(RawTimings &raw, Pulsetrain &train, Meaning &meaning) (defined in Device) | Device | static |
pointer (defined in Device) | Device | |
receive(const RawTimings &raw, const Pulsetrain &train, const Meaning &meaning) (defined in Device) | Device | virtual |
setup() (defined in Device) | Device | static |
store (defined in Device) | Device | static |
transmit(const String &plugin_name, const String &toTransmit) (defined in Device) | Device | static |
transmit(const String &toTransmit) (defined in Device) | Device | virtual |
add(const char *name, Device *pointer) | Device | static |
len | Device | static |
list(String separator=", ") | Device | static |
name | Device | |
new_packet(RawTimings &raw, Pulsetrain &train, Meaning &meaning) | Device | static |
pointer | Device | |
receive(const RawTimings &raw, const Pulsetrain &train, const Meaning &meaning) | Device | virtual |
setup() | Device | static |
store | Device | static |
transmit(const String &plugin_name, const String &toTransmit) | Device | static |
transmit(const String &toTransmit) | Device | virtual |
#include <Device.h>
Public Member Functions | |
-virtual bool | receive (const RawTimings &raw, const Pulsetrain &train, const Meaning &meaning) |
virtual bool | receive (const RawTimings &raw, const Pulsetrain &train, const Meaning &meaning) |
-virtual bool | transmit (const String &toTransmit) |
virtual bool | transmit (const String &toTransmit) |
Static Public Member Functions | |
-static bool | setup () |
static bool | setup () |
-static bool | add (const char *name, Device *pointer) |
static bool | add (const char *name, Device *pointer) |
-static String | list (String separator=", ") |
static String | list (String separator=", ") |
-static bool | new_packet (RawTimings &raw, Pulsetrain &train, Meaning &meaning) |
static bool | new_packet (RawTimings &raw, Pulsetrain &train, Meaning &meaning) |
-static bool | transmit (const String &plugin_name, const String &toTransmit) |
static bool | transmit (const String &plugin_name, const String &toTransmit) |
Static Public Attributes | |
-struct { | |
- Device * pointer | |
struct { | |
Device * pointer | |
- char name [MAX_DEVICE_NAME_LEN] | |
char name [MAX_DEVICE_NAME_LEN] | |
} | store [MAX_DEVICES] |
} | store [MAX_DEVICES] |
-static int | len = 0 |
static int | len = 0 |
+
|
+ +static | +
Definition at line 12 of file Device.cpp.
+ +
+
|
+ +static | +
Definition at line 33 of file Device.cpp.
+ +
+
|
+ +static | +
Definition at line 44 of file Device.cpp.
+ +
+
|
+ +static | +
Definition at line 17 of file Device.cpp.
+ +
+
|
+ +static | +
Definition at line 60 of file Device.cpp.
+ +
+
|
+ +virtual | +
Definition at line 69 of file Device.cpp.
+ +
+
|
+ +virtual | +
Definition at line 73 of file Device.cpp.
+ +char Device::name[MAX_DEVICE_NAME_LEN] | +
struct { ... } Device::store[MAX_DEVICES] | +
+
|
+ +static | +
Public Member Functions | |
- | operator bool () |
If you try to evaluate the instance as a bool, for instance in if (myMeaning) ... , it will be true if this holds Meaning elements. | |
operator bool () | |
If you try to evaluate the instance as a bool, for instance in if (myMeaning) ... , it will be true if this holds Meaning elements. More... | |
-void | zap () |
empty out all Meaning elements | |
void | zap () |
empty out all Meaning elements More... | |
bool | fromPulsetrain (Pulsetrain &train) |
Convert Pulsetrain to Meaning. More... |
Public Attributes | |
-std::vector< MeaningElement > | elements |
The MeaningElement structs that make up the parsed packet. | |
std::vector< MeaningElement > | elements |
The MeaningElement structs that make up the parsed packet. More... | |
-bool | suspected_incomplete = false |
Set when there were no repetitions and the number of bits detected is not divisible by 4. | |
bool | suspected_incomplete = false |
Set when there were no repetitions and the number of bits detected is not divisible by 4. More... | |
-uint16_t | repeats = 0 |
Number of repeats of the signal. | |
uint16_t | repeats = 0 |
Number of repeats of the signal. More... | |
-uint16_t | gap = 0 |
Shortest time between two repetitions. | |
uint16_t | gap = 0 |
Shortest time between two repetitions. More... | |
Meaning::operator bool | +( | +) | ++ |
If you try to evaluate the instance as a bool, for instance in if (myMeaning) ...
, it will be true
if this holds Meaning elements.
Definition at line 23 of file Meaning.cpp.
+ +void Meaning::zap | +( | +) | ++ |
empty out all Meaning elements
+ +Definition at line 28 of file Meaning.cpp.
+std::vector<MeaningElement> Meaning::elements | +
The MeaningElement structs that make up the parsed packet.
+ + + +bool Meaning::suspected_incomplete = false | +
uint16_t Meaning::repeats = 0 | +
uint16_t Meaning::gap = 0 | +
Normally, OOKwiz will start up in receive mode. If you set 'start_in_standby', it will start in standby mode instead.
skip_saved_defaults | The settings in the SPIFFS file 'defaults' are not read when this is true, leaving only the factory defaults from config.cpp. + |
skip_saved_defaults | The settings in the SPIFFS file 'defaults' are not read when this is true, leaving only the factory defaults from config.cpp. |
Public Member Functions | |
-IRAM_ATTR | operator bool () |
If you try to evaluate the instance as a bool (e.g. if (myPulsetrain) ... ) this will be true if there's transitions stored. | |
IRAM_ATTR | operator bool () |
If you try to evaluate the instance as a bool (e.g. if (myPulsetrain) ... ) this will be true if there's transitions stored. More... | |
-void IRAM_ATTR | zap () |
empty out all information about the stored pulses | |
void IRAM_ATTR | zap () |
empty out all information about the stored pulses More... | |
bool IRAM_ATTR | sameAs (const Pulsetrain &other_train) |
Compare to other Pulsetrains to see if same packet. Ignores minor timing differences. Used internally by ISR processing to see if packet is a repeat. More... | |
RawTimings | toRawTimings () |
Pulsetrain to RawTimings. More... | |
-bool | fromMeaning (const Meaning &meaning) |
bool | fromMeaning (const Meaning &meaning) |
Meaning | toMeaning () |
Pulsetrain to Meaning. More... |
Public Attributes | |
-std::vector< pulseBin > | bins |
std::vector with the bins, each a PulseBin struct | |
std::vector< pulseBin > | bins |
std::vector with the bins, each a PulseBin struct More... | |
-std::vector< uint8_t > | transitions |
std::vector with the transitions, each merely the pulsebin that transition is in | |
std::vector< uint8_t > | transitions |
std::vector with the transitions, each merely the pulsebin that transition is in More... | |
-uint32_t | duration = 0 |
Total duration of this Pulsetrain in µs. | |
uint32_t | duration = 0 |
Total duration of this Pulsetrain in µs. More... | |
-int64_t | first_at = 0 |
First seen at this time, in system microseconds. | |
int64_t | first_at = 0 |
First seen at this time, in system microseconds. More... | |
-int64_t | last_at = 0 |
Last seen at this time, in system microseconds. | |
int64_t | last_at = 0 |
Last seen at this time, in system microseconds. More... | |
-uint16_t | repeats = 0 |
Number of repetitions detected before either another packet came or repeat_timeout µs elapsed. | |
uint16_t | repeats = 0 |
Number of repetitions detected before either another packet came or repeat_timeout µs elapsed. More... | |
-uint16_t | gap = 0 |
Smallest gap between repeated transmissions. | |
uint16_t | gap = 0 |
Smallest gap between repeated transmissions. More... | |
IRAM_ATTR Pulsetrain::operator bool | +( | +) | ++ |
If you try to evaluate the instance as a bool (e.g. if (myPulsetrain) ...
) this will be true
if there's transitions stored.
Definition at line 29 of file Pulsetrain.cpp.
+ +void IRAM_ATTR Pulsetrain::zap | +( | +) | ++ |
empty out all information about the stored pulses
+ +Definition at line 34 of file Pulsetrain.cpp.
+bool Pulsetrain::fromMeaning | +( | +const Meaning & | +meaning | ) | ++ |
Definition at line 273 of file Pulsetrain.cpp.
+std::vector<pulseBin> Pulsetrain::bins | +
std::vector with the bins, each a PulseBin struct
+ +Definition at line 29 of file Pulsetrain.h.
+ +std::vector<uint8_t> Pulsetrain::transitions | +
std::vector with the transitions, each merely the pulsebin that transition is in
+ +Definition at line 31 of file Pulsetrain.h.
+ +uint32_t Pulsetrain::duration = 0 | +
Total duration of this Pulsetrain in µs.
+ +Definition at line 33 of file Pulsetrain.h.
+ +int64_t Pulsetrain::first_at = 0 | +
First seen at this time, in system microseconds.
+ +Definition at line 35 of file Pulsetrain.h.
+ +int64_t Pulsetrain::last_at = 0 | +
Last seen at this time, in system microseconds.
+ +Definition at line 37 of file Pulsetrain.h.
+ +uint16_t Pulsetrain::repeats = 0 | +
Number of repetitions detected before either another packet came or repeat_timeout
µs elapsed.
Definition at line 39 of file Pulsetrain.h.
+ +uint16_t Pulsetrain::gap = 0 | +
Smallest gap between repeated transmissions.
+ +Definition at line 41 of file Pulsetrain.h.
+This is the complete list of members for Radio, including all inherited members.
add(const char *name, Radio *pointer) (defined in Radio) | Radio | static |
bandwidth (defined in Radio) | Radio | |
bitrate (defined in Radio) | Radio | |
current (defined in Radio) | Radio | static |
frequency (defined in Radio) | Radio | |
init() (defined in Radio) | Radio | virtual |
len (defined in Radio) | Radio | static |
list(String separator=", ") (defined in Radio) | Radio | static |
name (defined in Radio) | Radio | |
name() (defined in Radio) | Radio | |
pin_cs (defined in Radio) | Radio | |
pin_rx (defined in Radio) | Radio | static |
pin_tx (defined in Radio) | Radio | static |
pointer (defined in Radio) | Radio | |
radio_init() (defined in Radio) | Radio | static |
radio_rx() (defined in Radio) | Radio | static |
radio_standby() (defined in Radio) | Radio | static |
radio_tx() (defined in Radio) | Radio | static |
radiolibInit() (defined in Radio) | Radio | |
radioLibModule (defined in Radio) | Radio | |
rx() (defined in Radio) | Radio | virtual |
select(const String &name) (defined in Radio) | Radio | static |
setup() (defined in Radio) | Radio | static |
showRadiolibResult(const int result, const char *action) (defined in Radio) | Radio | |
spi (defined in Radio) | Radio | |
standby() (defined in Radio) | Radio | virtual |
store (defined in Radio) | Radio | static |
threshold_level (defined in Radio) | Radio | |
threshold_type_average (defined in Radio) | Radio | |
threshold_type_fixed (defined in Radio) | Radio | |
threshold_type_int (defined in Radio) | Radio | |
threshold_type_peak (defined in Radio) | Radio | |
thresholdSetup(const int fixed, const int average, const int peak) (defined in Radio) | Radio | |
tx() (defined in Radio) | Radio | virtual |
add(const char *name, Radio *pointer) | Radio | static |
bandwidth | Radio | |
bitrate | Radio | |
current | Radio | static |
frequency | Radio | |
init() | Radio | virtual |
len | Radio | static |
list(String separator=", ") | Radio | static |
name | Radio | |
name() | Radio | |
pin_cs | Radio | |
pin_rx | Radio | static |
pin_tx | Radio | static |
pointer | Radio | |
radio_init() | Radio | static |
radio_rx() | Radio | static |
radio_standby() | Radio | static |
radio_tx() | Radio | static |
radiolibInit() | Radio | |
radioLibModule | Radio | |
rx() | Radio | virtual |
select(const String &name) | Radio | static |
setup() | Radio | static |
showRadiolibResult(const int result, const char *action) | Radio | |
spi | Radio | |
standby() | Radio | virtual |
store | Radio | static |
threshold_level | Radio | |
threshold_type_average | Radio | |
threshold_type_fixed | Radio | |
threshold_type_int | Radio | |
threshold_type_peak | Radio | |
thresholdSetup(const int fixed, const int average, const int peak) | Radio | |
tx() | Radio | virtual |
#include <Radio.h>
Public Member Functions | |
-String | name () |
String | name () |
-virtual bool | init () |
virtual bool | init () |
-virtual bool | rx () |
virtual bool | rx () |
-virtual bool | tx () |
virtual bool | tx () |
-virtual bool | standby () |
virtual bool | standby () |
-void | radiolibInit () |
void | radiolibInit () |
-void | showRadiolibResult (const int result, const char *action) |
void | showRadiolibResult (const int result, const char *action) |
-int | thresholdSetup (const int fixed, const int average, const int peak) |
int | thresholdSetup (const int fixed, const int average, const int peak) |
Static Public Member Functions | |
-static bool | add (const char *name, Radio *pointer) |
static bool | add (const char *name, Radio *pointer) |
-static bool | setup () |
static bool | setup () |
-static bool | select (const String &name) |
static bool | select (const String &name) |
-static String | list (String separator=", ") |
static String | list (String separator=", ") |
-static bool | radio_init () |
static bool | radio_init () |
-static bool | radio_rx () |
static bool | radio_rx () |
-static bool | radio_tx () |
static bool | radio_tx () |
-static bool | radio_standby () |
static bool | radio_standby () |
Public Attributes | |
-Module * | radioLibModule |
Module * | radioLibModule |
-SPIClass * | spi |
SPIClass * | spi |
-int | pin_cs |
int | pin_cs |
-float | frequency |
float | frequency |
-float | bandwidth |
float | bandwidth |
-float | bitrate |
float | bitrate |
-int | threshold_type_fixed |
int | threshold_type_fixed |
-int | threshold_type_peak |
int | threshold_type_peak |
-int | threshold_type_average |
int | threshold_type_average |
-int | threshold_type_int |
int | threshold_type_int |
-int | threshold_level |
int | threshold_level |
-Radio * | pointer |
Radio * | pointer |
-char | name [MAX_RADIO_NAME_LEN] |
char | name [MAX_RADIO_NAME_LEN] |
Static Public Attributes | |
-struct { | |
- Radio * pointer | |
struct { | |
Radio * pointer | |
- char name [MAX_RADIO_NAME_LEN] | |
char name [MAX_RADIO_NAME_LEN] | |
} | store [MAX_RADIOS] |
} | store [MAX_RADIOS] |
-static Radio * | current = nullptr |
static Radio * | current = nullptr |
-static int | len = 0 |
static int | len = 0 |
-static int | pin_rx |
static int | pin_rx |
-static int | pin_tx |
static int | pin_tx |
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
String Radio::name | +( | +) | ++ |
+
|
+ +virtual | +
+
|
+ +virtual | +
+
|
+ +virtual | +
+
|
+ +virtual | +
void Radio::showRadiolibResult | +( | +const int | +result, | +
+ | + | const char * | +action | +
+ | ) | ++ |
int Radio::thresholdSetup | +( | +const int | +fixed, | +
+ | + | const int | +average, | +
+ | + | const int | +peak | +
+ | ) | ++ |
struct { ... } Radio::store[MAX_RADIOS] | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
+
|
+ +static | +
Public Member Functions | |
- | operator bool () |
If you try to evaluate the instance as a bool, for instance in if (myRawTimings) ... , it will be true if there's intervals stored. | |
operator bool () | |
If you try to evaluate the instance as a bool, for instance in if (myRawTimings) ... , it will be true if there's intervals stored. More... | |
-void | zap () |
empty out the stored intervals | |
void | zap () |
empty out the stored intervals More... | |
String | toString () |
Get the String representation, which is a comma-separated list of intervals. More... |
Public Attributes | |
-std::vector< uint16_t > | intervals |
std::vector of uint16_t times in µs for each interval | |
std::vector< uint16_t > | intervals |
std::vector of uint16_t times in µs for each interval More... | |
RawTimings::operator bool | +( | +) | ++ |
If you try to evaluate the instance as a bool, for instance in if (myRawTimings) ...
, it will be true
if there's intervals stored.
Definition at line 37 of file RawTimings.cpp.
+ +void RawTimings::zap | +( | +) | ++ |
empty out the stored intervals
+ +Definition at line 42 of file RawTimings.cpp.
+std::vector<uint16_t> RawTimings::intervals | +
std::vector of uint16_t times in µs for each interval
+ +Definition at line 16 of file RawTimings.h.
+#include <Settings.h>
+Public Member Functions | |
Settings () | |