From 6321f9068fb1bc7f05fcb4e0e1330d70a8514b8b Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Tue, 15 Oct 2024 09:57:49 +0200 Subject: [PATCH] Add helpers getReadSource() getSerialPort(). --- include/prot.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/prot.h b/include/prot.h index 36ca14c..fa059d3 100644 --- a/include/prot.h +++ b/include/prot.h @@ -122,6 +122,9 @@ public: uint8_t *RdDlen, uint8_t *receivedData); // retval: data valid, only one time true + uint16_t getReadSource() { return readSource; } // readSource contains last command sent to device controller + T_com *getSerialPort() { return mySerialPort; } // utility function + signals: void framerecieved(); //bool gotINdata);