1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/mobilemessage/src/gonk/wap_consts.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +"use strict"; 1.9 + 1.10 +// WSP PDU Type Assignments 1.11 +// @see WAP-230-WSP-20010705-a Appendix A. Assigned Numbers. 1.12 +this.WSP_PDU_TYPE_PUSH = 0x06; 1.13 + 1.14 +// Registered WDP Port Numbers 1.15 +// @see WAP-259-WDP-20010614-a Appendix B. Port Number Definitions. 1.16 +this.WDP_PORT_PUSH = 2948; 1.17 + 1.18 +// Bearer Type Assignments 1.19 +// @see WAP-259-WDP-20010614-a Appendix C. Network Bearer Table. 1.20 +this.WDP_BEARER_GSM_SMS_GSM_MSISDN = 0x03; 1.21 + 1.22 +this.ALL_CONST_SYMBOLS = undefined; // We want ALL_CONST_SYMBOLS to be exported. 1.23 +this.ALL_CONST_SYMBOLS = Object.keys(this); 1.24 + 1.25 +this.EXPORTED_SYMBOLS = ALL_CONST_SYMBOLS;