Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
trame.h
00001 #pragma once 00002 00003 #include<bitset> 00004 #include<string> 00005 #include "mbed.h" 00006 #include "CRC16.h" 00007 00008 using namespace std; 00009 00010 class trame 00011 { 00012 public: 00013 int length; 00014 string text; 00015 int dataLength; 00016 00017 bitset<8> preambule; 00018 bitset<8> start; 00019 bitset<8> type_flags; 00020 bitset<8> message_length; 00021 bitset<640> message; 00022 bitset<16> crc16; 00023 bitset<8> end; 00024 00025 trame( string msg ); 00026 trame( bitset<696> bit ); 00027 bitset<696>* getBitset(); 00028 00029 private: 00030 bitset<696> *bitFrame; 00031 00032 };
Generated on Sat Aug 6 2022 03:21:45 by
1.7.2