Bewerken

Delen via


WWAN_SMS_CONFIGURATION structure (wwan.h)

The WWAN_SMS_CONFIGURATION structure represents the SMS configuration of the MB device.

Syntax

typedef struct _WWAN_SMS_CONFIGURATION {
  CHAR            ScAddress[WWAN_SMS_ADDRESS_MAX_LEN];
  WWAN_SMS_FORMAT SmsFormat;
  ULONG           ulMaxMessageIndex;
} WWAN_SMS_CONFIGURATION, *PWWAN_SMS_CONFIGURATION;

Members

ScAddress[WWAN_SMS_ADDRESS_MAX_LEN]

A NULL-terminated string with a maximum length of 20 digits that represents the Service Center (SC) address. This member is used by all text messages for sending and receiving. For PDU-style SMS messages, this information is used if it is not available in PDU data.

The number can be in any of the following formats:

  • "+ \0"
  • "\0"

For set requests, the MB Service can set this member to NULL. In this case, a NULL indicates the miniport driver does not need to update the ScAddress member and should not update this member thereafter.

SmsFormat

The SMS message format that should be used for the unsolicited indication of new SMS message arrivals. CDMA-based devices support only the WwanSmsFormatCdma format. The WwanSmsFormatCdma format does not apply to GSM-based devices.

ulMaxMessageIndex

The maximum number of messages that can be stored on the device. Miniport drivers report this value for query requests. Unsolicited events that are used to notify the change of ScAddress must also contain valid information for this member.

Remarks

Miniport drivers need to fill in this data structure only when processing query requests, or in case of unsolicited events.

Requirements

Requirement Value
Minimum supported client Available in Windows 7 and later versions of Windows.
Header wwan.h (include Wwan.h)

See also

NDIS_WWAN_SMS_CONFIGURATION

WWAN_SMS_FORMAT