Skip to content

Commit

Permalink
MifareClassic and MifareUltralight support (#106)
Browse files Browse the repository at this point in the history
* feat: MifareClassic and MifareUltralight support

* fix: read block to hex string

* chore: tidy up the code

* chore: update read all in demo

* fix: review

* fix: some review problem

* fix: review comment

* fix: review comment

* fix: error msg
  • Loading branch information
AkaShark committed Sep 8, 2023
1 parent 045ea30 commit 68e5928
Show file tree
Hide file tree
Showing 5 changed files with 464 additions and 4 deletions.
4 changes: 4 additions & 0 deletions android/src/main/kotlin/im/nfc/flutter_nfc_kit/ByteUtils.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package im.nfc.flutter_nfc_kit

import android.nfc.tech.MifareClassic
import android.nfc.tech.MifareUltralight
import java.io.IOException

object ByteUtils {
private const val HEX_CHARS = "0123456789ABCDEF"
private val HEX_CHARS_ARRAY = HEX_CHARS.toCharArray()
Expand Down
Loading

0 comments on commit 68e5928

Please sign in to comment.