Politician 1.0.0
WiFi Auditing Library for ESP32
Loading...
Searching...
No Matches
politician::storage::Hc22000FileLogger Class Reference

Helper for writing HandshakeRecords to an HC22000 text file. More...

#include <PoliticianStorage.h>

Static Public Member Functions

static bool append (fs::FS &fs, const char *path, const HandshakeRecord &rec)
 Appends a HandshakeRecord to a file as an HC22000 string.
 

Detailed Description

Helper for writing HandshakeRecords to an HC22000 text file.

Definition at line 99 of file PoliticianStorage.h.

Member Function Documentation

◆ append()

static bool politician::storage::Hc22000FileLogger::append ( fs::FS &  fs,
const char *  path,
const HandshakeRecord rec 
)
inlinestatic

Appends a HandshakeRecord to a file as an HC22000 string.

Parameters
fsThe filesystem (e.g., SD, LittleFS)
pathThe path to the file (e.g., "/captures.22000")
recThe HandshakeRecord to write
Returns
true if successful, false if file could not be opened

Definition at line 109 of file PoliticianStorage.h.

References politician::format::toHC22000().


The documentation for this class was generated from the following file: