le_sms_common.h
Go to the documentation of this file.
31 //--------------------------------------------------------------------------------------------------37 //--------------------------------------------------------------------------------------------------40 //--------------------------------------------------------------------------------------------------44 //--------------------------------------------------------------------------------------------------47 //--------------------------------------------------------------------------------------------------52 //--------------------------------------------------------------------------------------------------55 //--------------------------------------------------------------------------------------------------59 //--------------------------------------------------------------------------------------------------62 //--------------------------------------------------------------------------------------------------66 //--------------------------------------------------------------------------------------------------69 //--------------------------------------------------------------------------------------------------73 //--------------------------------------------------------------------------------------------------76 //--------------------------------------------------------------------------------------------------80 //--------------------------------------------------------------------------------------------------83 //--------------------------------------------------------------------------------------------------87 //--------------------------------------------------------------------------------------------------90 //--------------------------------------------------------------------------------------------------94 //--------------------------------------------------------------------------------------------------97 //--------------------------------------------------------------------------------------------------101 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------108 //--------------------------------------------------------------------------------------------------125 //--------------------------------------------------------------------------------------------------129 //--------------------------------------------------------------------------------------------------144 //--------------------------------------------------------------------------------------------------148 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------204 //--------------------------------------------------------------------------------------------------208 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------287 //--------------------------------------------------------------------------------------------------300 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------397 //--------------------------------------------------------------------------------------------------401 //--------------------------------------------------------------------------------------------------516 //--------------------------------------------------------------------------------------------------520 //--------------------------------------------------------------------------------------------------524 //--------------------------------------------------------------------------------------------------528 //--------------------------------------------------------------------------------------------------532 //--------------------------------------------------------------------------------------------------536 //--------------------------------------------------------------------------------------------------540 //--------------------------------------------------------------------------------------------------544 //--------------------------------------------------------------------------------------------------548 //--------------------------------------------------------------------------------------------------552 //--------------------------------------------------------------------------------------------------554 (563 //--------------------------------------------------------------------------------------------------568 //--------------------------------------------------------------------------------------------------570 (577 //--------------------------------------------------------------------------------------------------582 //--------------------------------------------------------------------------------------------------584 (592 //--------------------------------------------------------------------------------------------------596 //--------------------------------------------------------------------------------------------------603 //--------------------------------------------------------------------------------------------------607 //--------------------------------------------------------------------------------------------------614 //--------------------------------------------------------------------------------------------------618 //--------------------------------------------------------------------------------------------------625 //--------------------------------------------------------------------------------------------------632 //--------------------------------------------------------------------------------------------------642 //--------------------------------------------------------------------------------------------------646 //--------------------------------------------------------------------------------------------------654 //--------------------------------------------------------------------------------------------------661 //--------------------------------------------------------------------------------------------------671 //--------------------------------------------------------------------------------------------------675 //--------------------------------------------------------------------------------------------------683 //--------------------------------------------------------------------------------------------------693 //--------------------------------------------------------------------------------------------------699 //--------------------------------------------------------------------------------------------------710 * @note If telephone destination number is too long is too long (max LE_MDMDEFS_PHONE_NUM_MAX_LEN716 //--------------------------------------------------------------------------------------------------726 //--------------------------------------------------------------------------------------------------743 //--------------------------------------------------------------------------------------------------753 //--------------------------------------------------------------------------------------------------767 //--------------------------------------------------------------------------------------------------779 //--------------------------------------------------------------------------------------------------794 //--------------------------------------------------------------------------------------------------806 //--------------------------------------------------------------------------------------------------814 * @note If length of the data is too long (max LE_SMS_PDU_MAX_BYTES bytes), it is a fatal error,820 //--------------------------------------------------------------------------------------------------832 //--------------------------------------------------------------------------------------------------847 //--------------------------------------------------------------------------------------------------855 //--------------------------------------------------------------------------------------------------870 //--------------------------------------------------------------------------------------------------882 //--------------------------------------------------------------------------------------------------894 //--------------------------------------------------------------------------------------------------902 //--------------------------------------------------------------------------------------------------913 //--------------------------------------------------------------------------------------------------925 //--------------------------------------------------------------------------------------------------929 * Refer to @ref platformConstraintsSpecificErrorCodes for platform specific error code description.936 //--------------------------------------------------------------------------------------------------944 //--------------------------------------------------------------------------------------------------952 * @note If telephone destination number is too long is too long (max LE_MDMDEFS_PHONE_NUM_MAX_LEN957 //--------------------------------------------------------------------------------------------------971 //--------------------------------------------------------------------------------------------------980 //--------------------------------------------------------------------------------------------------994 //--------------------------------------------------------------------------------------------------1006 //--------------------------------------------------------------------------------------------------1014 //--------------------------------------------------------------------------------------------------1024 //--------------------------------------------------------------------------------------------------1032 //--------------------------------------------------------------------------------------------------1041 //--------------------------------------------------------------------------------------------------1049 //--------------------------------------------------------------------------------------------------1060 //--------------------------------------------------------------------------------------------------1070 //--------------------------------------------------------------------------------------------------1081 //--------------------------------------------------------------------------------------------------1091 //--------------------------------------------------------------------------------------------------1095 * Output parameter is updated with the Telephone number. If the Telephone number string exceeds1106 //--------------------------------------------------------------------------------------------------1118 //--------------------------------------------------------------------------------------------------1123 * value of 'len' parameter, a LE_OVERFLOW error code is returned and 'timestamp' is filled until1133 //--------------------------------------------------------------------------------------------------1150 //--------------------------------------------------------------------------------------------------1154 * @return Number of characters for text and UCS2 messages, or the length of the data in bytes for1160 //--------------------------------------------------------------------------------------------------1168 //--------------------------------------------------------------------------------------------------1173 * exceeds the value of 'len' parameter, LE_OVERFLOW error code is returned and 'text' is filled1182 //--------------------------------------------------------------------------------------------------1194 //--------------------------------------------------------------------------------------------------1209 //--------------------------------------------------------------------------------------------------1221 //--------------------------------------------------------------------------------------------------1235 //--------------------------------------------------------------------------------------------------1247 //--------------------------------------------------------------------------------------------------1252 * in bytes. If the PDU data exceed the value of 'len' input parameter, a LE_OVERFLOW error code is1262 //--------------------------------------------------------------------------------------------------1274 //--------------------------------------------------------------------------------------------------1283 //--------------------------------------------------------------------------------------------------1291 //--------------------------------------------------------------------------------------------------1305 //--------------------------------------------------------------------------------------------------1313 //--------------------------------------------------------------------------------------------------1321 //--------------------------------------------------------------------------------------------------1327 //--------------------------------------------------------------------------------------------------1336 //--------------------------------------------------------------------------------------------------1344 //--------------------------------------------------------------------------------------------------1355 //--------------------------------------------------------------------------------------------------1363 //--------------------------------------------------------------------------------------------------1374 //--------------------------------------------------------------------------------------------------1382 //--------------------------------------------------------------------------------------------------1392 //--------------------------------------------------------------------------------------------------1400 //--------------------------------------------------------------------------------------------------1407 //--------------------------------------------------------------------------------------------------1415 //--------------------------------------------------------------------------------------------------1422 //--------------------------------------------------------------------------------------------------1430 //--------------------------------------------------------------------------------------------------1434 * Output parameter is updated with the SMS Service center address. If the Telephone number string exceeds1444 //--------------------------------------------------------------------------------------------------1454 //--------------------------------------------------------------------------------------------------1459 * E.164 numbers can have a maximum of fifteen digits and are usually written with a '+' prefix.1465 * @note If the SMS center address number is too long (max LE_MDMDEFS_PHONE_NUM_MAX_LEN digits), it1468 //--------------------------------------------------------------------------------------------------1476 //--------------------------------------------------------------------------------------------------1483 //--------------------------------------------------------------------------------------------------1491 //--------------------------------------------------------------------------------------------------1498 //--------------------------------------------------------------------------------------------------1506 //--------------------------------------------------------------------------------------------------1514 //--------------------------------------------------------------------------------------------------1520 //--------------------------------------------------------------------------------------------------1528 //--------------------------------------------------------------------------------------------------1534 //--------------------------------------------------------------------------------------------------1542 //--------------------------------------------------------------------------------------------------1548 //--------------------------------------------------------------------------------------------------1556 //--------------------------------------------------------------------------------------------------1562 //--------------------------------------------------------------------------------------------------1570 //--------------------------------------------------------------------------------------------------1580 //--------------------------------------------------------------------------------------------------1588 //--------------------------------------------------------------------------------------------------1598 //--------------------------------------------------------------------------------------------------1606 //--------------------------------------------------------------------------------------------------1612 //--------------------------------------------------------------------------------------------------1621 //--------------------------------------------------------------------------------------------------1634 //--------------------------------------------------------------------------------------------------1643 //--------------------------------------------------------------------------------------------------1656 //--------------------------------------------------------------------------------------------------1664 //--------------------------------------------------------------------------------------------------1670 //--------------------------------------------------------------------------------------------------1681 //--------------------------------------------------------------------------------------------------1691 //--------------------------------------------------------------------------------------------------1695 //--------------------------------------------------------------------------------------------------1701 //--------------------------------------------------------------------------------------------------1705 //--------------------------------------------------------------------------------------------------1711 //--------------------------------------------------------------------------------------------------1715 //--------------------------------------------------------------------------------------------------1721 //--------------------------------------------------------------------------------------------------1729 //--------------------------------------------------------------------------------------------------1735 //--------------------------------------------------------------------------------------------------1743 //--------------------------------------------------------------------------------------------------1749 //--------------------------------------------------------------------------------------------------1758 //--------------------------------------------------------------------------------------------------1766 //--------------------------------------------------------------------------------------------------1768 * Get TP-Message-Reference of a message. Message type should be either a SMS Status Report or an1778 //--------------------------------------------------------------------------------------------------1788 //--------------------------------------------------------------------------------------------------1800 //--------------------------------------------------------------------------------------------------1815 //--------------------------------------------------------------------------------------------------1826 //--------------------------------------------------------------------------------------------------1838 //--------------------------------------------------------------------------------------------------1849 //--------------------------------------------------------------------------------------------------1861 //--------------------------------------------------------------------------------------------------1871 //--------------------------------------------------------------------------------------------------Entertainment News National.Definition: le_sms_common.h:247Message saved in the message storage has been sent.Definition: le_sms_common.h:155Business News International.Definition: le_sms_common.h:233Employment Opportunities.Definition: le_sms_common.h:267A terminal problem other than described above.Definition: le_sms_common.h:346Unspecified TP-Command error.Definition: le_sms_common.h:474Definition: le_sms_common.h:312Definition: le_sms_common.h:371Definition: le_sms_common.h:327Definition: le_sms_common.h:357Card Application Toolkit Protocol Teleservice.Definition: le_sms_common.h:275Resources facility not subscribed.Definition: le_sms_common.h:432Definition: le_sms_common.h:332Definition: le_sms_common.h:445Definition: le_sms_common.h:343No SMS storage capability in (U)SIM.Definition: le_sms_common.h:496struct le_sms_RxMessageHandler * le_sms_RxMessageHandlerRef_tDefinition: le_sms_common.h:537Definition: le_sms_common.h:340Definition: le_sms_common.h:436Definition: le_sms_common.h:348Definition: le_sms_common.h:335Command cannot be actioned.Definition: le_sms_common.h:470Definition: le_sms_common.h:351Sementically incorect message.Definition: le_sms_common.h:439A network problem other than identified above.Definition: le_sms_common.h:322Definition: le_sms_common.h:365Definition: le_sms_common.h:463Sports News International.Definition: le_sms_common.h:241Message present in the message storage has not been read.Definition: le_sms_common.h:153Resources facility not implemented.Definition: le_sms_common.h:434Definition: le_sms_common.h:324Definition: le_sms_common.h:374Short Message Type 0 not supported.Definition: le_sms_common.h:457Entertainment News Regional.Definition: le_sms_common.h:245Definition: le_sms_common.h:368Resources unavailable, unspecified.Definition: le_sms_common.h:430Operator determined barring.Definition: le_sms_common.h:406Invalid mandatory information.Definition: le_sms_common.h:441Definition: le_sms_common.h:383Telematic interworking not supported.Definition: le_sms_common.h:455Short message transfer rejected.Definition: le_sms_common.h:412Delivery is not currently possible.Definition: le_sms_common.h:338Definition: le_sms_common.h:380The SMS Destination Address is invalid.Definition: le_sms_common.h:310Cannot replace short message.Definition: le_sms_common.h:459Entertainment News Local.Definition: le_sms_common.h:243Definition: le_sms_common.h:377Definition: le_sms_common.h:307void(* le_sms_RxMessageHandlerFunc_t)(le_sms_MsgRef_t msgRef, void *contextPtr)Definition: le_sms_common.h:570Message class not supported.Definition: le_sms_common.h:466Message type nonexistent or not implemented.Definition: le_sms_common.h:443Definition: le_sms_common.h:354void(* le_sms_FullStorageHandlerFunc_t)(le_sms_Storage_t storage, void *contextPtr)Definition: le_sms_common.h:584Entertainment News International.Definition: le_sms_common.h:249Definition: le_sms_common.h:448Message saved in the message storage has not been sent.Definition: le_sms_common.h:157void(* le_sms_CallbackResultFunc_t)(le_sms_MsgRef_t msgRef, le_sms_Status_t status, void *contextPtr)Definition: le_sms_common.h:554Local Airplane Flight Schedules.Definition: le_sms_common.h:255General News International.Definition: le_sms_common.h:225Definition: le_sms_common.h:318Definition: le_sms_common.h:315struct le_sms_FullStorageEventHandler * le_sms_FullStorageEventHandlerRef_tDefinition: le_sms_common.h:545Definition: le_sms_common.h:362