1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationTerrestrial digital multimedia broadcasting (T-DMB) receiversPart 3: Common APIBS EN 62516-3:2013National forewordThis British Standard is the UK implementation of EN 62516-3:201
2、3.The UK participation in its preparation was entrusted to Technical CommitteeEPL/100, Audio, video and multimedia systems and equipment.A list of organizations represented on this committee can be obtained onrequest to its secretary.This publication does not purport to include all the necessary pro
3、visions of acontract. Users are responsible for its correct application. The British Standards Institution 2013.Published by BSI Standards Limited 2013 ISBN 978 0 580 79793 4 ICS 33.160.25; 33.170 Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard
4、was published under the authority of the Standards Policy and Strategy Committee on 30 April 2013.Amendments issued since publicationDate Text affectedBRITISH STANDARDBS EN 62516-3:2013EUROPEAN STANDARD EN 62516-3 NORME EUROPENNE EUROPISCHE NORM April 2013 CENELEC European Committee for Electrotechn
5、ical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Management Centre: Avenue Marnix 17, B - 1000 Brussels 2013 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 6251
6、6-3:2013 E ICS 33.160.25; 33.170 English version Terrestrial digital multimedia broadcasting (T-DMB) receivers - Part 3: Common API (IEC 62516-3:2013) Rcepteurs pour diffusion multimdia numrique terrestre (T-DMB) - Partie 3: API commune (CEI 62516-3:2013) Empfnger fr terrestrischen Multimediadigital
7、rundfunk (T-DMB) - Teil 3: Allgemeine API (IEC 62516-3:2013) This European Standard was approved by CENELEC on 2013-04-15. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard
8、without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CENELEC member. This European Standard exists in three official versions (English, French, German). A version in an
9、y other language made by translation under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia,
10、 Cyprus, the Czech Republic, Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey a
11、nd the United Kingdom. BS EN 62516-3:2013EN 62516-3:2013 - 2 - Foreword The text of document 100/2020/CDV, future edition 1 of IEC 62516-3, prepared by Technical Area 1 “Terminals for audio, video and data services and contents” of IEC/TC 100 “Audio, video and multimedia systems and equipment” was s
12、ubmitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 62516-3:2013. The following dates are fixed: latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2014-01-15 latest date by which the
13、national standards conflicting with the document have to be withdrawn (dow) 2016-04-15 Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CENELEC and/or CEN shall not be held responsible for identifying any or all such patent rights.
14、 Endorsement notice The text of the International Standard IEC 62516-3:2013 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following note has to be added for the standard indicated : IEC 62104:2003 NOTE Harmonised as EN 62104:2
15、007 (not modified). BS EN 62516-3:2013- 3 - EN 62516-3:2013 Annex ZA (normative) Normative references to international publications with their corresponding European publications The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its a
16、pplication. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE When an international publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies
17、. Publication Year Title EN/HD Year IEC 62516-1 2009 Terrestrial digital multimedia broadcasting (T-DMB) receivers - Part 1: Basic requirement EN 62516-1 2009 IEC 62516-2 2011 Terrestrial digital multimedia broadcasting (T-DMB) receivers - Part 2: Interactive data services using BIFS EN 62516-2 2011
18、 ETSI EN 300 401 V1.3.3 - Radio Broadcasting Systems; Digital Audio Broadcasting (DAB) to mobile, portable and fixed receivers - - BS EN 62516-3:2013 2 62516-3 IEC:2013 CONTENTS 1 Scope . 5 2 Normative references . 5 3 Abbreviations . 5 4 T-DMB common API overview 6 4.1 T-DMB receiver overview 6 4.2
19、 T-DMB receiver ASIC block . 6 4.3 Host processor block . 6 4.3.1 General . 6 4.3.2 T-DMB driver (hardware abstraction layer) sub-block . 7 4.3.3 T-DMB ASIC specific software sub-block . 7 4.3.4 T-DMB common APIs sub-block 7 4.3.5 T-DMB receiver middleware sub-block . 7 4.4 Hardware interface block
20、. 8 5 API description . 8 5.1 T-DMB common APIs 8 5.2 Command types 9 5.2.1 General . 9 5.2.2 Get receiver capability . 9 5.2.3 Tuning . 10 5.2.4 Searching 11 5.2.5 Scanning . 14 5.2.6 Selecting a T-DMB service 16 5.2.7 Selecting a slideshow or a dynamic label service . 18 5.2.8 Selecting a broadcas
21、t website service . 19 5.2.9 Get T-DMB service information 21 5.2.10 Monitoring reception qualities 22 Annex A (informative) Examples of the classes used in T-DMB APIs . 25 Bibliography 28 Figure 1 Block diagram of a typical T-DMB receiver . 6 Figure 2 Three different command patterns 8 Figure 3 Get
22、 receiver capability . 10 Figure 4 Tuning 10 Figure 5 Searching. 12 Figure 6 Scanning 14 Figure 7 Selecting a T-DMB service 17 Figure 8 Selecting a slideshow or a dynamic label service 18 Figure 9 Selecting a broadcast website service 19 Figure 10 Get T-DMB service information 21 Figure 11 Monitorin
23、g reception qualities . 23 BS EN 62516-3:201362516-3 IEC:2013 5 TERRESTRIAL DIGITAL MULTIMEDIA BROADCASTING (T-DMB) RECEIVERS Part 3: Common API 1 Scope This part of IEC 62516 describes the T-DMB common application program interface (API). It provides a software platform that, when combined with the
24、 T-DMB O/S, forms a universal interface for application programs. This interface allows application programs to be written in such a way that they run on any T-DMB receiver unit, as described in IEC 62516-1:2009 and IEC 62516-2:2011 regardless of its manufacturer. This part of IEC 62516 also defines
25、 a software environment that allows multiple application programs to be interoperable on a single receiver unit by sharing the fixed resources of the receiver, and it provides a set of interfaces that the T-DMB middleware and the ASIC specific software use. 2 Normative references The following docum
26、ents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. IEC 62516-1:2009, Terrestr
27、ial digital multimedia broadcasting (T-DMB) receivers Part 1: Basic requirements IEC 62516-2:2011, Terrestrial digital multimedia broadcasting (T-DMB) receivers Part 2: Interactive data services using BIFS ETSI EN 300 401 v1.3.3, Radio Broadcasting Systems; Digital Audio Broadcasting (DAB) to mobile
28、, portable and fixed receivers 3 Abbreviations ADC Analog to Digital Converter API Application Programming Interface ASIC Application Specific Integrated Circuit FIC Fast Information Channel HAL Hardware Abstraction Layer ISR Interrupt Service Routine MAC Media Access Control PAD Program Associated
29、Data RF Radio Frequency R-S Reed Solomon SDIO Secure Digital Input/Output SI Service Identifier T-DMB Terrestrial-Digital Multimedia Broadcasting BS EN 62516-3:2013 6 62516-3 IEC:2013 O/S Operating System 4 T-DMB common API overview 4.1 T-DMB receiver overview A T-DMB receiver provides the device fu
30、nctionality specified in the T-DMB receivers (see IEC 62516-1:2009 and IEC 62516-2:2011). Figure 1 shows the block diagram of a typical T-DMB receiver. For the T-DMB receiver depicted in Figure 1, only those blocks that conform to the scope of this standard are shown. Figure 1 also shows the T-DMB c
31、ommon API with respect to the T-DMB receiver block diagram. Figure 1 Block diagram of a typical T-DMB receiver 4.2 T-DMB receiver ASIC block The T-DMB receiver ASIC block represents the semiconductor hardware that provides the functionality of demodulating a T-DMB signal and retrieving data carried
32、by the T-DMB physical layer. This block provides functionality like RF front-end, ADC, timing and frequency estimation, channel estimation, viterbi decoding, etc. In short this block provides the complete physical layer implementation of ETSI EN 300 401 v1.3.3. Depending upon the implementation, thi
33、s block can also provide outer decoding functionality (e.g. R-S decoding and/or convolutional de-interleaving). 4.3 Host processor block 4.3.1 General The host processor block represents the T-DMB functionality provided by the host processor in a T-DMB based device. In other words, this represents t
34、he host processor hardware and the software implementation residing in the host processor. The host processor block retrieves and processes the T-DMB information obtained from the T-DMB receiver ASIC block. The T-DMB information retrieved consists of multiplex configuration information received on f
35、ast Host Processor Block T-DMB Receiver ASIC Block T-DMB ASIC Specific Software Sub-block T-DMB Driver (Hardware Abstraction Layer) Sub-block T-DMB Receiver middleware Sub-block Hardware Interface Block T-DMB Common APIs Sub-block IEC 562/13 BS EN 62516-3:201362516-3 IEC:2013 7 information channel (
36、FIC), content received on the main service channel. This block communicates with the T-DMB receiver ASIC block to retrieve the information received from the T-DMB signal. The host processor block consists of the following functional sub-blocks. 4.3.2 T-DMB driver (hardware abstraction layer) sub-blo
37、ck The T-DMB Driver or hardware abstraction layer (HAL) Block represents the driver level software in the main processor that directly interfaces with the T-DMB receiver ASIC block. The T-DMB driver sub-block provides controller functions (e.g. turning on or turning off the T-DMB receiver ASIC block
38、) and data exchange functions (e.g. retrieving the data from the T-DMB receiver ASIC block or conveying the characteristics of a sub-channel to be received) for a given T-DMB receiver ASIC hardware. The T-DMB Driver software is specific to the type of hardware interface mechanism that exists between
39、 the Host Processor Block and the T-DMB Receiver ASIC block. For example, the T-DMB driver software will be different depending upon whether the hardware interface between the main processor and the T-DMB receiver ASIC block is interrupt driven, implemented with memory mapped address/registers or pa
40、cket based transaction interface like SDIO. Some examples of tasks performed by T-DMB driver sub-block are: hardware interactions such as initialization, sleep or wakeup triggers; data exchange with hardware such as emptying hardware buffers into main memory or providing ISR implementation. The T-DM
41、B driver software functions are tightly coupled with the T-DMB receiver ASIC hardware and are considered time sensitive in nature. Therefore the T-DMB driver software is typically given a higher priority with respect to other sub-blocks shown. For example, the T-DMB driver performs the tasks of retr
42、ieving the data received by the T-DMB receiver ASIC block or instructing the T-DMB receiver ASIC block to tune to a frequency as requested by the application layer. 4.3.3 T-DMB ASIC specific software sub-block T-DMB ASIC specific software sub-block provides the MAC layer functionality not covered by
43、 the T-DMB driver sub-block. Depending upon the division of MAC layer functionality across different sub-blocks, it may provide complete or partial MAC layer functionality. At the least, the T-DMB ASIC specific software sub-block is expected to provide high level MAC layer functionality that is not
44、practical to be delegated to T-DMB driver sub-block. It interfaces with the T-DMB receiver middleware sub-block using the T-DMB common APIs. 4.3.4 T-DMB common APIs sub-block The T-DMB common APIs sub-block defines the interfaces that allow the T-DMB ASIC specific software sub-block to communicate w
45、ith the T-DMB receiver middleware. Any T-DMB receiver middleware that adheres to the interfaces defined by the T-DMB common APIs will work with any T-DMB ASIC specific software sub-block that adheres to these interfaces as well. More details on this interface are provided in the rest of this standar
46、d. 4.3.5 T-DMB receiver middleware sub-block The T-DMB receiver middleware sub-block communicates with the T-DMB ASIC specific software sub-block using the T-DMB common APIs. The T-DMB receiver middleware implements the control and stream layer and provides the interface with application layer proto
47、cols. It triggers the T-DMB ASIC specific software to receive the specified contents as requested by the application layer. It acts on the notifications or content provided by the T-DMB ASIC specific software. It delivers any content received from the T-DMB ASIC specific software to the application
48、layer protocols. BS EN 62516-3:2013 8 62516-3 IEC:2013 4.4 Hardware interface block The hardware interface block represents the hardware interface mechanism that exists between the host processor block and the T-DMB receiver ASIC block. This interface provides the communication and data exchange fun
49、ctionality. The T-DMB driver sub-block uses this block to exchange commands and data with the T-DMB receiver ASIC block. The hardware interface block can be any desired interface, such as proprietary bus interface or a standard based interface (e.g. SDIO). 5 API description 5.1 T-DMB common APIs This clause provides a detailed description of each T-DMB common API. The API function prototype details are provided along with defined types needed by the T-DMB common APIs. Commands are executed by sending