mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-12 00:02:53 +00:00
KMP headers
This commit is contained in:
parent
263ce9749a
commit
47a7d4e13b
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ node_modules
|
||||
/gui/dist
|
||||
/scripts/*dev
|
||||
/src/KmpCommunicator.cpp
|
||||
/src/KmpCommunicatorDefs.h
|
||||
|
||||
@ -24,4 +24,18 @@ public:
|
||||
|
||||
HardwareSerial* getHwSerial();
|
||||
void rxerr(int err);
|
||||
|
||||
private:
|
||||
uint64_t lastUpdate = 0;
|
||||
uint8_t reqNo = 0;
|
||||
|
||||
uint8_t *hanBuffer = NULL;
|
||||
uint16_t hanBufferSize = 0;
|
||||
Stream *hanSerial;
|
||||
#if defined(ESP8266)
|
||||
SoftwareSerial *swSerial = NULL;
|
||||
#endif
|
||||
HardwareSerial *hwSerial = NULL;
|
||||
uint8_t rxBufferErrors = 0;
|
||||
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user