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.
DuckUtils.h File Reference

This file is internal to CDP and provides some common utility methods. More...

#include "cdpcfg.h"
#include "timer.h"
#include <Arduino.h>
#include <WString.h>

Go to the source code of this file.

Namespaces

 duckutils
 

Functions

String duckutils::createUuid ()
 Create a uuid string. More...
 
String duckutils::convertToHex (byte *data, int size)
 Convert a byte array into a hex string. More...
 
volatile bool duckutils::getDuckInterrupt ()
 Get the Duck Interrupt state. More...
 
void duckutils::setDuckInterrupt (bool interrupt)
 Toggle the duck Interrupt. More...
 
Timer duckutils::getTimer ()
 

Variables

volatile bool duckutils::enableDuckInterrupt
 
Timer duckutils::duckTimer
 

Detailed Description

This file is internal to CDP and provides some common utility methods.

Version
Date
2020-09-16