Oddělení informace o licenci
This commit is contained in:
@@ -24,13 +24,12 @@ const string cidFilePath = "";
|
||||
|
||||
struct SDCardInfo
|
||||
{
|
||||
uint32_t cardSize {};
|
||||
uint32_t serialNumber {};
|
||||
string date = "";
|
||||
string oemID = "";
|
||||
string name = "";
|
||||
string licenceFileName = "";
|
||||
bool isLoaded = false;
|
||||
uint32_t cardSize{};
|
||||
uint32_t serialNumber{};
|
||||
string date = "";
|
||||
string oemID = "";
|
||||
string name = "";
|
||||
bool isLoaded = false;
|
||||
};
|
||||
|
||||
class SDCard
|
||||
@@ -59,25 +58,22 @@ class SDCard
|
||||
bool crcCorrect = false;
|
||||
};
|
||||
|
||||
bool readSDCard();
|
||||
bool getCIDFromFile();
|
||||
bool getCSDFromFile();
|
||||
bool readSDCard();
|
||||
bool getCIDFromFile();
|
||||
bool getCSDFromFile();
|
||||
|
||||
public:
|
||||
|
||||
SDCardData cardData;
|
||||
bool isLoaded = false;
|
||||
char cid[32] = {};
|
||||
char csd[32] = {};
|
||||
string filePath = "";
|
||||
string cidString = ""; //pro předání pro starý generátor
|
||||
string csdString = ""; //pro předání pro starý generátor
|
||||
string cidString = ""; // pro předání pro starý generátor
|
||||
string csdString = ""; // pro předání pro starý generátor
|
||||
|
||||
SDCard();
|
||||
SDCard(string cid, string csd);
|
||||
SDCard(const string filesPath);
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user