aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Drivers
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2019-07-09 16:52:02 +0300
committerShlomo Hecht <shlomo@twine-s.com>2019-07-09 16:52:02 +0300
commite4eaedb7bcca2276a17bda687d7773dc1540346d (patch)
tree10b63964c75e8a628e3a72138aa36ff1077e6963 /Software/Embedded_SW/Embedded/Drivers
parent5cf2e060dcb21338d838e103951762b3e7eb4702 (diff)
downloadTango-e4eaedb7bcca2276a17bda687d7773dc1540346d.tar.gz
Tango-e4eaedb7bcca2276a17bda687d7773dc1540346d.zip
improve flash handling
Diffstat (limited to 'Software/Embedded_SW/Embedded/Drivers')
-rw-r--r--Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/RFIDTagInfo.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/RFIDTagInfo.h b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/RFIDTagInfo.h
index 9136e4007..eb9e11574 100644
--- a/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/RFIDTagInfo.h
+++ b/Software/Embedded_SW/Embedded/Drivers/I2C_Communication/RFID_NFC/RFIDTagInfo.h
@@ -14,12 +14,12 @@ typedef struct
uint8_t CartSN[16]; //Cartridge serial number
uint32_t InkFactoryID:24; //Ink factory ID
uint32_t FillSysID:16; //Filling system ID number
- uint32_t ColorID; //Color description / ID
+ uint8_t ColorName[12]; //Color description / ID
uint32_t InkCategory:16; //Ink category (TBD)
uint32_t Type_Rev:16; //TBD – can be formulation #
uint32_t CartridgeSize; //Size in cc
uint32_t FiledInkVol; //Size in cc
- uint32_t InkBatchNo:16; //MFG batch No’
+ uint8_t InkBatchNo[10]; //MFG batch No’
uint8_t InkMFGDate[6]; //Date Ink was manufactured (20L container bar-code)
uint8_t InkEOLDate[6]; //Ink end of life date
uint8_t CartFillDate[6]; //Date cartridge was filled with ink (CFS)
@@ -30,20 +30,20 @@ typedef struct
uint8_t InkUsedStatus;
uint8_t InkEmptyStatus;
uint8_t WasteEmptyStatus;
- uint8_t WasteFillStatus;
+ uint8_t WasteFillingStatus;
uint8_t WasteFullStatus;
uint8_t Blocked;
uint8_t Fail;
uint32_t WasteCounter:16;
uint8_t MachineIdINL[16];
uint8_t MachineIdWST[16];
- uint8_t Spare[4];
+ uint8_t Spare[13];
}NFCTag_t;
typedef union
{
NFCTag_t Struct;
- uint8_t Buf[sizeof(NFCTag)];
+ uint8_t Buf[sizeof(NFCTag_t)];
}NFC_Tag;
#endif /* DRIVERS_I2C_COMMUNICATION_RFID_NFC_RFIDTAGINFO_H_ */