LoboMQ
|
#include "LoboMQ/BrokerSDUtils.h"
Go to the source code of this file.
Functions | |
String | replaceChars (const char *str) |
bool | initializeSDCard (int csPin, Elog *logger, SemaphoreHandle_t *mutex, TickType_t delay) |
void | restoreBTs (std::vector< BrokerTopic > *topicsVector, Elog *logger, SemaphoreHandle_t *mutex, TickType_t delay) |
void | writeBTToFile (BrokerTopic *brokerTopic, Elog *logger, SemaphoreHandle_t *mutex, TickType_t delay) |
void | deleteBTFile (const char *filename, Elog *logger, SemaphoreHandle_t *mutex, TickType_t delay) |
This file contains the necessary logic to manage BrokerTopic
objects on the SD card for LoboMQ.
Definition in file BrokerSDUtils.cpp.
void deleteBTFile | ( | const char * | filename, |
Elog * | logger, | ||
SemaphoreHandle_t * | mutex, | ||
TickType_t | delay ) |
Definition at line 154 of file BrokerSDUtils.cpp.
bool initializeSDCard | ( | int | csPin, |
Elog * | logger, | ||
SemaphoreHandle_t * | mutex, | ||
TickType_t | delay ) |
Definition at line 34 of file BrokerSDUtils.cpp.
String replaceChars | ( | const char * | str | ) |
Definition at line 11 of file BrokerSDUtils.cpp.
void restoreBTs | ( | std::vector< BrokerTopic > * | topicsVector, |
Elog * | logger, | ||
SemaphoreHandle_t * | mutex, | ||
TickType_t | delay ) |
Definition at line 69 of file BrokerSDUtils.cpp.
void writeBTToFile | ( | BrokerTopic * | brokerTopic, |
Elog * | logger, | ||
SemaphoreHandle_t * | mutex, | ||
TickType_t | delay ) |
Definition at line 124 of file BrokerSDUtils.cpp.