Experiment of serial command protocol

Dependencies:   RingBuffer SerialInterfaceProtocol duinotech_16x2_LCD mbed

You can edit this area

Revision:
3:0c4aa3cec685
Parent:
2:54932809c7b2
diff -r 54932809c7b2 -r 0c4aa3cec685 SerialInterfaceProtocol.h
--- a/SerialInterfaceProtocol.h	Thu Jun 09 12:28:31 2016 +0000
+++ b/SerialInterfaceProtocol.h	Thu Jun 16 03:52:01 2016 +0000
@@ -20,7 +20,7 @@
 public:
     // namespace
     
-private:
+protected:
     // internal variable
     callback_func CommandVectorTable[SIP_CMD_VECTOR_TABLE_SZ];
     
@@ -35,7 +35,7 @@
     // internal state
     bool isChecksumEnabled;
     
-private:
+protected:
     // internal methods
     int execute(uint8_t *response, uint8_t *response_length);