Capture EAPOL packets

This commit is contained in:
Just Call Me Koko
2020-03-21 18:54:14 -04:00
parent 56acee78e4
commit 40e11b71f0
14 changed files with 555 additions and 27 deletions

View File

@@ -0,0 +1,23 @@
#ifndef BatteryInterface_h
#define BatteryInterface_h
#include <Wire.h>
#define I2C_SDA 33
#define I2C_SCL 22
#define IP5306_ADDR 0x75
class BatteryInterface {
private:
public:
int8_t battery_level = 0;
bool i2c_supported = false;
BatteryInterface();
void RunSetup();
int8_t getBatteryLevel();
};
#endif