⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ota_prov_attr.h

📁 The Kannel Open Source WAP and SMS gateway works as both an SMS gateway, for implementing keyword b
💻 H
📖 第 1 页 / 共 2 页
字号:
 * which uses clear-text passwords and is the least sophisticated  * authentication protocol, and CHAP stands for Challenge Handshake  * Authentication Protocol, a protocol used to negotiate the most secure form * of encrypted authentication supported by both server and client. MS_CHAP * (Microsoft(tm)-CHAP) is similar to the CHAP protocol, but is using an  * encryption scheme that is alternative to the one used for CHAP. */#define WBXML_TOK_NAME_PPP_AUTHTYPE         0x22#define WBXML_TOK_VALUE_AUTH_PAP            0x70#define WBXML_TOK_VALUE_AUTH_CHAP           0x71#define WBXML_TOK_VALUE_AUTH_MS_CHAP        0x78/* * The PARM elements with the NAME=PPP_AUTHNAME and NAME=PPP_AUTHSECRET * attributes indicate the login name and password to be used. VALUEs can be  * assigned following: * *   VALUE -> login name(using inline string) *   VALUE -> password(using inline string) * * Maximum length of login name is 32 bytes. * Maximum length of password is 20 bytes. */#define WBXML_TOK_NAME_PPP_AUTHNAME         0x23#define WBXML_TOK_NAME_PPP_AUTHSECRET       0x24/* * The PARM element with the NAME=PPP_LOGINTYPE attribute specifies whether an * automatic or manual login should be performed in the PPP negotiation at the * access point of the service provider. VALUE can be assigned following * *   VALUE -> [AUTOMATIC|MANUAL] * * (same impacts as for PROXY_LOGINTYPE) */#define WBXML_TOK_NAME_PPP_LOGINTYPE        0x1D/* * The PARM element with the NAME=CSD_DIALSTRING attribute specifies the  * MSISDN number of the modem pool. VALUE can be assigned following: * *   VALUE -> msisdn number(using inline string) * * Maximum length of msisdn number is 21 bytes. */#define WBXML_TOK_NAME_CSD_DIALSTRING       0x21/* * The PARM element with the NAME=CSD_CALLTYPE attribute indicates the type * of circuit switched call to be used for connection. VALUE can be assigned * following: * *   VALUE -> [*ANALOGUE*|ISDN] *  * (In general the call type should be set to ANALOGUE since ISDN is not  * generaly available on all networks.) */#define WBXML_TOK_NAME_CSD_CALLTYPE         0x28#define WBXML_TOK_VALUE_CONN_ANALOGUE       0x72#define WBXML_TOK_VALUE_CONN_ISDN           0x73/* * The PARM element with the NAME=CSD_CALLSPEED attribute indicates the  * desired call speed to be used for the connection. VALUE can be assgined * following: * *   VALUE -> [*AUTO*|*9600*|14400|19200|28800|38400|43200|57600] * * Default value is AUTO when CSD_CALLTYPE is ANALOGUE and 9600 when  * CSD_CALLTYPE is ISDN. */#define WBXML_TOK_NAME_CSD_CALLSPEED        0x29#define WBXML_TOK_VALUE_SPEED_AUTO          0x6A#define WBXML_TOK_VALUE_SPEED_9600          0x6B#define WBXML_TOK_VALUE_SPEED_14400         0x6C#define WBXML_TOK_VALUE_SPEED_19200         0x6D#define WBXML_TOK_VALUE_SPEED_28800         0x6E#define WBXML_TOK_VALUE_SPEED_38400         0x6F#define WBXML_TOK_VALUE_SPEED_43200         0x74#define WBXML_TOK_VALUE_SPEED_57600         0x75/* * The PARM element with the NAME=ISP_NAME attribute indicates the name of the * Internet Service Provider. Support of this PARM element is manufacturer * specific. VALUE can be assigned following: * *   VALUE -> isp name(using inline string) * * Maximum length of isp name is 20 bytes. */#define WBXML_TOK_NAME_ISP_NAME             0x7E/* * The PARM element with the NAME=SMS_SMSC_ADDRESS attribute indicates the  * MSISDN number of the SMS Service Center (SMSC). VALUE can be assigned * following: * *   VALUE -> sms smsc address(using inline string) * * Maximum length of sms smsc address is 21 bytes. */#define WBXML_TOK_NAME_SMS_SMSC_ADDRESS     0x1A/* * The PARM element with the name NAME=USSD_SERVICE_CODE attribute indicates * the USSD service code. VALUE can be assigned following: * *   VALUE -> ussd service code(using inline string) *  * Maximum length of ussd service code is 10 bytes. */#define WBXML_TOK_NAME_USSD_SERVICE_CODE    0x1B/* * The PARM element with the NAME=GPRS_ACCESSPOINTNAME attribute indicates * the access point name on Gateway GRPS Support Nodes (GGSN). Allowed * characters are: ['a'-'z','A'-'Z','0'-'9','.','-','*'] * *   VALUE -> acess point name(using inline string) * * Maximum length of access point name is 100 bytes. */#define WBXML_TOK_NAME_GPRS_ACCESSPOINTNAME 0x1C/********************************************************************  * CHARACTERISTIC elements with TYPE=URL  *  * The CHARACTERISTIC element with the TYPE=URL attribute has only one  * attribute which indicates the URL of the home page. VALUES can be assigned * following: * *   VALUE -> url(using inline string) * * Maximum length of URL is 100 bytes. * * Example: * *      <CHARACTERISTIC TYPE="URL" VALUE="http://wap.company.com"/> */#define WBXML_TOK_TYPE_URL                  0x07/********************************************************************  * CHARACTERISTIC elements with TYPE=MMSURL  *  * The CHARACTERISTIC element with the TYPE=MMSURL attribute has only one  * attribute which indicates the URL of the MMSC. VALUES can be assigned * following: * *   VALUE -> url(using inline string) * * Maximum length of URL is 100 bytes. * * Example: * *      <CHARACTERISTIC TYPE="MMSURL" VALUE="http://wap.company.com/mmsc"/> */#define WBXML_TOK_TYPE_MMSURL               0x7C/********************************************************************  * CHARACTERISTIC elements with TYPE=NAME  * * This element type must contain exactly one PARM element with NAME=NAME, * which states the user-recognisable name to apply for the settings. The  * VALUE of the PARM element can be assigned following: * *   VALUE -> name(using inline string) * * Maximum length of name is 20 bytes. * * Example: *  *      <CHARACTERISTIC TYPE="NAME"> *          <PARM NAME="NAME" VALUE="Our company's WAP settings"/> *      </CHARACTERISTIC> */#define WBXML_TOK_TYPE_NAME                 0x08/********************************************************************  * CHARACTERISTIC elements with TYPE=BOOKMARK  * * This element must contain exactly two PARM elements, which define the  * name and URL for a homepage or for bookmarks. * * When this element is used with the MIME-type *.browser-settings the first * element indicates the homepage to be used together with the corresponding * settings. Note that the URL included in this element and the CHARACTERISTIC * element TYPE=URL are both required to define a homepage and their content * must be equal. A homepage and several bookmarks can be provided in one * document of the MIME-type referred to above. However, the maximum number of * bookmarks accepted is manufacturer specific. * * When this element is used with the MIME-type *.browser-bookmarks the  * element indicates bookmarks only * * Example: * *      <CHARACTERISTIC TYPE="BOOKMARK"> *          <PARM NAME="NAME" VALUE="Our company's WAP site"/> *          <PARM NAME="URL" VALUE="http://wap.company.com"/> *      </CHARACTERISTIC> */#define WBXML_TOK_TYPE_BOOKMARK             0x7F/* * The PARM element with the NAME=NAME attribute indicates the name of the * bookmark or homepage. VALUE can be assigned following: * *   VALUE -> bookmark name(using inline string) * * Maximum length of bookmark name is 50 bytes. */#define WBXML_TOK_NAME_NAME                 0x15/* * The PARM element with the NAME=URL attribute indicates the URL of the * bookmark or homepage. VALUE can be assigned following: * *   VALUE -> bookmark url(using inline string) * * Maximum length of bookmark url is 255 bytes. */#define WBXML_TOK_NAME_URL                  0x17/********************************************************************  * CHARACTERISTIC elements with TYPE=ID  * * This element type must contain exactly one PARM element, which defines an * ID to be used to provide some security to the provisioning application.  * The ID should be known by the subscriber through the subscription or  * through other communication with the operator. When provisioning data * containing the ID is received the user is able to verify the received ID * with the ID previously received by other means from the operator. Support * of this CHARACTERISTIC element is manufacturer specific. * * Example: * *      <CHARACTERISTIC TYPE="ID"> *          <PARM NAME="NAME" VALUE="12345678"/> *      </CHARACTERISTIC> */#define WBXML_TOK_TYPE_ID                   0x7D/* * The PARM elment with the NAME=NAME attribute indicates the ID. VALUE can be * assigned following: * *   VALUE -> id(using inline string) * * Maximum length of id is 8 bytes. *//* end of ota_prov_attr.h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -