Respect the chosen UID

This commit is contained in:
Thorsten
2018-12-30 13:53:12 +00:00
parent 6263f529ed
commit 9b2dd662ad
@@ -80,10 +80,6 @@ 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 */