LOGGER
Logger
Data Logging using ESP8266
|
Macros | |
#define | servicesEdit 2 |
version of this module | |
Functions | |
EXTERNDEF void | dumpBoolean (Print *pPrint, bool value) |
EXTERNDEF void | dumpHEXnumber (Print *pPrint, uint32_t value) |
EXTERNDEF long | stringToLong (String s) |
EXTERNDEF void | dumpFixedPoint (Print *pPrint, int32_t number, uint8_t places) |
EXTERNDEF void | dumpHEXbytes (Print *pPrint, bool spaceBetween, uint8_t count, uint8_t *pBytes) |
EXTERNDEF void | servicesReboot () |
Reboot the system. | |
Service Routines
EXTERNDEF void dumpBoolean | ( | Print * | pPrint, |
bool | value | ||
) |
Dump a boolean value
pPrint | were to emit the result |
value | value to dump |
EXTERNDEF void dumpFixedPoint | ( | Print * | pPrint, |
int32_t | number, | ||
uint8_t | places | ||
) |
Convert a fixed point number to a string
pPrint | where to send the result |
number | value to convert |
places | number of decimal places to emit |
EXTERNDEF void dumpHEXbytes | ( | Print * | pPrint, |
bool | spaceBetween, | ||
uint8_t | count, | ||
uint8_t * | pBytes | ||
) |
Convert an array of bytes to series of HEX Numbers. Each number is displayed as two digits even if the high order digit is a zero.
pPrint | where to send the result |
spaceBetween | put a space between each byte |
count | number of bytes to convert |
pBytes | pointer to the array of bytes |
EXTERNDEF void dumpHEXnumber | ( | Print * | pPrint, |
uint32_t | value | ||
) |
Dump a hex value in the form 0xfffffff
pPrint | were to emit the result |
value | value to dump |
EXTERNDEF long stringToLong | ( | String | s | ) |
Convert a string to a long
s | string to convert |