Partager via


WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING (Compact 2013)

3/26/2014

This enumeration is used with the WDP_PROVIDER_SPECIFIC_DATA structure to contain provider-specific data to use with calls to SmsSendMessage. For details on the WDP_PROVIDER_SPECIFIC_DATA structure, refer to the WAP-202-WCMP specification, "Wireless Control Message Protocol (WCMP)," on the Open Mobile Alliance website. For details on SmsSendMessage, see GSM specification 03.40 "Digital cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS)," on the 3GPP website.

Syntax

enum WDP_PROVIDER_SPECIFIC_PORT_ADDRESSING {
    WDPPSPA_8_BIT_PORT_NUMBERS = 0,
    WDPPSPA_16_BIT_PORT_NUMBERS,
};

Elements

  • WDPPSPA_8_BIT_PORT_NUMBERS
    The message should be addressed with an 8-bit port number. Certain port numbers are reserved; refer to GSM specification 03.40 for details.
  • WDPPSPA_16_BIT_PORT_NUMBERS
    The message should be addressed with a 16-bit port number. Certain port numbers are reserved; refer to GSM specification 03.40 for details.

Remarks

Some port numbers in the 8-bit and 16-bit space are reserved and should not be used by applications. See GSM specification 03.40 for details.

Requirements

Header

sms.h

See Also

Reference

Short Message Service Enumerations
SmsReadMessage
SmsSendMessage
WDP_PROVIDER_SPECIFIC_DATA