Jump to content

NFC Bricklet Firmware not working anymore. (Card Emulation/P2P)


Arodev

Recommended Posts

Hi,

We experienced an issue with the latest firmware (2.0.6) for card emulation.

Scenario 1
No communication possible between NFC Bricklet and Smartphone

The bricklet is not detected by a smartphone or by another bricklet in reader mode.

(In the previous version, we got “Card Emulator: Transfer NDEF error” frequently (reading with an Android phone and another bricklet) but it was doable.)

Scenario 2
No NFC communication possible among NFC Bricklets.

One nfc bricklet in reader mode (e.g. attached to a raspberry pi),
another nfc bricklet in card emulation mode (e.g. attached to a computer which will select the tag to emulate).

I have tried to have the first bricklet in reader mode (NFC type 4 with NDEF) and the other in card emulation mode with some text (both connected to the same master brick to a computer for now).
With version 2.0.5, I can successfully “Scan for Tag” on the reader but not read any page: I get “Card Emulator: Transfer NDEF error” on the emulator.
With version 2.0.6, I’m unable to detect the emulator from the reader at all.

Scenario 3
No NFC communication possible among NFC Bricklets in P2P Mode.

I have also tried to use P2P mode (one reader, one writer), but there is neither discovery nor communication.

 

Could you please assist me on this issue?

My environment use Brick Viewer 2.4.20 for MacOS; Master Brick with firmware 2.5.0

Best regards,

Paul

Edited by Arodev
Typo
Link to comment
Share on other sites

  • 1 month later...

Very sorry for the long delays. I did take a look last month, but we didn't have any relevant changes regarding the P2P code in the last firmware versions.

The P2P code was always a bit finicky to be honest... Internally we use the official library that NXP provides. Unfortunately this has been unmaintained from NXP for many years now and there are no updates available.

I did put it on my TODO list to add some debug and find out where exactly we get an error during the NCI-Interface communication, but i haven't found time to do this yet. This is unfortunately a big effort because of the complexity of this protocol.

I will add an update if i have any news.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...