Revert "Respect the chosen UID"

This reverts commit 9b2dd662ad.
This commit is contained in:
Thorsten
2018-12-30 14:02:18 +00:00
parent 9b2dd662ad
commit f79101b28d
@@ -80,6 +80,10 @@ CommandStatusIdType CommandSetUid(char* OutMessage, const char* InParam)
for (uint8_t i=0; i<UidSize; i++) {
UidBuffer[i] = RandomGetByte();
}
/* If we are using an ISO15 tag, the first byte needs to be E0 by standard */
if (ActiveConfiguration.TagFamily == TAG_FAMILY_ISO15693) {
UidBuffer[0] = 0xE0;
}
} else {
/* Convert to Bytes */