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 //--------------------------------------------------------------------------------------------------118 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------141 //--------------------------------------------------------------------------------------------------168 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------197 //--------------------------------------------------------------------------------------------------201 //--------------------------------------------------------------------------------------------------276 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------293 //--------------------------------------------------------------------------------------------------297 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------394 //--------------------------------------------------------------------------------------------------509 //--------------------------------------------------------------------------------------------------513 //--------------------------------------------------------------------------------------------------517 //--------------------------------------------------------------------------------------------------521 //--------------------------------------------------------------------------------------------------525 //--------------------------------------------------------------------------------------------------529 //--------------------------------------------------------------------------------------------------533 //--------------------------------------------------------------------------------------------------537 //--------------------------------------------------------------------------------------------------541 //--------------------------------------------------------------------------------------------------545 //--------------------------------------------------------------------------------------------------547 (556 //--------------------------------------------------------------------------------------------------561 //--------------------------------------------------------------------------------------------------563 (570 //--------------------------------------------------------------------------------------------------575 //--------------------------------------------------------------------------------------------------577 (585 //--------------------------------------------------------------------------------------------------589 //--------------------------------------------------------------------------------------------------596 //--------------------------------------------------------------------------------------------------600 //--------------------------------------------------------------------------------------------------607 //--------------------------------------------------------------------------------------------------611 //--------------------------------------------------------------------------------------------------618 //--------------------------------------------------------------------------------------------------625 //--------------------------------------------------------------------------------------------------635 //--------------------------------------------------------------------------------------------------639 //--------------------------------------------------------------------------------------------------647 //--------------------------------------------------------------------------------------------------654 //--------------------------------------------------------------------------------------------------664 //--------------------------------------------------------------------------------------------------668 //--------------------------------------------------------------------------------------------------676 //--------------------------------------------------------------------------------------------------686 //--------------------------------------------------------------------------------------------------692 //--------------------------------------------------------------------------------------------------703 * @note If telephone destination number is too long is too long (max LE_MDMDEFS_PHONE_NUM_MAX_LEN709 //--------------------------------------------------------------------------------------------------719 //--------------------------------------------------------------------------------------------------736 //--------------------------------------------------------------------------------------------------746 //--------------------------------------------------------------------------------------------------760 //--------------------------------------------------------------------------------------------------772 //--------------------------------------------------------------------------------------------------787 //--------------------------------------------------------------------------------------------------799 //--------------------------------------------------------------------------------------------------807 * @note If length of the data is too long (max LE_SMS_PDU_MAX_BYTES bytes), it is a fatal error,813 //--------------------------------------------------------------------------------------------------825 //--------------------------------------------------------------------------------------------------840 //--------------------------------------------------------------------------------------------------848 //--------------------------------------------------------------------------------------------------863 //--------------------------------------------------------------------------------------------------875 //--------------------------------------------------------------------------------------------------887 //--------------------------------------------------------------------------------------------------895 //--------------------------------------------------------------------------------------------------906 //--------------------------------------------------------------------------------------------------918 //--------------------------------------------------------------------------------------------------922 * Refer to @ref platformConstraintsSpecificErrorCodes for platform specific error code description.929 //--------------------------------------------------------------------------------------------------937 //--------------------------------------------------------------------------------------------------945 * @note If telephone destination number is too long is too long (max LE_MDMDEFS_PHONE_NUM_MAX_LEN950 //--------------------------------------------------------------------------------------------------964 //--------------------------------------------------------------------------------------------------973 //--------------------------------------------------------------------------------------------------987 //--------------------------------------------------------------------------------------------------999 //--------------------------------------------------------------------------------------------------1007 //--------------------------------------------------------------------------------------------------1017 //--------------------------------------------------------------------------------------------------1025 //--------------------------------------------------------------------------------------------------1034 //--------------------------------------------------------------------------------------------------1042 //--------------------------------------------------------------------------------------------------1053 //--------------------------------------------------------------------------------------------------1063 //--------------------------------------------------------------------------------------------------1074 //--------------------------------------------------------------------------------------------------1084 //--------------------------------------------------------------------------------------------------1088 * Output parameter is updated with the Telephone number. If the Telephone number string exceeds1099 //--------------------------------------------------------------------------------------------------1111 //--------------------------------------------------------------------------------------------------1116 * value of 'len' parameter, a LE_OVERFLOW error code is returned and 'timestamp' is filled until1126 //--------------------------------------------------------------------------------------------------1143 //--------------------------------------------------------------------------------------------------1147 * @return Number of characters for text and UCS2 messages, or the length of the data in bytes for1153 //--------------------------------------------------------------------------------------------------1161 //--------------------------------------------------------------------------------------------------1166 * exceeds the value of 'len' parameter, LE_OVERFLOW error code is returned and 'text' is filled1175 //--------------------------------------------------------------------------------------------------1187 //--------------------------------------------------------------------------------------------------1202 //--------------------------------------------------------------------------------------------------1214 //--------------------------------------------------------------------------------------------------1228 //--------------------------------------------------------------------------------------------------1240 //--------------------------------------------------------------------------------------------------1245 * in bytes. If the PDU data exceed the value of 'len' input parameter, a LE_OVERFLOW error code is1255 //--------------------------------------------------------------------------------------------------1267 //--------------------------------------------------------------------------------------------------1276 //--------------------------------------------------------------------------------------------------1284 //--------------------------------------------------------------------------------------------------1298 //--------------------------------------------------------------------------------------------------1306 //--------------------------------------------------------------------------------------------------1314 //--------------------------------------------------------------------------------------------------1320 //--------------------------------------------------------------------------------------------------1329 //--------------------------------------------------------------------------------------------------1337 //--------------------------------------------------------------------------------------------------1348 //--------------------------------------------------------------------------------------------------1356 //--------------------------------------------------------------------------------------------------1367 //--------------------------------------------------------------------------------------------------1375 //--------------------------------------------------------------------------------------------------1385 //--------------------------------------------------------------------------------------------------1393 //--------------------------------------------------------------------------------------------------1400 //--------------------------------------------------------------------------------------------------1408 //--------------------------------------------------------------------------------------------------1415 //--------------------------------------------------------------------------------------------------1423 //--------------------------------------------------------------------------------------------------1427 * Output parameter is updated with the SMS Service center address. If the Telephone number string exceeds1437 //--------------------------------------------------------------------------------------------------1447 //--------------------------------------------------------------------------------------------------1452 * E.164 numbers can have a maximum of fifteen digits and are usually written with a '+' prefix.1458 * @note If the SMS center address number is too long (max LE_MDMDEFS_PHONE_NUM_MAX_LEN digits), it1461 //--------------------------------------------------------------------------------------------------1469 //--------------------------------------------------------------------------------------------------1476 //--------------------------------------------------------------------------------------------------1484 //--------------------------------------------------------------------------------------------------1491 //--------------------------------------------------------------------------------------------------1499 //--------------------------------------------------------------------------------------------------1507 //--------------------------------------------------------------------------------------------------1513 //--------------------------------------------------------------------------------------------------1521 //--------------------------------------------------------------------------------------------------1527 //--------------------------------------------------------------------------------------------------1535 //--------------------------------------------------------------------------------------------------1541 //--------------------------------------------------------------------------------------------------1549 //--------------------------------------------------------------------------------------------------1555 //--------------------------------------------------------------------------------------------------1563 //--------------------------------------------------------------------------------------------------1573 //--------------------------------------------------------------------------------------------------1581 //--------------------------------------------------------------------------------------------------1591 //--------------------------------------------------------------------------------------------------1599 //--------------------------------------------------------------------------------------------------1605 //--------------------------------------------------------------------------------------------------1614 //--------------------------------------------------------------------------------------------------1627 //--------------------------------------------------------------------------------------------------1636 //--------------------------------------------------------------------------------------------------1649 //--------------------------------------------------------------------------------------------------1657 //--------------------------------------------------------------------------------------------------1663 //--------------------------------------------------------------------------------------------------1674 //--------------------------------------------------------------------------------------------------1684 //--------------------------------------------------------------------------------------------------1688 //--------------------------------------------------------------------------------------------------1694 //--------------------------------------------------------------------------------------------------1698 //--------------------------------------------------------------------------------------------------1704 //--------------------------------------------------------------------------------------------------1708 //--------------------------------------------------------------------------------------------------1714 //--------------------------------------------------------------------------------------------------1722 //--------------------------------------------------------------------------------------------------1728 //--------------------------------------------------------------------------------------------------1736 //--------------------------------------------------------------------------------------------------1742 //--------------------------------------------------------------------------------------------------1751 //--------------------------------------------------------------------------------------------------1759 //--------------------------------------------------------------------------------------------------1761 * Get TP-Message-Reference of a message. Message type should be either a SMS Status Report or an1771 //--------------------------------------------------------------------------------------------------1781 //--------------------------------------------------------------------------------------------------1793 //--------------------------------------------------------------------------------------------------1808 //--------------------------------------------------------------------------------------------------1819 //--------------------------------------------------------------------------------------------------1831 //--------------------------------------------------------------------------------------------------1842 //--------------------------------------------------------------------------------------------------1854 //--------------------------------------------------------------------------------------------------1864 //--------------------------------------------------------------------------------------------------Entertainment News National.Definition: le_sms_common.h:240Message saved in the message storage has been sent.Definition: le_sms_common.h:148Business News International.Definition: le_sms_common.h:226Employment Opportunities.Definition: le_sms_common.h:260A terminal problem other than described above.Definition: le_sms_common.h:339Unspecified TP-Command error.Definition: le_sms_common.h:467Definition: le_sms_common.h:305Definition: le_sms_common.h:364Definition: le_sms_common.h:320Definition: le_sms_common.h:350Card Application Toolkit Protocol Teleservice.Definition: le_sms_common.h:268Resources facility not subscribed.Definition: le_sms_common.h:425Definition: le_sms_common.h:325Definition: le_sms_common.h:438Definition: le_sms_common.h:336No SMS storage capability in (U)SIM.Definition: le_sms_common.h:489struct le_sms_RxMessageHandler * le_sms_RxMessageHandlerRef_tDefinition: le_sms_common.h:530Definition: le_sms_common.h:333Definition: le_sms_common.h:429Definition: le_sms_common.h:341Definition: le_sms_common.h:328Command cannot be actioned.Definition: le_sms_common.h:463Definition: le_sms_common.h:344Sementically incorect message.Definition: le_sms_common.h:432A network problem other than identified above.Definition: le_sms_common.h:315Definition: le_sms_common.h:358Definition: le_sms_common.h:456Sports News International.Definition: le_sms_common.h:234Message present in the message storage has not been read.Definition: le_sms_common.h:146Resources facility not implemented.Definition: le_sms_common.h:427Definition: le_sms_common.h:317Definition: le_sms_common.h:367Short Message Type 0 not supported.Definition: le_sms_common.h:450Entertainment News Regional.Definition: le_sms_common.h:238Definition: le_sms_common.h:361Resources unavailable, unspecified.Definition: le_sms_common.h:423Operator determined barring.Definition: le_sms_common.h:399Invalid mandatory information.Definition: le_sms_common.h:434Definition: le_sms_common.h:376Telematic interworking not supported.Definition: le_sms_common.h:448Short message transfer rejected.Definition: le_sms_common.h:405Delivery is not currently possible.Definition: le_sms_common.h:331Definition: le_sms_common.h:373The SMS Destination Address is invalid.Definition: le_sms_common.h:303Cannot replace short message.Definition: le_sms_common.h:452Entertainment News Local.Definition: le_sms_common.h:236Definition: le_sms_common.h:370Definition: le_sms_common.h:300void(* le_sms_RxMessageHandlerFunc_t)(le_sms_MsgRef_t msgRef, void *contextPtr)Definition: le_sms_common.h:563Message class not supported.Definition: le_sms_common.h:459Message type nonexistent or not implemented.Definition: le_sms_common.h:436Definition: le_sms_common.h:347void(* le_sms_FullStorageHandlerFunc_t)(le_sms_Storage_t storage, void *contextPtr)Definition: le_sms_common.h:577Entertainment News International.Definition: le_sms_common.h:242Definition: le_sms_common.h:441Message saved in the message storage has not been sent.Definition: le_sms_common.h:150void(* le_sms_CallbackResultFunc_t)(le_sms_MsgRef_t msgRef, le_sms_Status_t status, void *contextPtr)Definition: le_sms_common.h:547Local Airplane Flight Schedules.Definition: le_sms_common.h:248General News International.Definition: le_sms_common.h:218Definition: le_sms_common.h:311Definition: le_sms_common.h:308struct le_sms_FullStorageEventHandler * le_sms_FullStorageEventHandlerRef_tDefinition: le_sms_common.h:538Definition: le_sms_common.h:355