Closed Bug 1063439 Opened 9 years ago Closed 5 years ago

[NFC] nfcd should handle simulated EVT_TRANSACTION event from emulator

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
2.1 S2 (15aug)

People

(Reporter: dimi, Unassigned, Mentored)

References

Details

Attachments

(1 file, 2 obsolete files)

According to bug 1059232, Emulator will support notify EVT_TRANSACTION through device file. nfcd should parse the device file and notify EVT_TRANSACTION to gecko.
Attached patch WIP Patch (obsolete) — Splinter Review
This patch still require a way to create the detecting HCI event thread only in emulator environment.
(In reply to Dimi Lee[:dimi][:dlee] from comment #1)
> Created attachment 8484880 [details] [diff] [review]
> WIP Patch
> 
> This patch still require a way to create the detecting HCI event thread only
> in emulator environment.

You could check if the device file exists.
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #2)
> (In reply to Dimi Lee[:dimi][:dlee] from comment #1)
> > Created attachment 8484880 [details] [diff] [review]
> > WIP Patch
> > 
> > This patch still require a way to create the detecting HCI event thread only
> > in emulator environment.
> 
> You could check if the device file exists.

Thanks for your suggestion, i will do that in this way!
Attached patch WIP patch v2 (obsolete) — Splinter Review
Attachment #8484880 - Attachment is obsolete: true
Attached patch WIP Patch V3Splinter Review
Attachment #8486918 - Attachment is obsolete: true
Not actively working on this, anyone is interested please feel free to take it
Assignee: dlee → nobody
Mentor: dlee
Status: ASSIGNED → NEW
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.