APP 4
Dependencies: mbed CRC16 mbed-rtos
Diff: MEF.h
- Revision:
- 27:011ad1667040
- Parent:
- 26:f2b37f9dfca9
--- a/MEF.h Tue Feb 23 20:56:47 2016 +0000 +++ b/MEF.h Tue Feb 23 21:15:05 2016 +0000 @@ -13,17 +13,22 @@ private: + //Verification du start byte bool startChecker(); + //Verification du preamble byte bool preambleChecker(); + //Calcul de la longueur int calculateSize(); bool compareCRC(); - void error(); void init(); - + //État actuel de la mef STATES state; + //Buffer d'entrée bitset<16> m_InputBuffer; + //Payload en bits bitset<MAX_DATA> m_BSPayload; + //Payload en char char m_CPayload[80]; int m_Counter; int m_DataSize;