firmware icon indicating copy to clipboard operation
firmware copied to clipboard

about FeliCa timeout

Open Hs1r1us opened this issue 7 months ago • 4 comments

Describe the bug:

In the upstream Adafruit_PN532, the default timeout of FeliCa is 1000ms, which causes a serious delay in opening the menu in rfid. I wonder if anyone has tested "FeliCa". Does it really take 1000ms to respond? Should it be the same as MiFare (100ms)? Maybe I shouldn't raise an issue here, forgive me

Steps To Reproduce:

  • Device used: tembed-cc1101

Try opening the menu in rfid

Expected behavior:

Actual behavior:

Additional context / logs:

Hs1r1us avatar May 24 '25 08:05 Hs1r1us

I believe it's better to comment in the upstream Library, rennancockles fork I mean, ao he can change it

bmorcelli avatar May 24 '25 10:05 bmorcelli

I believe it's better to comment in the upstream Library, rennancockles fork I mean, ao he can change it

He doesn't have issue enabled on that repo.

I believe that value can be lowered since from Sony FeliCa's manual it says that the start up time can be 20.4 ms in the worst case:

Image

100ms can be a safe value IMHO. I will try tomorrow to test a lower timeout.

andreock avatar May 28 '25 21:05 andreock

Tested with 100ms and it works. Opened a PR at https://github.com/rennancockles/PN532/pull/3

andreock avatar May 29 '25 18:05 andreock

Merged

rennancockles avatar May 29 '25 18:05 rennancockles