![]() |
Firmware for an ad-hoc mesh network of Internet-of-Things devices based on LoRa (Long Range radio) that can be deployed quickly and cheaply.
|
Functions | |
String | createUuid () |
Create a uuid string. More... | |
String | convertToHex (byte *data, int size) |
Convert a byte array into a hex string. More... | |
volatile bool | getDuckInterrupt () |
Get the Duck Interrupt state. More... | |
void | setDuckInterrupt (bool interrupt) |
Toggle the duck Interrupt. More... | |
Timer | getTimer () |
Variables | |
volatile bool | enableDuckInterrupt |
Timer | duckTimer |
String duckutils::convertToHex | ( | byte * | data, |
int | size | ||
) |
Convert a byte array into a hex string.
data | a byte array to convert |
size | the size of the array |
String duckutils::createUuid | ( | ) |
Create a uuid string.
volatile bool duckutils::getDuckInterrupt | ( | ) |
Get the Duck Interrupt state.
Timer duckutils::getTimer | ( | ) |
void duckutils::setDuckInterrupt | ( | bool | interrupt | ) |
Toggle the duck Interrupt.
interrupt | true to enable interrupt, false otherwise. |
|
extern |
|
extern |