2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
20 /// Enumeration for the type of sms network.
22 public enum SmsNetType
25 /// Network type is 3gpp.
29 /// Network type is 3gpp2 (CDMA).
35 /// Enumeration for different CB message types.
37 public enum SmsCbMsgType
40 /// GSM Cell broadcast message.
44 /// UMTSCell broadcast message.
48 /// CDMA broadcast message.
54 /// Enumeration for different ETWS message types.
56 public enum SmsEtwsMsgType
59 /// Primary ETWS message.
63 /// GSM Secondary ETWS message.
67 /// UMTS Secondary ETWS message.
71 /// CDMA Seconday ETWS message.
77 /// Enumeration for memory status type.
79 public enum SmsMemoryStatus
82 /// PDA memory is available.
86 /// PDA memory is full.
90 /// Phone memory is available.
92 PhoneAvailable = 0x03,
94 /// Phone memory is full.
100 /// Enumeration for the sms ready status type.
102 public enum SmsReadyStatus
105 /// Non Ready Status.
117 /// SMS 3GPP and 3GPP2 Ready.
119 Status3GPPAnd3GPP2 = 0x03
123 /// Enumeration for sms status type.
125 public enum SmsMessageStatus
128 /// MT message, stored and read.
132 /// MT message, stored and unread.
136 /// MO message, stored and sent.
140 /// MO message, stored but not sent.
144 /// Delivered at destination.
148 /// Service centre forwarded message but is unable to confirm delivery.
152 /// Message has been replaced.
156 /// Reserved for future use.
162 /// Enumeration for different response types that come in the sent status acknowledgement/notification after sending a message to the network.
164 public enum SmsResponse
167 /// Message sent successfully.
171 /// Message routing not available.
175 /// Invalid parameter present in TPDU
183 /// Reserved Service.
187 /// Invalid location.
195 /// SIM not ready error.
199 /// No response from network.
203 /// Destination address restricted.
205 DestinationAddressRestricted,
207 /// Service center address restricted.
209 SCAAddressRestricted,
211 /// Resend an already done operation.
215 /// SCA address not available.
219 /// Unassigned number.
223 /// Operator determined barring.
231 /// Message transfer rejected.
233 MessageTransferRejected,
235 /// Message capacity exceeded/memory full.
237 MemoryCapacityExceeded,
239 /// Destination number out of service.
241 DestinationOutOfService,
243 /// Unspecified subscriber.
245 UnspecifiedSubscriber,
247 /// Facility rejected.
251 /// Unknown subscriber.
255 /// Network out of order.
259 /// Temporary failure.
263 /// Congestion occured.
267 /// Resource unavilable.
271 /// Facility not subscribed by the user.
273 FacilityNotSubscribed,
275 /// Facility not implemented.
277 FacilityNotImplemented,
279 /// Invalid reference value.
287 /// Invalid mandatory information.
289 InvalidMandatoryInfo,
291 /// Message type not implemented.
293 MessageTypeNotImplemented,
295 /// Message not compact protocol.
297 MessageNotCompactProtocol,
299 /// Information element not implemented.
307 /// Networking error.