Bug 998274 - [NFC] Support pass tag technology to GAIA. r=allstars.chh
authorDimi Lee <dlee@mozilla.com>
Fri, 18 Apr 2014 19:25:47 +0800
changeset 198817 395253e40dafc53240f046de1ec0457ed501f575
parent 198816 3750b0aa9394ca02ebc4512dd020d1f817774b67
child 198818 f7f19dedf7a9803bc4cd70aaecef266034df1f44
push id486
push userasasaki@mozilla.com
push dateMon, 14 Jul 2014 18:39:42 +0000
treeherdermozilla-release@d33428174ff1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersallstars
bugs998274
milestone31.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 998274 - [NFC] Support pass tag technology to GAIA. r=allstars.chh
dom/system/gonk/nfc_consts.js
--- a/dom/system/gonk/nfc_consts.js
+++ b/dom/system/gonk/nfc_consts.js
@@ -40,20 +40,25 @@ this.NFC_RESPONSE_CONFIG = 1001;
 this.NFC_RESPONSE_READ_NDEF_DETAILS = 1002;
 this.NFC_RESPONSE_READ_NDEF = 1003;
 
 this.NFC_NOTIFICATION_INITIALIZED = 2000;
 this.NFC_NOTIFICATION_TECH_DISCOVERED = 2001;
 this.NFC_NOTIFICATION_TECH_LOST = 2002;
 
 this.NFC_TECHS = {
-  0:'NDEF',
-  1:'NDEF_WRITEABLE',
-  2:'NDEF_FORMATABLE',
-  3:'P2P'
+  0:"NDEF",
+  1:"NDEF_WRITEABLE",
+  2:"NDEF_FORMATABLE",
+  3:"P2P",
+  4:"NFC_A",
+  5:"NFC_B",
+  6:"NFC_F",
+  7:"NFC_V",
+  8:"NFC_ISO_DEP"
 };
 
 // TODO: Bug 933595. Fill-in all error codes for Gonk/nfcd protocol
 this.GECKO_NFC_ERROR_SUCCESS             = 0;
 this.GECKO_NFC_ERROR_GENERIC_FAILURE     = 1;
 
 // NFC powerlevels must match config PDUs.
 this.NFC_POWER_LEVEL_UNKNOWN        = -1;