PROVIDER_SPECIFIC_REPLACE_OPTION (Compact 2013)
3/26/2014
Text Short Message Service (SMS) messages with the appropriate flag can replace previously received notifications with a similar flag and originating address.
Use this enumeration with the TEXT_PROVIDER_SPECIFIC_DATA and NOTIFICATION_PROVIDER_SPECIFIC_DATA structures when calling SmsSendMessage, after calling SmsOpen with the message replacement type.
Refer to GSM specification 03.40 "Digital Cellular telecommunications system (Phase 2+); Technical realization of the Short Message Service (SMS)" for details.
Syntax
enum PROVIDER_SPECIFIC_REPLACE_OPTION {
PSRO_NONE = 0,
PSRO_REPLACE_TYPE1,
PSRO_REPLACE_TYPE2,
PSRO_REPLACE_TYPE3,
PSRO_REPLACE_TYPE4,
PSRO_REPLACE_TYPE5,
PSRO_REPLACE_TYPE6,
PSRO_REPLACE_TYPE7,
PSRO_RETURN_CALL,
PSRO_DEPERSONALIZATION,
};
Elements
- PSRO_NONE
Short message type 0; no previous notifications are replaced.
- PSRO_REPLACE_TYPE1
Previous notifications of type 1 are replaced with the new message and other parameter values.
- PSRO_REPLACE_TYPE2
Previous notifications of type 2 are replaced with the new message and other parameter values.
- PSRO_REPLACE_TYPE3
Previous notifications of type 3 are replaced with the new message and other parameter values.
- PSRO_REPLACE_TYPE4
Previous notifications of type 4 are replaced with the new message and other parameter values.
- PSRO_REPLACE_TYPE5
Previous notifications of type 5 are replaced with the new message and other parameter values.
- PSRO_REPLACE_TYPE6
Previous notifications of type 6 are replaced with the new message and other parameter values.
- PSRO_REPLACE_TYPE7
Previous notifications of type 7 are replaced with the new message and other parameter values.
- PSRO_RETURN_CALL
A return call can be made to the originating address.
- PSRO_DEPERSONALIZATION
Instructs the receiving application to depersonalize the phone where the depersonalization code is passed in the body of the message. This must not be displayed to the user.
Remarks
The PROVIDER_SPECIFIC_REPLACE_OPTION enumeration is not applicable for code division multiple access (CDMA); the values are ignored.
Requirements
Header |
sms.h |
See Also
Reference
Short Message Service Enumerations
NOTIFICATION_PROVIDER_SPECIFIC_DATA
SmsOpen
SmsSendMessage
TEXT_PROVIDER_SPECIFIC_DATA