Skip to content

Issues Parsing NDEF Messages From Python#4

Description

@XAMPPRocky

Hello 馃憢 I've been trying to use your library to parse NDEF messages, but I'm running into an issue when using output from a python implementation. When I attempt to parse these NDEF messages that have been encoded by Python, I get a InvalidPayload error message. I would have expected it to work but I can't see what I would be doing wrong to cause it to not work which makes me feel like it is a bug in the library.

fn main() {
    ndef_rs::NdefMessage::decode(include_bytes!("tests/encode_decode/01_data.bin")).unwrap();
}

Info: OpenPrintTag/openprinttag-specification#121
Data: https://github.com/prusa3d/OpenPrintTag/tree/main/tests/encode_decode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions