Closed Bug 1226720 Opened 9 years ago Closed 6 years ago

Support NFC NXP for Xperia Rhine (Z1, Z1 Compact)

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gerard-majax, Unassigned)

References

Details

As far as I can tell, the Rhine family of Xperia devices (Z1, Z1 Compact) relies on NXP protocol. But the nfcd daemon forces NFC_PROTOCOL to be nci and there seems to be no nxp implementation.
I guess this is not trivial work, can one of you give a rough estimate of the complexity? Thanks!
Blocks: b2g-nfc
Flags: needinfo?(tnguyen)
Flags: needinfo?(dlee)
(In reply to Alexandre LISSY :gerard-majax from comment #1)
> I guess this is not trivial work, can one of you give a rough estimate of
> the complexity? Thanks!

Based on the experience on NCI, i guess it will take about 2-3 month.
Flags: needinfo?(tnguyen)
Flags: needinfo?(dlee)
Can this be achieved by a contributor, I mean is it something that just needs time? Is the protocol and the details to implement documented somewhere?
Flags: needinfo?(dlee)
Sorry for late reply.

For NCI, We port the implementation from android NCI JNI layer to NFC daemon because it is used to manipulate libnfc-nci. If we want to support NXP, we can port it from android NXP JNI layer to nfcd.
For the porting part it just need time, the tough part is if you encounter a problem, for example, NFC tag cannot be read correctly. You might need to look deeper inside the libnfc-nxp library and because NXP implementation is not a standard defined by NFC fourm, so you might not found a document describing how they implement it.

So I would say porting is ok, but debugging might be difficult.
Flags: needinfo?(dlee)
(In reply to Alexandre LISSY :gerard-majax from comment #0)
> As far as I can tell, the Rhine family of Xperia devices (Z1, Z1 Compact)
> relies on NXP protocol. But the nfcd daemon forces NFC_PROTOCOL to be nci
> and there seems to be no nxp implementation.

I thought NXP already switched to use libnfc-nci.
For example, Flame, Z3C.

I assume 'NXP implementation' here means libnfc-nxp
but it's a legacy protocol which Android doesn't use anymore.


Could you explain more details here?
(In reply to Yoshi Huang[:allstars.chh] from comment #5)
> (In reply to Alexandre LISSY :gerard-majax from comment #0)
> > As far as I can tell, the Rhine family of Xperia devices (Z1, Z1 Compact)
> > relies on NXP protocol. But the nfcd daemon forces NFC_PROTOCOL to be nci
> > and there seems to be no nxp implementation.
> 
> I thought NXP already switched to use libnfc-nci.
> For example, Flame, Z3C.
> 
> I assume 'NXP implementation' here means libnfc-nxp
> but it's a legacy protocol which Android doesn't use anymore.
> 
> 
> Could you explain more details here?

What more details can I give you ? It might be a deprecated protocol but it is the one being used by some of the devices we want to get working as part of the porting initiative from participation team.

That is the case of at least of the Rhine devices family from Sony, i.e., Xperia Z1/Z1 Compact. I have not searched a lot on that topic but I guess there will be more devices concerned, especially if we focus on good enough old hardware (easy to find as second hand, not risky to hack).
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.