Partager via


Caps Notification Constants (Compact 2013)

3/26/2014

These constants indicate the Radio Interface Layer (RIL) notification capabilities.

Value

Description

RIL_CAPS_NOTIFICATION_SIGNALQUALITY

The Radio Module can deliver unsolicited notifications of signal quality.

RIL_CAPS_NOTIFICATION_BEARERSERVICEOPTIONS

The Radio Module can deliver unsolicited notifications of bearer service options.

RIL_CAPS_NOTIFICATION_DATACOMPRESSION

The Radio Module can deliver unsolicited notifications of data compression.

RIL_CAPS_NOTIFICATION_EQUIPMENTSTATE

The Radio Module can deliver unsolicited notifications of equipment state.

RIL_CAPS_NOTIFICATION_ERRORCORRECTION

The Radio Module can deliver unsolicited notifications of error correction.

RIL_CAPS_NOTIFICATION_GPRSADDRESS

The Radio Module can deliver unsolicited notifications of the General Packet Radio Service (GPRS) address.

RIL_CAPS_NOTIFICATION_GPRSATTACHED

The Radio Module can deliver unsolicited notifications of the GPRS attached status.

RIL_CAPS_NOTIFICATION_GPRSCONTEXTLIST

The Radio Module can deliver unsolicited notifications of the GPRS context list.

RIL_CAPS_NOTIFICATION_GPRSCONTEXTACTIVATEDLIST

The Radio Module can deliver unsolicited notifications of the GPRS context-activated list.

RIL_CAPS_NOTIFICATION_GPRSREGISTRATIONSTATUS

The Radio Module can deliver unsolicited notifications of GPRS registration status.

RIL_CAPS_NOTIFICATION_MINIMUMQUALITYOFSERVICELIST

The Radio Module can deliver unsolicited notifications of the minimum Quality of Service (QoS) list.

RIL_CAPS_NOTIFICATION_REGISTRATIONSTATUS

The Radio Module can deliver unsolicited notifications of registration status.

RIL_CAPS_NOTIFICATION_REQUESTEDQUALITYOFSERVICELIST

The Radio Module can deliver unsolicited notifications of the requested QoS list.

RIL_CAPS_NOTIFICATION_RLPOPTIONS

The Radio Module can deliver unsolicited notifications of Radio Link Protocol (RLP) options.

Remarks

For synchronous polling of radio capabilities, the notification support for each synchronized RIL API is indicated by the value of the HKEY_LOCAL_MACHINE\Comm\Cellular\RIL\CapsNotificationImplParams registry key.

The value is a bit field where the availability of each capability is represented by "1" for "implemented" and "0" for "not implemented."

RIL Capability Notification constants are combined with the RIL Capability Notification Implementation registry key constants to create the full registry key.

The following table shows the RIL Capability Notification registry key constants.

Value

Key Value

Description

RIL_CAPS_NOTIFICATION_KEY

"Comm\\Cellular\\RIL"

The base of the key.

RIL_CAPS_NOTIFICATION_IMPL_PARAMS

TEXT("CapsNotificationImplParams")

This registry key contains the notification events supported by the RIL driver. You must populate this registry key with the supported notifications. The RIL proxy checks this registry key to determine whether a synchronous polling function is supported.

Following is an example of how to set the registry key for notification support capabilities.

 [HKEY_LOCAL_MACHINE\Comm\Cellular\RIL\RADIO1]
    ; 0004 RIL_CAPS_NOTIFICATION_SIGNALQUALITY
    "CapsNotificationImplParams"=dword:00000004

[HKEY_LOCAL_MACHINE\Comm\Cellular\RIL\RADIO2]
    ; 0004 RIL_CAPS_NOTIFICATION_SIGNALQUALITY
    "CapsNotificationImplParams"=dword:00000004

[HKEY_LOCAL_MACHINE\Comm\Cellular\RIL] 
    ; 2000 RIL_CAPS_NOTIFICATION_REGISTRATIONSTATUS
    ; 0800 RIL_CAPS_NOTIFICATION_GPRSREGISTRATIONSTATUS
    ; 0004 RIL_CAPS_NOTIFICATION_SIGNALQUALITY 
    "CapsNotificationImplParams"=dword:00002804

See Also

Reference

RIL Constants
RIL Registry Settings