Partager via


SMS Length Constants (Compact 2013)

3/26/2014

The following table shows constants that document minimum and maximum lengths of various data elements.

Constant

Value

Description

SMS_DATAGRAM_SIZE

140

Maximum length of a datagram.

SMS_BROADCAST_DATAGRAM_SIZE

82

Maximum length of a broadcast datagram.

SMS_MAX_APPNAME_LENGTH

MAX_PATH

Maximum length of the name of a notified program.

SMS_MAX_PARAMS_LENGTH

MAX_PATH

Maximum length of command-line parameters to send to a notified program.

SMS_MAX_PROTOCOLNAME_LENGTH

MAX_PATH

Maximum length of a protocol name.

SMS_MAX_MESSAGEUID_SIZE

1024

Maximum of a unique identifier (UID) in a message.

SMS_MAX_ADDRESS_LENGTH

256

Maximum length of an address.

SMS_MAX_SUBADDRESS_SIZE

256

Maximum length of a subaddress.

Requirements

Header

sms.h

See Also

Reference

Short Message Service Constants