WCMP_PROVIDER_SPECIFIC_DATA (Compact 2013)

3/26/2014

This structure contains data about the Wireless Control Message Protocol (WCMP) provider that SmsSendMessage uses.

Syntax

typedef struct wcmp_provider_specific_data_tag {
    WCMP_PROVIDER_SPECIFIC_MESSAGE_TYPE wcmppsMessageType;
    WORD wParam1;
    WORD wParam2;
    WORD wParam3;
    SMS_ADDRESS smsaAddress;
} WCMP_PROVIDER_SPECIFIC_DATA;

Members

  • wcmppsMessageType
    Type of WCMP message.
  • wParam1, wParam2, wParam3, smsaAddress
    The following table shows how to use these parameters.

    DwMessageType

    wParam1

    WParam2

    wParam3

    smsaAddress

    WCMP_PORT_UNREACHABLE

    Destination port of original packet

    Source port of original packet

    Ignored

    Destination address of original packet

    WCMP_MESSAGE_TOO_BIG

    Destination port of original packet

    Source port of original packet

    Maximum message size in bytes

    Destination address of original packet

    WCMP_ECHO_REQUEST

    Identifier

    Sequence number

    Ignored

    Ignored

    WCMP_ECHO_REPLY

    Identifier

    Sequence number

    Ignored

    Ignored

Remarks

To comply with as a Short Message Service (SMS) bearer, you must support the Global System for Mobile Communications (GSM) WCMP.

The Wireless Datagram Protocol (WDP) layer sends the WCMP_MESSAGETOOBIG message if an incoming primitive exceeds its limit. However, the WDP SMS provider issues this WCMP message directly if a multipart message is bigger than the provider can handle.

Also note that the WDP layer, not the GSM WCMP provider, sends replies to WCMP_ECHOREQUEST messages.

Requirements

Header

sms.h

See Also

Reference

Short Message Service Structures
SmsSendMessage