Closed Bug 969136 Opened 6 years ago Closed 6 years ago

[B2G][NFC] Handle unformatted NFC Tags in NFC Manager

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
1.4 S1 (14feb)

People

(Reporter: dgarnerlee, Assigned: dgarnerlee)

References

Details

Attachments

(1 file, 1 obsolete file)

NFC (daemon, manager, etc). Doesn't gracefully handle completely unformatted tags currently, and relies on the app to know what to do given no feedback besides vibrating.

Why there's no record:
When nfcd sends technology discovered with no records, it indicates that the NDEF start bit "MB" is missing, meaning, it either isn't NDEF, or is unformatted. This is different from "Empty", which is an NDEF Record type.

This is primarily a writeNDEF use case: empty, unformatted tags. There is nothing to read on the tag. This also requires foreground dispatch (Bug 937430) to trigger a new NDEF message write.
Blocks: b2g-nfc
Depends on: 937430
Handle generic "Tags" case better.
Blocks: 963556
Assignee: nobody → dgarnerlee
Attachment #8372702 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8374502 - Flags: review?(alive)
Attachment #8374502 - Flags: review?(alive) → review+
Attachment #8374502 - Attachment description: (v1) Update NFC Manager to handle Tag Discovered, empty tags, and unformatted tags → (v1) Update NFC Manager to handle Tag Discovered, empty tags, and unformatted tags r=alive
Travis fail on something in unrelated calendar sizing, giving it one more go...
green!
Keywords: checkin-needed
Master: 9ceebbcda0a82e7b9205de9900ad14c74aa6350c
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.4 S1 (14feb)
You need to log in before you can comment on or make changes to this bug.