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 179698 395253e40dafc53240f046de1ec0457ed501f575
parent 179697 3750b0aa9394ca02ebc4512dd020d1f817774b67
child 179699 f7f19dedf7a9803bc4cd70aaecef266034df1f44
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersallstars
bugs998274
milestone31.0a1
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;