2024-12-23 09:56 AM - last edited on 2024-12-23 12:56 PM by Peter BENSCH
Hello, I'm having trouble reading single blocks in the M24LR64E-R tag
I'm developing the app in Flutter and I'm trying to send the command in the following structure
final command = [
flags, // flags
0x20, // Command: "Read Single Block"
...uid, // UID of NFC tag
blockAddress // BlockAddress
];
However, it doesn't read it, I tested it with other tags in both the NfcA and NfcV standards and they read it, but this specific tag didn't
Has anyone worked with this ic?
2025-01-02 12:17 AM
Hi gabriel,
What is your smartphone type ? iOS or Android ?
On iOS/iPhone, M24LR64 is not supported at all.
Br,
2025-01-02 10:49 AM
Hello
I find a solution to read a single or multiple block:
[0x0a, 0x20, 0x00, 0x00], // Read Single Block ---- [0x0A, 0x23, StartAddress_LSB, StartAddress_MSB]
[0x0a, 0x23, 0x2, 0x00, 0x4],// Read Multiple Blocks ---- [0x0A, 0x23, StartAddress_LSB, StartAddress_MSB, NbOfBlockToRead]
i send this comand on flutter with this command:
Future<Uint8List> _sendCommandNfcV(NfcV tag, Uint8List command) async {
try {
final response = await tag.transceive(data: command);
return response;
} catch (e) {
rethrow;
}
}
Best regards