ETSI TS 126 268-2016 Digital cellular telecommunications system (Phase 2+) Universal Mobile Telecommunications System (UMTS) eCall data transfer In-band modem solution ANSI-C refer.pdf

上传人:吴艺期 文档编号:741905 上传时间:2019-01-11 格式:PDF 页数:29 大小:155.75KB
下载 相关 举报
ETSI TS 126 268-2016 Digital cellular telecommunications system (Phase 2+) Universal Mobile Telecommunications System (UMTS) eCall data transfer In-band modem solution ANSI-C refer.pdf_第1页
第1页 / 共29页
ETSI TS 126 268-2016 Digital cellular telecommunications system (Phase 2+) Universal Mobile Telecommunications System (UMTS) eCall data transfer In-band modem solution ANSI-C refer.pdf_第2页
第2页 / 共29页
ETSI TS 126 268-2016 Digital cellular telecommunications system (Phase 2+) Universal Mobile Telecommunications System (UMTS) eCall data transfer In-band modem solution ANSI-C refer.pdf_第3页
第3页 / 共29页
ETSI TS 126 268-2016 Digital cellular telecommunications system (Phase 2+) Universal Mobile Telecommunications System (UMTS) eCall data transfer In-band modem solution ANSI-C refer.pdf_第4页
第4页 / 共29页
ETSI TS 126 268-2016 Digital cellular telecommunications system (Phase 2+) Universal Mobile Telecommunications System (UMTS) eCall data transfer In-band modem solution ANSI-C refer.pdf_第5页
第5页 / 共29页
点击查看更多>>
资源描述

1、 ETSI TS 1Digital cellular telecoUniversal Mobile TeleCIn-banANS(3GPP TS 26.2floppy3TECHNICAL SPECIFICATION126 268 V13.0.0 (2016communications system (Phaelecommunications System (eCall data transfer; and modem solution; NSI-C reference code .268 version 13.0.0 Release 13GLOBAL SYSTEMOBILE COMMUN16-

2、01) hase 2+); (UMTS); 13) TEM FOR ICATIONSRETSI ETSI TS 126 268 V13.0.0 (2016-01)13GPP TS 26.268 version 13.0.0 Release 13Reference RTS/TSGS-0426268vd00 Keywords GSM,UMTS ETSI 650 Route des Lucioles F-06921 Sophia Antipolis Cedex - FRANCE Tel.: +33 4 92 94 42 00 Fax: +33 4 93 65 47 16 Siret N 348 62

3、3 562 00017 - NAF 742 C Association but non lucratif enregistre la Sous-Prfecture de Grasse (06) N 7803/88 Important notice The present document can be downloaded from: http:/www.etsi.org/standards-search The present document may be made available in electronic versions and/or in print. The content

4、of any electronic and/or print versions of the present document shall not be modified without the prior written authorization of ETSI. In case of any existing or perceived difference in contents between such versions and/or in print, the only prevailing document is the print of the Portable Document

5、 Format (PDF) version kept on a specific network drive within ETSI Secretariat. Users of the present document should be aware that the document may be subject to revision or change of status. Information on the current status of this and other ETSI documents is available at http:/portal.etsi.org/tb/

6、status/status.asp If you find errors in the present document, please send your comment to one of the following services: https:/portal.etsi.org/People/CommiteeSupportStaff.aspx Copyright Notification No part may be reproduced or utilized in any form or by any means, electronic or mechanical, includi

7、ng photocopying and microfilm except as authorized by written permission of ETSI. The content of the PDF version shall not be modified without the written authorization of ETSI. The copyright and the foregoing restriction extend to reproduction in all media. European Telecommunications Standards Ins

8、titute 2016. All rights reserved. DECTTM, PLUGTESTSTM, UMTSTMand the ETSI logo are Trade Marks of ETSI registered for the benefit of its Members. 3GPPTM and LTE are Trade Marks of ETSI registered for the benefit of its Members and of the 3GPP Organizational Partners. GSM and the GSM logo are Trade M

9、arks registered and owned by the GSM Association. ETSI ETSI TS 126 268 V13.0.0 (2016-01)23GPP TS 26.268 version 13.0.0 Release 13Intellectual Property Rights IPRs essential or potentially essential to the present document may have been declared to ETSI. The information pertaining to these essential

10、IPRs, if any, is publicly available for ETSI members and non-members, and can be found in ETSI SR 000 314: “Intellectual Property Rights (IPRs); Essential, or potentially Essential, IPRs notified to ETSI in respect of ETSI standards“, which is available from the ETSI Secretariat. Latest updates are

11、available on the ETSI Web server (https:/ipr.etsi.org/). Pursuant to the ETSI IPR Policy, no investigation, including IPR searches, has been carried out by ETSI. No guarantee can be given as to the existence of other IPRs not referenced in ETSI SR 000 314 (or the updates on the ETSI Web server) whic

12、h are, or may be, or may become, essential to the present document. Foreword This Technical Specification (TS) has been produced by ETSI 3rd Generation Partnership Project (3GPP). The present document may refer to technical specifications or reports using their 3GPP identities, UMTS identities or GS

13、M identities. These should be interpreted as being references to the corresponding ETSI deliverables. The cross reference between GSM, UMTS, 3GPP and ETSI identities can be found under http:/webapp.etsi.org/key/queryform.asp. Modal verbs terminology In the present document “shall“, “shall not“, “sho

14、uld“, “should not“, “may“, “need not“, “will“, “will not“, “can“ and “cannot“ are to be interpreted as described in clause 3.2 of the ETSI Drafting Rules (Verbal forms for the expression of provisions). “must“ and “must not“ are NOT allowed in ETSI deliverables except when used in direct citation. E

15、TSI ETSI TS 126 268 V13.0.0 (2016-01)33GPP TS 26.268 version 13.0.0 Release 13Contents Intellectual Property Rights 2g3Foreword . 2g3Modal verbs terminology 2g3Foreword . 4g31 Scope 5g32 References 5g33 Abbreviations . 5g34 C code structure 5g34.1 Contents of the C source code 6g34.2 Program executi

16、on 7g34.3 Variables, constants and tables . 9g34.3.1 Description of constants used in the C-code . 9g34.3.2 Type Definitions . 10g34.3.3 Description of fixed tables used in the C-code . 14g34.3.4 Static variables used in the C-code . 15g34.4 Functions of the C Code . 15g34.4.1 Interface functions 16

17、g34.4.2 IVS transmitter functions 18g34.4.3 PSAP receiver functions . 19g34.4.4 PSAP transmitter functions. 22g34.4.5 IVS receiver functions 22g34.4.6 Synchronization functions (IVS and PSAP) . 22g34.4.7 Control link functions . 24g34.4.8 Other utility functions (IVS and PSAP) 26g3Annex A (informati

18、ve): Change history . 27g3History 28g3ETSI ETSI TS 126 268 V13.0.0 (2016-01)43GPP TS 26.268 version 13.0.0 Release 13Foreword The present document has been produced by the 3rdGeneration Partnership Project (3GPP). The contents of the present document are subject to continuing work within the TSG and

19、 may change following formal TSG approval. Should the TSG modify the contents of the present document, it will be re-released by the TSG with an identifying change of release date and an increase in version number as follows: Version x.y.z where: x the first digit: 1 presented to TSG for information

20、; 2 presented to TSG for approval; 3 or greater indicates TSG approved document under change control. y the second digit is incremented for all changes of substance, i.e. technical enhancements, corrections, updates, etc. z the third digit is incremented when editorial only changes have been incorpo

21、rated in the document. ETSI ETSI TS 126 268 V13.0.0 (2016-01)53GPP TS 26.268 version 13.0.0 Release 131 Scope The present document contains an electronic copy of the ANSI-C code for the eCall in-band modem solution for reliable transmission of MSD data from IVS to PSAP via the speech channel of cell

22、ular networks. The ANSI-C code is necessary for a bit exact implementation of the IVS modem and PSAP modem described in 3GPP TS 26.267 1. 2 References The following documents contain provisions which, through reference in this text, constitute provisions of the present document. References are eithe

23、r specific (identified by date of publication, edition number, version number, etc.) or non-specific. For a specific reference, subsequent revisions do not apply. For a non-specific reference, the latest version applies. In the case of a reference to a 3GPP document (including a GSM document), a non

24、-specific reference implicitly refers to the latest version of that document in the same Release as the present document. 1 3GPP TS 26.267: “eCall Data Transfer; In-band modem solution; General description“. See also the references in 3GPP TS 26.267 1. 3 Abbreviations For the purpose of the present

25、document, the following abbreviations apply: ACK ACKnowledgement ANSI American National Standards Institute CRC Cyclic Redundancy Check FEC Forward Error Correction GSM Global System for Mobile communications HARQ Hybrid Automatic Repeat-reQuest I/O Input/Output IVS In-Vehicle System MSD Minimum Set

26、 of Data NACK Negative ACKnowledgement PCM Pulse Code Modulation PSAP Public Safety Answering Point RAM Random Access Memory ROM Read Only Memory RX Receive TX Transmit4 C code structure This clause gives an overview of the structure of the bit-exact C code and provides an overview of the contents a

27、nd organization of the C code attached to the present document. The C code has been verified on the following systems: Windows XP SP2 and Microsoft Visual Studio V8.0; Linux (Suse Linux) using the gcc v3.4.2 and v4.1.2 compilers. ETSI ETSI TS 126 268 V13.0.0 (2016-01)63GPP TS 26.268 version 13.0.0 R

28、elease 134.1 Contents of the C source code The distributed files with suffix “c“ contain the source code and the files with suffix “h“ are the header files. Further explanation on the files is given in the Readme.txt file, which is reproduced in part here: Package Contents - folder ecall: Contains t

29、he complete eCall ANSI C fixed-point reference source code. modem_ivs.c : top-level modem implementation for IVS modem_psap.c : top-level modem implementation for PSAP modemx.h : header file for both modem_ivs.c and modem_psap.c ecall_defines.h : compile time options and preprocessor constants ecall

30、_control.h : header file control message handling ecall_fec.h : header file FEC encoder and decoder ecall_modem.h : header file modulator and demodulator ecall_sync.h : header file synchronization ecall_rom.h : header file ROM data ecall_control.c : control message handling ecall_fec.c : FEC encoder

31、 and decoder ecall_modem.c : modulator and demodulator ecall_sync.c : synchronization ecall_rom.c : ROM data folder test_setup: Contains the eCall software simulation framework, to be compiled and run on MS Windows systems. folder test_vec: Contains binary PCM data (104 files) and receiver/transmitt

32、er port logs in ASCII format (104 files) to test the eCall IVS and PSAP modems. The PCM format is 16 bit signed, little endian, at 8 kHz sampling rate. The data files reflect 26 test cases and were generated from the eCall simulation framework. campaign_short.txt : configuration file for the 26 test

33、 cases pcmdlout.pcm : output PCM data of DL vocoder = input to IVS pcmulout.pcm : output PCM data of UL vocoder = input to PSAP pcmdlin.pcm : test vectors for PSAP modem output pcmulin.pcm : test vectors for IVS modem output portivsrx.txt : test vectors for IVS port logs (receiver) portivstx.txt : t

34、est vectors for IVS port logs (transmitter) portpsaprx.txt : test vectors for PSAP port logs (receiver) portpsaptx.txt : test vectors for PSAP port logs (transmitter) standalone.c main() wrapper to run the IVS or PSAP modem on prestored PCM files or receiver/transmitter port logs. To get a list of c

35、ommand-line options, invoke the corresponding executable with option -h (help). standalone.h header file for standalone.c Makefile.win ETSI ETSI TS 126 268 V13.0.0 (2016-01)73GPP TS 26.268 version 13.0.0 Release 13NMAKE Makefile for Microsoft Visual Studio 2005 and above: Builds standalone.exe from

36、standalone.c and the eCall sources, build options are RELEASE and DEBUG. Makefile.glx GNU Linux Makefile using gcc Builds standalone from standalone.c and the eCall sources, build options are RELEASE and DEBUG. verify.bat Windows batch file Runs standalone.exe in six different modem modes on the 26

37、test cases contained in folder test_vec and performs a test vector comparison to the respective output PCM and port log data. verify.sh Linux shell script Runs standalone in mode -m ivs and -m psap on 26 test cases (folder pcm) and performs a test vector comparison to the respective modem output PCM

38、 data. 4.2 Program execution An explanation on code compilation and execution is given in the readme.txt file, which is reproduced in part here: Getting Started - 3GPP TS 26.268 provides the eCall modem source code, a software simulation framework, and a standalone wrapper that allows to run the IVS

39、 or PSAP modem on prestored reference data. The following functions represent the eCall modem interface and invoke the respective receiver and transmitter implementation of each modem: * void IvsReset(const Ord8 *msd, int length); * void IvsProcess(Int16 *pcm); * void IvsSendStart(void); * void Psap

40、Reset(void); * void PsapProcess(Int16 *pcm); * void PsapSendStart(void); * void PsapSendHlack(const Ord8 data); The external application must in addition implement the callback functions: * void IvsCatchEvent(IvsEvent ie); * void IvsReceiveAck(void); * void IvsReceiveHlack(const Ord8 data); * void P

41、sapCatchEvent(PsapEvent pe); * void PsapReceiveMsd(const Ord8 *msd, int length); * void Abort(const char *format, .); * void LogInfo(const char *format, .); IvsCatchEvent and PsapCatchEvent inform about relevant modem events and can be used to perform actions such as muting or unmuting of the voice

42、channel. The other callback functions indicate. * IvsReceiveAck : reception of the lower-layer ACK, * IvsReceiveHlack : reception of the HLACK message, * PsapReceiveMsd : successful MSD reception. ETSI ETSI TS 126 268 V13.0.0 (2016-01)83GPP TS 26.268 version 13.0.0 Release 13Abort and LogInfo should

43、 implement a variadic error and printlog handler, respectively. See standalone.c for sample implementations of all callback functions. For a real-time simulation over 3GPP FR and AMR vocoders and to log PCM data as input to the standalone wrapper, the eCall sources have to be integrated into a simul

44、ation framework; folder test_setup contains the one as used in the 3GPP selection tests. In order to compile and run the eCall modem code, follow the instructions given below. For code testing, two batch files have been provided: * verify.bat : MS Windows systems * verify.sh : Linux systems For each

45、 of the 26 test cases of campaign_short.txt in folder test_vec, they run the standalone wrapper in six different modem modes (three IVS and three PSAP modes). The resulting PCM and port log files in folder out are finally compared to the test vectors in folder test_vec. In modes psap and psaprx, you

46、 should see an MSD success message at the end of each test case. Code Compilation - MS Windows systems Compilation assumes an installation of MS Visual Studio 2005 or above. To set the environment variables for building, run vcvars32.bat which should be contained in the bin subfolder of your VC inst

47、allation. To build standalone.exe from standalone.c and the eCall sources (or to perform cleanup), run nmake /f Makefile.win nmake /f Makefile.win clean The source code should compile without any errors or warnings. Run verify.bat to verify the executable against the test vectors. GNU Linux systems

48、Compilation under Linux has been tested with * GNU Make version 3.81 * gcc version 4.1.3 and 4.2.4 For building the executable standalone and cleanup, use make -f Makefile.glx make -f Makefile.glx clean On the platforms tested, the code compiled without errors or warnings. Run verify.sh to verify th

49、e executable against the test vectors. Simulation Framework - The eCall software simulation framework is provided in folder test_setup. Important remarks: * See LICENSE.TXT and README.TXT for terms of usage! * The G.711 software is part of ITU-T Rec. G.191, (C) ITU 2000. Distributed with the authorization of ITU as part of the test setup software for 3GPP TS 26.268. * The framework must be compiled and run on MS Windows systems

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 标准规范 > 国际标准 > 其他

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1