Closed
Bug 984207
Opened 11 years ago
Closed 10 years ago
NFC should be in card-emulation mode when NFC option is enable and screen is off.
Categories
(Firefox OS Graveyard :: NFC, defect)
Tracking
(feature-b2g:2.0, tracking-b2g:backlog)
RESOLVED
FIXED
2.0 S3 (6june)
People
(Reporter: kchang, Assigned: dimi)
References
Details
Attachments
(1 file, 1 obsolete file)
Sometimes, we need NFC chip in standby mode and being wake-up by some events. For example, enabling card emulation mode for some payment system while screen is off. That means we can not just turn off NFC when screen is off. That is why we need a standby/suspend mode for NFC.
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Updated•11 years ago
|
Blocks: b2g-NFC-payment
Reporter | ||
Updated•11 years ago
|
Blocks: b2g-NFC-2.0
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → dlee
Updated•11 years ago
|
blocking-b2g: --- → backlog
Updated•10 years ago
|
feature-b2g: --- → 2.0
Updated•10 years ago
|
No longer blocks: b2g-NFC-payment
Comment 1•10 years ago
|
||
Hi Dimi, Can we finish this before FL?
Target Milestone: --- → 2.0 S3 (6june)
Comment 2•10 years ago
|
||
I made a patch for this. Could you review it?
Attachment #8429065 -
Flags: review?(dlee)
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8429065 [details]
nfc-enabled-offscreen-discovering.pat
Hi, Junichi san
Sorry the bug description may confuse you. This bug is to support NFC card emulation mode even when device is in suspend mode, so it should be handled in nfcd.
You could create another bug for your patch :)
Attachment #8429065 -
Flags: review?(dlee)
Blocks: b2g-nfc
Attachment #8429065 -
Attachment is obsolete: true
Summary: NFC should be in standby mode when NFC option is enable and screen is off. → NFC should be in card-emulation mode when NFC option is enable and screen is off.
Updated•10 years ago
|
Flags: in-moztrap-
Assignee | ||
Comment 5•10 years ago
|
||
- Add EnablePolling/DisablePolling API - Move EnableDiscovery/DisableDiscovery into NFC Enable/Disable When discovery is on, CE mode will on. Enable/disable polling only affect tag/device discover. So after applying this patch, the CE mode will always turn on as long as NFC is enabled
Attachment #8430589 -
Flags: review?(allstars.chh)
Attachment #8430589 -
Flags: review?(allstars.chh) → review+
https://github.com/mozilla-b2g/platform_system_nfcd/commit/d0aa65b140a45016975ed0ecf35f280dd336e1d3
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Hi Junichi-san, Right now CE mode is on when enabling NFC, even when Screen is locked. If this doesn't fit your use case, please file another bug for discussing this.
Flags: needinfo?(xju-hashimoto)
Comment 8•10 years ago
|
||
Seems work for our case too. I will try that, thank you.
Flags: needinfo?(xju-hashimoto)
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•