- PrintAndLog("NationalCode: %x%08x",NationalCodeB,NationalCodeA);
- //add rest of print code here...
- /*
- uint8_t ByteStream[16] = {0x00};
- uint8_t bitCnt = 0;
- uint8_t ByteCnt = 0;
- size_t startIdx = preambleIndex + 11; //start after preamble
- for (size_t idx = 0; idx < size-11; idx++){
-
- //lsb first
- ByteStream[ByteCnt] = ByteStream[ByteCnt] | (BitStream[startIdx+idx] << bitCnt);
- bitCnt++;
- if (bitCnt % 8 == 0){
- if (g_debugMode) PrintAndLog("byte %d: %02x", ByteCnt, ByteStream[ByteCnt]);
- bitCnt = 0;
- ByteCnt++;
- }
- }
- */
+ PrintAndLog("NationalCode: %X%08X",NationalCodeB,NationalCodeA);
+ PrintAndLog("CountryCode: %d",countryCode);
+ PrintAndLog("dataBlockBit: %d",dataBlockBit);
+ PrintAndLog("reservedCode: %X",reservedCode);
+ PrintAndLog("animalBit: %d", animalBit);
+ PrintAndLog("CRC: %02X", crc16);
+ PrintAndLog("Extended: %x", extended);
+