Closed Bug 939450 Opened 11 years ago Closed 11 years ago

B2G NFC: nfcd does not handle handover protocol correctly

Categories

(Firefox OS Graveyard :: NFC, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arno, Assigned: dimi)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.48 Safari/537.36 Steps to reproduce: - Approach Android device to FFOS device - When FFOS device gets a P2P TechDiscovered, send a Handover Request message Actual results: - The Android device receives the Handover Request (it enables BT and shows the Beam Download notification) - Android will reply with a Handover Select via the LLCP channel. This Handover Select is not received by FFOS Expected results: The Handover Select message should have been sent to NFC Manager via another P2P TechDiscovered Notification
Blocks: b2g-nfc
blocking-b2g: --- → 1.3?
Summary: nfcd does not handle handover protocol correctly → B2G NFC: nfcd does not handle handover protocol correctly
Blocks: 933093
Assignee: nobody → dlee
Hi Arno, Could you help provide the patch for sending handover request after receiving p2p TechDiscovered ? It will help a lot for me to check this issue, thanks !
Flags: needinfo?(arno)
At our fork of gaia, checkout branch svic/handover and apply the attached patch. Bring a FFOS and an Android device close to each other (both devices should be on their homescreen). The Android device will receive a harcoded Hr record and start the download process. However, the Hs is not received by FFOS. I would expect the debug message in nfc_manager.js:343 to show up in logcat.
Flags: needinfo?(arno)
The root cause is handover select is returned by client socket. So after sending handover request, nfcd should try receiving data from client socket.
Attachment #8334389 - Flags: review?(allstars.chh)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
NFC isn't a committed feature, so clearing nom.
blocking-b2g: 1.3? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: