MediaTek
MMISMS-APP
SAPDesignSpecification
DocumentsNumber:
ReleaseDate:Sep,18,2004
(Released)InformationPreliminary
Revision:0.0
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
RevisionHistory
RevisionDateAuthorComments
0.0009/18/2004JoyHuangDraftversion
MediaTekConfidentialRevision0.00–July18,2002Page:2of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
Tableofcontents
RevisionHistory........................................................................................................................................................2
Tableofcontents......................................................................................................................................................3
1Introduction......................................................................................................................................................8
1.1Overview.....................................................................................................................................................8
1.2References..................................................................................................................................................8
2Constant...........................................................................................................................................................9
2.1MessageSet...............................................................................................................................................9
2.2MessageID.................................................................................................................................................9
2.3DefaultConstant..........................................................................................................................................9
3Message..........................................................................................................................................................10
3.1MSG_ID_MMIAPI_SMS_REGISTER_PORT_REQ..................................................................................10
3.1.1Description..........................................................................................................................................10
3.1.2Direction..............................................................................................................................................10
3.1.3Field....................................................................................................................................................10
3.2MSG_ID_MMIAPI_SMS_REGISTER_PORT_RSP...................................................................................10
3.2.1Description..........................................................................................................................................10
3.2.2Direction..............................................................................................................................................10
3.2.3Field....................................................................................................................................................10
3.3MSG_ID_MMIAPI_SMS_IND....................................................................................................................10
3.3.1Description..........................................................................................................................................10
3.3.2Direction..............................................................................................................................................10
3.3.3Field....................................................................................................................................................10
3.4MSG_ID_MMIAPI_SMS_CHECK_INCOMING_MSG_REQ......................................................................11
3.4.1Description..........................................................................................................................................11
3.4.2Direction..............................................................................................................................................11
3.4.3Field....................................................................................................................................................11
3.5MSG_ID_MMIFRM_SMS_CHECK_INCOMING_MSG_RSP....................................................................11
3.5.1Description..........................................................................................................................................11
3.5.2Direction..............................................................................................................................................11
3.5.3Field....................................................................................................................................................11
3.6MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_TIMESTAMP_REQ....................................................11
3.6.1Description..........................................................................................................................................11
3.6.2Direction..............................................................................................................................................11
3.6.3Field....................................................................................................................................................11
3.7MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_TIMESTAMP_RSP....................................................12
3.7.1Description..........................................................................................................................................12
3.7.2Direction..............................................................................................................................................12
3.7.3Field....................................................................................................................................................12
3.8MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_ADDRESS_REQ........................................................12
3.8.1Description..........................................................................................................................................12
3.8.2Direction..............................................................................................................................................12
3.8.3Field....................................................................................................................................................12
3.9MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_ADDRESS_RSP........................................................12
MediaTekConfidentialRevision0.00–July18,2002Page:3of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
3.9.1Description..........................................................................................................................................12
3.9.2Direction..............................................................................................................................................12
3.9.3Field....................................................................................................................................................12
3.10MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_REQ...........................................................................13
3.10.1Description..........................................................................................................................................13
3.10.2Direction..............................................................................................................................................13
3.10.3Field....................................................................................................................................................13
3.11MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_RSP...........................................................................13
3.11.1Description..........................................................................................................................................13
3.11.2Direction..............................................................................................................................................13
3.11.3Field....................................................................................................................................................13
3.12MSG_ID_MMIAPI_SMS_SEND_REQ.......................................................................................................13
3.12.1Description..........................................................................................................................................13
3.12.2Direction..............................................................................................................................................13
3.12.3Field....................................................................................................................................................13
3.13MSG_ID_MMIAPI_SMS_SEND_RSP.......................................................................................................14
3.13.1Description..........................................................................................................................................14
3.13.2Direction..............................................................................................................................................14
3.13.3Field....................................................................................................................................................14
4Functioncall...................................................................................................................................................15
4.1mmi_frm_app_read_msg_req...................................................................................................................15
4.1.1FunctionDefinition..............................................................................................................................15
4.1.2Description..........................................................................................................................................15
4.1.3Argument............................................................................................................................................15
4.1.4Returnvalue........................................................................................................................................15
4.1.5Functionbehaviordescription.............................................................................................................15
4.2mmi_frm_app_read_msg_rsp....................................................................................................................15
4.2.1FunctionDefinition..............................................................................................................................15
4.2.2Description..........................................................................................................................................15
4.2.3Argument............................................................................................................................................15
4.2.4Returnvalue........................................................................................................................................15
4.2.5Functionbehaviordescription.............................................................................................................15
4.3mmi_frm_app_delete_msg_req.................................................................................................................16
4.3.1FunctionDefinition..............................................................................................................................16
4.3.2Description..........................................................................................................................................16
4.3.3Argument............................................................................................................................................16
4.3.4Returnvalue........................................................................................................................................16
4.3.5Functionbehaviordescription.............................................................................................................16
4.4mmi_frm_app_delete_msg_rsp.................................................................................................................16
4.4.1FunctionDefinition..............................................................................................................................16
4.4.2Description..........................................................................................................................................16
4.4.3Argument............................................................................................................................................16
4.4.4Returnvalue........................................................................................................................................16
4.4.5Functionbehaviordescription.............................................................................................................16
4.5mmi_frm_app_save_msg_req...................................................................................................................16
4.5.1FunctionDefinition..............................................................................................................................16
4.5.2Description..........................................................................................................................................17
4.5.3Argument............................................................................................................................................17
MediaTekConfidentialRevision0.00–July18,2002Page:4of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.5.4Returnvalue........................................................................................................................................17
4.5.5Functionbehaviordescription.............................................................................................................17
4.6mmi_frm_app_save_msg_rsp...................................................................................................................17
4.6.1FunctionDefinition..............................................................................................................................17
4.6.2Description..........................................................................................................................................17
4.6.3Argument............................................................................................................................................17
4.6.4Returnvalue........................................................................................................................................17
4.6.5Functionbehaviordescription.............................................................................................................17
4.7mmi_frm_app_send_msg_req...................................................................................................................17
4.7.1FunctionDefinition..............................................................................................................................17
4.7.2Description..........................................................................................................................................18
4.7.3Argument............................................................................................................................................18
4.7.4Returnvalue........................................................................................................................................18
4.7.5Functionbehaviordescription.............................................................................................................18
4.8mmi_frm_app_send_msg_rsp...................................................................................................................18
4.8.1FunctionDefinition..............................................................................................................................18
4.8.2Description..........................................................................................................................................18
4.8.3Argument............................................................................................................................................18
4.8.4Returnvalue........................................................................................................................................18
4.8.5Functionbehaviordescription.............................................................................................................18
4.9mmi_frm_app_get_msg_list_req...............................................................................................................19
4.9.1FunctionDefinition..............................................................................................................................19
4.9.2Description..........................................................................................................................................19
4.9.3Argument............................................................................................................................................19
4.9.4Returnvalue........................................................................................................................................19
4.9.5Functionbehaviordescription.............................................................................................................19
4.10mmi_frm_app_get_msg_list_rsp................................................................................................................19
4.10.1FunctionDefinition..............................................................................................................................19
4.10.2Description..........................................................................................................................................19
4.10.3Argument............................................................................................................................................19
4.10.4Returnvalue........................................................................................................................................19
4.10.5Functionbehaviordescription.............................................................................................................19
4.11mmi_frm_app_reg_port_req......................................................................................................................19
4.11.1FunctionDefinition..............................................................................................................................19
4.11.2Description..........................................................................................................................................20
4.11.3Argument............................................................................................................................................20
4.11.4Returnvalue........................................................................................................................................20
4.11.5Functionbehaviordescription.............................................................................................................20
4.12mmi_frm_app_reg_port_rsp......................................................................................................................20
4.12.1FunctionDefinition..............................................................................................................................20
4.12.2Description..........................................................................................................................................20
4.12.3Argument............................................................................................................................................20
4.12.4Returnvalue........................................................................................................................................20
4.12.5Functionbehaviordescription.............................................................................................................20
4.13mmi_frm_app_new_msg_ind....................................................................................................................20
4.13.1FunctionDefinition..............................................................................................................................20
4.13.2Description..........................................................................................................................................20
4.13.3Argument............................................................................................................................................21
MediaTekConfidentialRevision0.00–July18,2002Page:5of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.13.4Returnvalue........................................................................................................................................21
4.13.5Functionbehaviordescription.............................................................................................................21
4.14mmi_frm_app_new_data_ind....................................................................................................................21
4.14.1FunctionDefinition..............................................................................................................................21
4.14.2Description..........................................................................................................................................21
4.14.3Argument............................................................................................................................................21
4.14.4Returnvalue........................................................................................................................................21
4.14.5Functionbehaviordescription.............................................................................................................21
4.15mmi_frm_app_get_data_req.....................................................................................................................21
4.15.1FunctionDefinition..............................................................................................................................21
4.15.2Description..........................................................................................................................................21
4.15.3Argument............................................................................................................................................21
4.15.4Returnvalue........................................................................................................................................21
4.15.5Functionbehaviordescription.............................................................................................................22
4.16mmi_frm_app_get_data_rsp......................................................................................................................22
4.16.1FunctionDefinition..............................................................................................................................22
4.16.2Description..........................................................................................................................................22
4.16.3Argument............................................................................................................................................22
4.16.4Returnvalue........................................................................................................................................22
4.16.5Functionbehaviordescription.............................................................................................................22
4.17mmi_frm_app_check_msg_req.................................................................................................................22
4.17.1FunctionDefinition..............................................................................................................................22
4.17.2Description..........................................................................................................................................22
4.17.3Argument............................................................................................................................................22
4.17.4Returnvalue........................................................................................................................................22
4.17.5Functionbehaviordescription.............................................................................................................22
4.18mmi_frm_app_check_msg_rsp..................................................................................................................23
4.18.1FunctionDefinition..............................................................................................................................23
4.18.2Description..........................................................................................................................................23
4.18.3Argument............................................................................................................................................23
4.18.4Returnvalue........................................................................................................................................23
4.18.5Functionbehaviordescription.............................................................................................................23
4.19mmi_frm_app_get_msg_timestamp_req...................................................................................................23
4.19.1FunctionDefinition..............................................................................................................................23
4.19.2Description..........................................................................................................................................23
4.19.3Argument............................................................................................................................................23
4.19.4Returnvalue........................................................................................................................................23
4.19.5Functionbehaviordescription.............................................................................................................23
4.20mmi_frm_app_get_msg_timestamp_rsp...................................................................................................23
4.20.1FunctionDefinition..............................................................................................................................23
4.20.2Description..........................................................................................................................................23
4.20.3Argument............................................................................................................................................24
4.20.4Returnvalue........................................................................................................................................24
4.20.5Functionbehaviordescription.............................................................................................................24
4.21mmi_frm_app_get_msg_address_req.......................................................................................................24
4.21.1FunctionDefinition..............................................................................................................................24
4.21.2Description..........................................................................................................................................24
4.21.3Argument............................................................................................................................................24
MediaTekConfidentialRevision0.00–July18,2002Page:6of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.21.4Returnvalue........................................................................................................................................24
4.21.5Functionbehaviordescription.............................................................................................................24
4.22mmi_frm_app_get_msg_address_rsp.......................................................................................................24
4.22.1FunctionDefinition..............................................................................................................................24
4.22.2Description..........................................................................................................................................24
4.22.3Argument............................................................................................................................................24
4.22.4Returnvalue........................................................................................................................................24
4.22.5Functionbehaviordescription.............................................................................................................25
5Parameters.....................................................................................................................................................26
5.1.1frm_sms_list_entry_structure..............................................................................................................26
5.1.2frm_sms_index_entry_structure..........................................................................................................26
5.1.3frm_sms_action_entry_structure.........................................................................................................26
Figuresindex...........................................................................................................................................................27
TableIndex..............................................................................................................................................................28
MediaTekConfidentialRevision0.00–July18,2002Page:7of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
1Introduction
ThisdocumentdescribesthesetofmessagesprovidedinserviceaccesspointbetweenMMISMSrelated
applicationsandL4Controller.
1.1Overview
1.2References
Thefollowingdocumentsarethereferencesofthepresentdocuments.
null[1]3GPPTS23.040V3.8.0TechnicalrealizationoftheShortMessageService(SMS)(R99).
null[2]3GPPTS27.005UseofDataTerminalEquipment–DataCircuitterminatingEquipment
(DTE-DCE)interfaceforShortMessageService(SMS)andCellBroadcastService(CBS).
null[3]3GPPTS22.022V3.1.0PersonalisationofMobileEquipment(ME);Mobile
functionalityspecification.
null[4]3GPPTS23.038Alphabetsandlanguage-specificinformation.
MediaTekConfidentialRevision0.00–July18,2002Page:8of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
2Constant
2.1MessageSet
ShortnameValueComment
MMISMS_SET
2.2MessageID
ShortnameValueComment
2.3DefaultConstant
ShortnameValueLongnameComment
MAX_DIGITS41
MAX_DIGITS_SMS21
MAX_TIMESTAMP_SIZE12
MAX_PROFILE_EDIT_ITEMS4
MAX_PROFILE_NAME_LEN30
MAX_STATUS_REPORT_NUM10
MAX_LFOUR_PROFILES4
MAX_LFOUR_VP5
MAX_LFOUR_MSG_TYPE4
MAX_MAILBOX_PS_SUPPORT2
MediaTekConfidentialRevision0.00–July18,2002Page:9of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
3Message
3.1MSG_ID_MMIAPI_SMS_REGISTER_PORT_REQ
3.1.1Description
ThismessageisusedbyotherMODtoregisterportforAPP.
3.1.2Direction
OtherMOD->MMI
3.1.3Field
TypeShortnameLongnameRef.Comment
S16port_number
BOOLenable
BOOLremove_reminder_data
3.2MSG_ID_MMIAPI_SMS_REGISTER_PORT_RSP
3.2.1Description
ThismessageisusedtoresponseforMSG_ID_MMIAPI_SMS_REGISTER_PORT_REQ.
3.2.2Direction
MMI->OtherMOD
3.2.3Field
TypeShortnameLongnameRef.Comment
S16result
3.3MSG_ID_MMIAPI_SMS_IND
3.3.1Description
ThismessageisusedtoindicatenewSMSarrivalwithportregistered.
3.3.2Direction
MMI->OtherMOD
3.3.3Field
TypeShortnameLongnameRef.Comment
S16serial
MediaTekConfidentialRevision0.00–July18,2002Page:10of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
S16port_number
smsal_dcs_enumDCS
3.4MSG_ID_MMIAPI_SMS_CHECK_INCOMING_MSG_REQ
3.4.1Description
ThismessageisusedforotherMODtocheckincomingmessage.
3.4.2Direction
Other->MMIAPI
3.4.3Field
TypeShortnameLongnameRef.Comment
S16port_number
BOOLonly_new
voidblocking_data
3.5MSG_ID_MMIFRM_SMS_CHECK_INCOMING_MSG_RSP
3.5.1Description
ThismessageisusedtoresponseforMSG_ID_MMIAPI_SMS_CHECK_INCOMING_MSG_REQ.
3.5.2Direction
L4Controller->MMI
3.5.3Field
TypeShortnameLongnameRef.Comment
S16result
3.6MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_TIMESTAMP_REQ
3.6.1Description
ThismessageisusedbyotherMODtogetincomingmessagetimestamp.
3.6.2Direction
OtherMOD->MMI
3.6.3Field
TypeShortnameLongnameRef.Comment
S16port_number
MediaTekConfidentialRevision0.00–July18,2002Page:11of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
voidblocking_data
3.7MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_TIMESTAMP_RSP
3.7.1Description
ThismessageisusedtoresponseforMSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_TIMESTAMP_REQ.
3.7.2Direction
MMI->OtherMOD
3.7.3Field
TypeShortnameLongnameRef.Comment
U8scts[7]timestamp
3.8MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_ADDRESS_REQ
3.8.1Description
ThismessageisusedbyotherMODtogetincomingmessageaddress.
3.8.2Direction
OtherMOD->MMI
3.8.3Field
TypeShortnameLongnameRef.Comment
S16port_number
voidblocking_data
3.9MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_ADDRESS_RSP
3.9.1Description
ThismessageisusedtoresponseforMSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_ADDRESS_REQ.
3.9.2Direction
MMI->OtherMOD
3.9.3Field
TypeShortnameLongnameRef.Comment
l4_addr_bcd_structincoming_address
MediaTekConfidentialRevision0.00–July18,2002Page:12of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
3.10MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_REQ
3.10.1Description
ThismessageisusedbyotherMODtogetincomingmessagecontent.
3.10.2Direction
OtherMOD->MMI
3.10.3Field
TypeShortnameLongnameRef.Comment
S16port_number
voidblocking_data
3.11MSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_RSP
3.11.1Description
ThismessageisusedtoresponseforMSG_ID_MMIAPI_SMS_GET_INCOMING_MSG_REQ.
3.11.2Direction
MMI->OtherMOD
3.11.3Field
TypeShortnameLongnameRef.Comment
U8message
S16U16message_len
3.12MSG_ID_MMIAPI_SMS_SEND_REQ
3.12.1Description
ThismessageisusedbyotherMODtosendmessage.
3.12.2Direction
OtherMOD->MMI
3.12.3Field
TypeShortnameLongnameRef.Comment
l4c_number_structaddr
S16port_number
U8msg
S16msg_length
smsal_dcs_enumdcs
voidblocking_data
MediaTekConfidentialRevision0.00–July18,2002Page:13of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
3.13MSG_ID_MMIAPI_SMS_SEND_RSP
3.13.1Description
ThismessageisusedtoresponseforMSG_ID_MMIAPI_SMS_SEND_REQ.
3.13.2Direction
MMI->OtherMOD
3.13.3Field
TypeShortnameLongnameRef.Comment
BOOLresult
MediaTekConfidentialRevision0.00–July18,2002Page:14of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4Functioncall
4.1mmi_frm_app_read_msg_req
4.1.1FunctionDefinition
voidmmi_frm_app_read_msg_req(U8type,U16index,PsFuncPtrcallback);
4.1.2Description
Readmessagerequest.
4.1.3Argument
TypeShortnameLongnameRef.Comment
U8typemessagetypeinbox/outbox
U16indexmessageindexindexinmmiapi
PsFuncPtrcallbackcallbackfunction
4.1.4Returnvalue
None
4.1.5Functionbehaviordescription
4.2mmi_frm_app_read_msg_rsp
4.2.1FunctionDefinition
voidmmi_frm_app_read_msg_rsp(BOOLresult,U8EMSdata);
4.2.2Description
Readmessageresponse.
4.2.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
U8EMSdatapointertoEMSdata
4.2.4Returnvalue
None
4.2.5Functionbehaviordescription
MediaTekConfidentialRevision0.00–July18,2002Page:15of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.3mmi_frm_app_delete_msg_req
4.3.1FunctionDefinition
voidmmi_frm_app_delete_msg_req(U8type,U16index,PsFuncPtrcallback);
4.3.2Description
Deletemessagerequest.
4.3.3Argument
TypeShortnameLongnameRef.Comment
U8typemessagetypeinbox/outbox
U16indexmessageindexindexinmmiapi
PsFuncPtrcallbackcallbackfunction
4.3.4Returnvalue
None
4.3.5Functionbehaviordescription
4.4mmi_frm_app_delete_msg_rsp
4.4.1FunctionDefinition
voidmmi_frm_app_delete_msg_rsp(BOOLresult);
4.4.2Description
Deletemessageresponse.
4.4.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
4.4.4Returnvalue
None.
4.4.5Functionbehaviordescription
4.5mmi_frm_app_save_msg_req
4.5.1FunctionDefinition
voidmmi_frm_app_save_msg_req(U8type,U8dcs,U8number,U8EMSdata,S8filename,S8string,
U16stringlen,PsFuncPtrcallback);
MediaTekConfidentialRevision0.00–July18,2002Page:16of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.5.2Description
Savemessagerequest.
4.5.3Argument
TypeShortnameLongnameRef.Comment
U8typemessagetype
U8dcsmessagedcs
U8numberDAnumber
U8EMSdatapointertoEMSdata
S8filenamepointertofilename
S8stringpointertostring
U16stringlenstringlength
PsFuncPtrcallbackcallbackfunction
4.5.4Returnvalue
None
4.5.5Functionbehaviordescription
4.6mmi_frm_app_save_msg_rsp
4.6.1FunctionDefinition
voidmmi_frm_app_save_msg_rsp(BOOLresult);
4.6.2Description
Savemessageresponse.
4.6.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
4.6.4Returnvalue
None.
4.6.5Functionbehaviordescription
4.7mmi_frm_app_send_msg_req
4.7.1FunctionDefinition
voidmmiapi_msg_app_send_msg_req(U16srcport,U16desport,U16replyindex,U8dcs,U8class,U8
number,U8EMSdata,S8filename,S8string,U16stringlen,PsFuncPtrcallback);
MediaTekConfidentialRevision0.00–July18,2002Page:17of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.7.2Description
Sendmessagerequest.
4.7.3Argument
TypeShortnameLongnameRef.Comment
U16srcportsourceport
U16desportdestinationport
U16replyindexreplyindex
U8dcsmessagedcs
U8classmessageclass
U8numberDAnumber
U8EMSdatapointertoEMSdata
S8filenamepointertofilename
S8stringpointertostring
U16stringlenstringlength
PsFuncPtrcallbackcallbackfunction
4.7.4Returnvalue
None.
4.7.5Functionbehaviordescription
4.8mmi_frm_app_send_msg_rsp
4.8.1FunctionDefinition
voidmmi_frm_app_send_msg_rsp(BOOLresult);
4.8.2Description
Sendmessageresponse.
4.8.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
4.8.4Returnvalue
None.
4.8.5Functionbehaviordescription
MediaTekConfidentialRevision0.00–July18,2002Page:18of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.9mmi_frm_app_get_msg_list_req
4.9.1FunctionDefinition
voidmmi_frm_app_get_msg_list_req(U8type,PsFuncPtrcallback);
4.9.2Description
Getmessagelistrequest.
4.9.3Argument
TypeShortnameLongnameRef.Comment
U8typemessagetype
PsFuncPtrcallbackcallbackfunction
4.9.4Returnvalue
4.9.5Functionbehaviordescription
4.10mmi_frm_app_get_msg_list_rsp
4.10.1FunctionDefinition
voidmmi_frm_app_get_msg_list_rsp(BOOLresult,U16total,msgboxmsglist);
4.10.2Description
Getmessagelistresponse.
4.10.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
U16totaltotalamount
msgboxmsglistmessagelist
4.10.4Returnvalue
None.
4.10.5Functionbehaviordescription
4.11mmi_frm_app_reg_port_req
4.11.1FunctionDefinition
voidmmi_frm_app_reg_port_req(U16portnum,U8enable,U8rmvdata,PsFuncPtrcallback);
MediaTekConfidentialRevision0.00–July18,2002Page:19of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.11.2Description
Registerportrequest.
4.11.3Argument
TypeShortnameLongnameRef.Comment
U16portnumportnumber
U8enableenable/disableport
U8rmvdataremove/nonremove
data
PsFuncPtrcallbackcallbackfunction
4.11.4Returnvalue
None.
4.11.5Functionbehaviordescription
4.12mmi_frm_app_reg_port_rsp
4.12.1FunctionDefinition
voidmmi_frm_app_reg_port_rsp(BOOLresult);
4.12.2Description
Registerportresponse.
4.12.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
4.12.4Returnvalue
None.
4.12.5Functionbehaviordescription
4.13mmi_frm_app_new_msg_ind
4.13.1FunctionDefinition
voidmmi_frm_app_new_msg_ind(U16index,U8number);
4.13.2Description
Newmessageindication.
MediaTekConfidentialRevision0.00–July18,2002Page:20of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.13.3Argument
TypeShortnameLongnameRef.Comment
U16indexmessageindexindexinmmiapi
U8numbermessagenumber
4.13.4Returnvalue
None
4.13.5Functionbehaviordescription
4.14mmi_frm_app_new_data_ind
4.14.1FunctionDefinition
voidmmi_frm_app_new_data_ind(U16destport);
4.14.2Description
Newdataindication.
4.14.3Argument
TypeShortnameLongnameRef.Comment
U16destportportnumber
4.14.4Returnvalue
None
4.14.5Functionbehaviordescription
4.15mmi_frm_app_get_data_req
4.15.1FunctionDefinition
voidmmi_frm_app_get_data_req(U16destport);
4.15.2Description
Getdatarequest.
4.15.3Argument
TypeShortnameLongnameRef.Comment
U16destportportnumber
4.15.4Returnvalue
None
MediaTekConfidentialRevision0.00–July18,2002Page:21of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.15.5Functionbehaviordescription
4.16mmi_frm_app_get_data_rsp
4.16.1FunctionDefinition
voidmmi_frm_app_get_data_rsp(U16datalen,U8data);
4.16.2Description
Getdataresponse.
4.16.3Argument
TypeShortnameLongnameRef.Comment
U16datalendatalength
U8datapointertodata
4.16.4Returnvalue
None
4.16.5Functionbehaviordescription
4.17mmi_frm_app_check_msg_req
4.17.1FunctionDefinition
voidmmi_frm_app_check_msg_req(U16portnum,BOOLonlynew);
4.17.2Description
Checkmessagerequest.
4.17.3Argument
TypeShortnameLongnameRef.Comment
U16portnumportnumber
BOOLonlynewflagofonlynewornot
4.17.4Returnvalue
None
4.17.5Functionbehaviordescription
MediaTekConfidentialRevision0.00–July18,2002Page:22of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.18mmi_frm_app_check_msg_rsp
4.18.1FunctionDefinition
voidmmi_frm_app_check_msg_rsp(BOOLresult);
4.18.2Description
Checkmessageresponse.
4.18.3Argument
TypeShortnameLongnameRef.Comment
BOOLresult
4.18.4Returnvalue
None
4.18.5Functionbehaviordescription
4.19mmi_frm_app_get_msg_timestamp_req
4.19.1FunctionDefinition
voidmmi_frm_app_get_msg_timestamp_req(U16portnum);
4.19.2Description
Getmessagetimestamprequest.
4.19.3Argument
TypeShortnameLongnameRef.Comment
U16portnumportnumber
4.19.4Returnvalue
None
4.19.5Functionbehaviordescription
4.20mmi_frm_app_get_msg_timestamp_rsp
4.20.1FunctionDefinition
voidmmi_frm_app_get_msg_timestamp_rsp(U8timestamp);
4.20.2Description
Getmessagetimestampresponse.
MediaTekConfidentialRevision0.00–July18,2002Page:23of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.20.3Argument
TypeShortnameLongnameRef.Comment
U8timestamptimestamp
4.20.4Returnvalue
None
4.20.5Functionbehaviordescription
4.21mmi_frm_app_get_msg_address_req
4.21.1FunctionDefinition
voidmmi_frm_app_get_msg_address_req(U16portnum);
4.21.2Description
Getmessagesaddressrequest.
4.21.3Argument
TypeShortnameLongnameRef.Comment
U16portnumportnumber
4.21.4Returnvalue
None
4.21.5Functionbehaviordescription
4.22mmi_frm_app_get_msg_address_rsp
4.22.1FunctionDefinition
voidmmi_frm_app_get_msg_address_rsp(U8number);
4.22.2Description
Getmessageaddressresponse.
4.22.3Argument
TypeShortnameLongnameRef.Comment
U8timestamptimestamp
4.22.4Returnvalue
None
MediaTekConfidentialRevision0.00–July18,2002Page:24of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
4.22.5Functionbehaviordescription
MediaTekConfidentialRevision0.00–July18,2002Page:25of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
5Parameters
5.1.1frm_sms_list_entry_structure
5.1.1.1Description
ThisstructuredescribesasingleentryofSMSlist.
5.1.1.2Element
TypeShortnameLongnameRef.Comment
U8msgTypemessagetype1
st
halfoctet:mti
2
nd
halfoctet:status
U8msgSegmessagesegmentinfo1
st
halfoctet:totalseg
2
nd
halfoctet:startseg
U8msgRefmessagereferencenum
U8msgTime[7]messagetimestamp
U8msgAddr[21]messageOA/DA
U8pedding
U16msgIndexpointertomessageindexfirstnon-emptyindex
U8msgContentpointertomessagecontentnotusenow
5.1.2frm_sms_index_entry_structure
5.1.2.1Description
ThisstructuredescribesasingleentryofSMSindexlist.
5.1.2.2Element
TypeShortnameLongnameRef.Comment
U8msgSegmessagesegmentsegmentofthisindex
U16msgIndexnextmessageindexnextnon-emptyindex
0xffff:lastnon-emptysegment
5.1.3frm_sms_action_entry_structure
5.1.3.1Description
ThisstructuredescribesasingleentryofSMSactionlist.
5.1.3.2Element
TypeShortnameLongnameRef.Comment
U8msgActionmessageaction
U16msgIndexmessageindexfirstnon-emptyindex
U8msgContentpointertomessagecontent
CallBackmsgCallbackpointertocallbackfunction
MediaTekConfidentialRevision0.00–July18,2002Page:26of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
Figuresindex
Figure1NameofFigure.................................................................................................................錯誤!尚未定義書籤。
MediaTekConfidentialRevision0.00–July18,2002Page:27of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
MMISMS-L4C
PreliminaryInformationSAPDesignSpecification
TableIndex
Table1...........................................................................................................................................錯誤!尚未定義書籤。
MediaTekConfidentialRevision0.00–July18,2002Page:28of28
?2002MediaTekInc.
Theinformationcontainedinthisdocumentcanbemodifiedwithoutnotice
|
|