J. Nick Koston 2aa79d50ba
fix
2023-06-05 12:40:16 -05:00

17 lines
502 B
C

#ifndef _RATGDO_ROLLING_CODE_H
#define _RATGDO_ROLLING_CODE_H
extern "C" {
#include "../secplus/secplus.h"
}
void readCounterFromFlash(); // get the rolling code counter from setup.json &
// return it
void writeCounterToFlash(); // write the counter back to setup.json
void getRollingCode(
const char
*command); // get the next rolling code for type
// [reboot1,reboot2,reboot3,reboot4,reboot5,door1,light]
void printRollingCode();
#endif