FreeCalypso > hg > sms-coding-utils
view doc/Network-MT-SMS-testing @ 25:2a19b44c272e
convert to new ThemWi configure and build system
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 21 May 2024 01:59:17 +0000 |
parents | b23b9f69c02a |
children | d7571dc2fecc |
line wrap: on
line source
Testing MT direction of SMS-PP from the network side ==================================================== The envisioned way to generate SMS-DELIVER TPDUs for MT SMS testing from the network side is to run a shell pipeline of this form: sms-encode-text [opt] [msg-text] | gen-sms-deliver-pdu from-number [opt] Breaking it down: * The message text to be turned into an SMS-DELIVER TPDU (or multiple such TPDUs with concatenated SMS) can be given on the command line as an argument to the sms-encode-text step in the pipeline, or can be fed as stdin to the pipeline. * Options for concatenated SMS or UCS-2 encoding need to be given at the sms-encode-text pipeline stage. * The "From" number to be encoded into the SMS-DELIVER TPDU is given as a mandatory argument at the gen-sms-deliver-pdu pipeline stage. * Additional options may be given at the gen-sms-deliver-pdu pipeline stage. Possible options are lp, mms, rp, sr, pid and sc-ts, described in the Tool-workflow article under sms-gen-tpdu description. The output from this pipeline will be a single hex-encoded SMS-DELIVER TPDU, emitted as one long hex line, or multiple such hex lines (each carrying a TPDU) in the case of concatenated SMS. Test programs written in the course of SMSC development will be designed to take this hex TPDU format as their input, on stdin, so that the final SMSC-specific step will be simply added to the just-described pipeline.