
Chapter 20: Registry-based WWAN API
Phone State Bitmask in Numerical Order
Psion Mobile Devices Developers Guide
232
Network Status
The following bits are mutually exclusive—only one of them can be set at a time.
Packet Data Status
Voice Call Status
20.2.2 Phone State Bitmask in Numerical Order
Bitmask When set...
0x00200000 the WWAN modem is not registered on any network.
0x00400000 the WWAN modem is currently searching for a network.
0x00800000 the WWAN modem is currently registered on its home network.
0x00000200 the WWAN modem is currently registered on a roaming network.
Bitmask When set...
0x00100000 the GPRS packet data service for the GSM family of networks is available (this includes GPRS,
EGPRS / EDGE, UMTS, HSDPA, and HSPA).
0x10000000 the 1xRTT packet data service for the CDMA family of networks is available (this includes 1xRTT,
1xEV-DO Rev. 0, and 1xEV-DO Rev. A).
0x00001000 the modem has an active packet data connection.
Bitmask When set...
0x00010000 there is an incoming call (ringing), or a waiting call, that has not yet been accepted by the user.
0x00020000 an outgoing call is being dialled, and it has not been accepted by the other party.
0x20000000 there is an active voice call.
0x00004000 there is a call on hold.
0x00008000 there is a conference call in progress.
0x00000040 the ring tone for incoming calls is disabled.
Bitmask Windows Mobile Definition Name (snapi.h) When set...
0x00000001 SN_PHONESIMFULL_BITMASK the SMS storage on the SIM is full.
0x00000002 SN_PHONENOSIM_BITMASK no SIM is installed in the device (this bit is
not set if the installed WWAN modem does
not require a SIM).
0x00000004 SN_PHONEINVALIDSIM_BITMASK the installed SIM is invalid.
0x00000008 SN_PHONEBLOCKEDSIM_BITMASK a PIN or PUK must be entered in order to
unblock the SIM.
0x00000010 SN_PHONERADIOOFF_BITMASK the installed WWAN modem is turned off.
0x00000020 SN_PHONERADIOPRESENT_BITMASK a WWAN modem is installed in the device.
0x00000040 SN_PHONERINGEROFF_BITMASK the ring tone for incoming calls is disabled.
0x00000200 SN_PHONEROAMING_BITMASK the WWAN modem is currently registered
on a roaming network.
Comentarios a estos manuales