Skip to content

Commit a3c113a

Browse files
committed
Fallback/safer ICode SLIX / ISO 15693 detection
1 parent 532e6ec commit a3c113a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/core/card.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ func readNDEFData(card *scard.Card, cardInfo *Card) {
11611161
}
11621162
}
11631163
}
1164-
} else if cardInfo.Type == "ICode SLIX" {
1164+
} else if cardInfo.Type == "ICode SLIX" || cardInfo.Type == "ISO 15693" {
11651165
// ISO 15693 (Type 5) tags: NDEF starts at block 1 (after CC at block 0)
11661166
maxBlocks := 79 // 80 blocks total, skip CC at block 0
11671167
for blockNum := 1; blockNum < 1+maxBlocks; blockNum++ {

0 commit comments

Comments
 (0)