* added rx channel switching

* switched to crc8 check for valid packet-payload
This commit is contained in:
lumapu 2022-05-09 20:47:05 +02:00
parent 8f444cee2f
commit 37206847c5
11 changed files with 217 additions and 111 deletions

View file

@ -47,6 +47,7 @@ class app : public Main {
void showStatistics(void);
void showHoymiles(void);
void showLiveData(void);
void showDebug(void);
void saveValues(bool webSend);
void updateCrc(void);
@ -82,6 +83,8 @@ class app : public Main {
bool mSerialValues;
bool mSerialDebug;
uint32_t mRxTicker;
// mqtt
mqtt mMqtt;
uint16_t mMqttTicker;
@ -89,6 +92,8 @@ class app : public Main {
bool mMqttActive;
uint16_t mSerialTicker;
uint16_t mSerialInterval;
uint8_t mPayload[MAX_NUM_PAC_PER_PAYLOAD][MAX_RF_PAYLOAD_SIZE-11];
};
#endif /*__APP_H__*/