?? ril.h
字號:
// lpData points to a DWORD containing the new RIL_GPRSCLASS_* value
#define RIL_NOTIFY_SIGNALQUALITY (0x00000005 | RIL_NCLASS_MISC) // @constdefine Signal Quality Notification
// lpData points to a RILSIGNALQUALITY structure
#define RIL_NOTIFY_MAINTREQUIRED (0x00000006 | RIL_NCLASS_MISC) // @constdefine BS notification that MS requires servicing; lpdata is NULL
#define RIL_NOTIFY_PRIVACYCHANGED (0x00000007 | RIL_NCLASS_MISC) // @constdefine Call Privacy Status; lpData points to DWORD of value RIL_CALLPRIVACY_*
#define RIL_NOTIFY_SIM_DATACHANGE (0x00000008 | RIL_NCLASS_MISC) // @constdefine data change notification; lpData points to DWORD of value RIL_SIMDATACHANGE_*
#define RIL_NOTIFY_ATLOGGING (0x00000009 | RIL_NCLASS_MISC) // @constdefine at command log data present
#define RIL_NOTIFY_SIMSTATUSCHANGED (0x00000010 | RIL_NCLASS_MISC) // @constdefine SIM card state has changed. Carries a DWORD (RIL_SIMSTATUSCHANGED_*) with the current state.
// Notification is sent only when encountering error conditions from the radio.
#define RIL_NOTIFY_EONS (0x00000011 | RIL_NCLASS_MISC) // @constdefine EONS information ready or updated; lpData is NULL
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification Device Specific | Device Specific notifications (RIL_NCLASS_DEVSPECIFIC)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_LOCATION (0x00008000 | RIL_NCLASS_DEVSPECIFIC) // @constdefine Location Services; lpData points to DWORD of value RIL_LOCATION_*
#define RIL_NOTIFY_ROAMSTATUS (0x00008001 | RIL_NCLASS_DEVSPECIFIC) // @constdefine Roaming Status; lpData points to DWORD of value RIL_ROAMSTATUS_*
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @constants Notification NDIS | Device Specific notifications (RIL_NCLASS_NDIS)
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_NOTIFY_NDIS_IPCONFIG (0x00000001 | RIL_NCLASS_NDIS) // @constdefine IP configuration received and is ready for use.
// lpData points to a RILNDISIPCONFIG structure.
#define RIL_NOTIFY_NDIS_PACKETRECEIVED (0x00000002 | RIL_NCLASS_NDIS) // @constdefine IP packet available.
// lpData points to a RILNDISPACKET structure.
#define RIL_NOTIFY_NDIS_XFERSTATUSCHANGED (0x00000003 | RIL_NCLASS_NDIS) // @constdefine packet flow control change occurred.
// lpData ponts to DWORD of [ RIL_NDIS_XON |RIL_NDIS_XOFF ]
//
// Macro to extract notification class from notification code
//
#define NCLASS_FROM_NOTIFICATION(code) ((code) & 0xffff0000)
//
// Structure parameter flags
//
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILNDISIPCONFIG
//
// @comm None
//
// -----------------------------------------------------------------------------
//
#define RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV4 (0x00000001) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV6 (0x00000002) // @paramdefine
//
// ipv4 defines
#define RIL_PARAM_NDISIPCONFIG_IPADDR (0x00000001) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_PRIMARYDNS (0x00000002) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_SECONDARYDNS (0x00000004) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_DEFAULTGATEWAY (0x00000008) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_SUBNETMASK (0x00000010) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_ALL (0x0000001f) // @paramdefine
//
// ipv6 defines
#define RIL_PARAM_NDISIPCONFIG_IPV6_IPADDR (0x00000001) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_PRIMARYDNS (0x00000002) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_SECONDARYDNS (0x00000004) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_DEFAULTGATEWAY (0x00000008) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_SUBNETMASK (0x00000010) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_FLOWINFO (0x00000020) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_SCOPEID (0x00000040) // @paramdefine
#define RIL_PARAM_NDISIPCONFIG_IPV6_ALL (0x0000007f) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILNDISGPRSCONTEXT
//
// @comm None
//
// -----------------------------------------------------------------------------
//
#define RIL_PARAM_RILNDISGPRSCONTEXT_USERNAME (0x00000001) // @paramdefine
#define RIL_PARAM_RILNDISGPRSCONTEXT_PASSWORD (0x00000002) // @paramdefine
#define RIL_PARAM_RILNDISGPRSCONTEXT_DNS1 (0x00000004) // @paramdefine
#define RIL_PARAM_RILNDISGPRSCONTEXT_DNS2 (0x00000008) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILNDISSTATUS
//
// @comm None
//
// -----------------------------------------------------------------------------
//
#define RIL_PARAM_RILNDISSTATUS_IPCONFIG (0x00000001) // @paramdefine
#define RIL_PARAM_RILNDISSTATUS_FLOWCONTROL (0x00000002) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILADDRESS
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_PARAM_A_TYPE (0x00000001) // @paramdefine
#define RIL_PARAM_A_NUMPLAN (0x00000002) // @paramdefine
#define RIL_PARAM_A_ADDRESS (0x00000004) // @paramdefine
#define RIL_PARAM_A_ALL (0x00000007) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILSUBADDRESS
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_PARAM_SA_TYPE (0x00000001) // @paramdefine
#define RIL_PARAM_SA_SUBADDRESS (0x00000002) // @paramdefine
#define RIL_PARAM_SA_ALL (0x00000003) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILSERIALPORTSTATS
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_PARAM_SPS_READBITSPERSECOND (0x00000001) // @paramdefine
#define RIL_PARAM_SPS_WRITTENBITSPERSECOND (0x00000002) // @paramdefine
#define RIL_PARAM_SPS_ALL (0x00000003) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILSUBSCRIBERINFO
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_PARAM_SI_ADDRESS (0x00000001) // @paramdefine
#define RIL_PARAM_SI_DESCRIPTION (0x00000002) // @paramdefine
#define RIL_PARAM_SI_SPEED (0x00000004) // @paramdefine
#define RIL_PARAM_SI_SERVICE (0x00000008) // @paramdefine
#define RIL_PARAM_SI_ITC (0x00000010) // @paramdefine
#define RIL_PARAM_SI_ADDRESSID (0x00000020) // @paramdefine
#define RIL_PARAM_SI_ALL (0x0000003f) // @paramdefine
// -----------------------------------------------------------------------------
//
// @doc EXTERNAL
//
// @params RILOPERATORNAMES
//
// @comm None
//
// -----------------------------------------------------------------------------
#define RIL_PARAM_ON_LONGNAME (0x00000001) // @paramdefine
#define RIL_PARAM_ON_SHORTNAME (0x00000002) // @paramdefine
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -