Upravy a opravování kryptování
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
#ifndef EZ_APPLICATION_LICENCE_DISABLE
|
||||
|
||||
#ifndef SDCARD_H_
|
||||
#define SDCARD_H_
|
||||
|
||||
@@ -25,9 +27,9 @@ struct SDCardInfo
|
||||
uint32_t cardSize {};
|
||||
uint32_t serialNumber {};
|
||||
string date = "";
|
||||
uint8_t manufacturerID {};
|
||||
char oemID[2] = {};
|
||||
char name[5] = {};
|
||||
string oemID = "";
|
||||
string name = "";
|
||||
string licenceFileName = "";
|
||||
bool isLoaded = false;
|
||||
};
|
||||
|
||||
@@ -47,6 +49,7 @@ class SDCard
|
||||
uint32_t serialNumber = 0; // seriove cislo karty 4B -> Byte 3-6
|
||||
uint16_t manufacturerDate_year = 0;
|
||||
uint8_t manufacturerDate_month = 0;
|
||||
string date = "";
|
||||
char manufacturerDate[10] = {}; //: STRING(10); // datum vyroby 2B [bcd -yym] -> Byte 1-2, bity 0-3 = mesic, bity 4-11 = posledni cislice roku or roku 2000, bity 12-15 nepouzito
|
||||
uint8_t CRCOK = 0; // CRC 1B -> Byte 0, bity 1-7, bit 0 je vzdy = 1
|
||||
uint8_t CSD_nibble[32] = {}; //: ARRAY [0..31] OF BYTE; // surova data CSD ze souboru
|
||||
@@ -77,4 +80,5 @@ public:
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user