ISO/IEC DIS 14908-1
(Main)Open Data Communication in Building Automation, Controls and Building Management -- Control Network Protocol
Open Data Communication in Building Automation, Controls and Building Management -- Control Network Protocol
Communication de données ouverte en immotique, contrôles et gestion d'immeuble -- Protocole de réseau de contrôle
General Information
RELATIONS
Standards Content (sample)
DRAFT INTERNATIONAL STANDARD ISO/IEC 14908-1
Attributed to ISO/IEC JTC 1 by the Central Secretariat (see page iii)
Voting begins on Voting terminates on
2007-12-21 2008-05-21
INTERNATIONAL ORGANIZATION FOR STANDARDIZATION • МЕЖДУНАРОДНАЯ ОРГАНИЗАЦИЯ ПО СТАНДАРТИЗАЦИИ • ORGANISATION INTERNATIONALE DE NORMALISATION
INTERNATIONAL ELECTROTECHNICAL COMMISSION • МЕЖДУНАРОДНАЯ ЭЛЕКТРОТЕХНИЧЕСКАЯ КОММИСИЯ • COMMISSION ÉLECTROTECHNIQUE INTERNATIONALE
FAST-TRACK PROCEDUREOpen Data Communication in Building Automation, Controls
and Building Management — Control Network Protocol —
Part 1:
Protocol Stack
Communication de données ouverte en immotique, contrôles et gestion d'immeuble — Protocole de réseau
de contrôle —Partie 1: Pile de protocole
ICS 35.200; 35.240.99
In accordance with the provisions of Council Resolution 21/1986 this DIS is circulated in the
English language only.Conformément aux dispositions de la Résolution du Conseil 21/1986, ce DIS est distribué en
version anglaise seulement.THIS DOCUMENT IS A DRAFT CIRCULATED FOR COMMENT AND APPROVAL. IT IS THEREFORE SUBJECT TO CHANGE AND MAY NOT BE
REFERRED TO AS AN INTERNATIONAL STANDARD UNTIL PUBLISHED AS SUCH.IN ADDITION TO THEIR EVALUATION AS BEING ACCEPTABLE FOR INDUSTRIAL, TECHNOLOGICAL, COMMERCIAL AND USER PURPOSES,
DRAFT INTERNATIONAL STANDARDS MAY ON OCCASION HAVE TO BE CONSIDERED IN THE LIGHT OF THEIR POTENTIAL TO BECOME
STANDARDS TO WHICH REFERENCE MAY BE MADE IN NATIONAL REGULATIONS.RECIPIENTS OF THIS DRAFT ARE INVITED TO SUBMIT, WITH THEIR COMMENTS, NOTIFICATION OF ANY RELEVANT PATENT RIGHTS OF WHICH
THEY ARE AWARE AND TO PROVIDE SUPPORTING DOCUMENTATION.International Organization for Standardization, 2007
International Electrotechnical Commission, 2007
---------------------- Page: 1 ----------------------
ISO/IEC DIS 14908-1
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this file may be printed or viewed but
shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In
downloading this file, parties accept therein the responsibility of not infringing Adobe's licensing policy. The ISO Central Secretariat
accepts no liability in this area.Adobe is a trademark of Adobe Systems Incorporated.
Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation
parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In
the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below.
Copyright noticeThis ISO document is a Draft International Standard and is copyright-protected by ISO. Except as permitted
under the applicable laws of the user's country, neither this ISO draft nor any extract from it may be
reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic,
photocopying, recording or otherwise, without prior written permission being secured.
Requests for permission to reproduce should be addressed to either ISO at the address below or ISO's
member body in the country of the requester.ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Reproduction may be subject to royalty payments or a licensing agreement.
Violators may be prosecuted.
ii © ISO/IEC 2007 — All rights reserved
---------------------- Page: 2 ----------------------
ISO/IEC DIS 14908-1
NOTE FROM ITTF
This draft International Standard is submitted for JTC 1 national body vote under the Fast-Track Procedure.
In accordance with Resolution 30 of the JTC 1 Berlin Plenary 1993, the proposer of this document recommends
assignment of ISO/IEC 14908-1 to JTC 1/SC 25.“FAST-TRACK” PROCEDURE
1 Any P-member and any Category A liaison organization of ISO/IEC JTC 1 may propose that an existing
standard from any source be submitted directly for vote as a DIS. The criteria for proposing an existing
standard for the fast-track procedure are a matter for each proposer to decide.2 The proposal shall be received by the ITTF which will take the following actions.
2.1 To settle the copyright and/or trade mark situation with the proposer, so that the proposed text can be
freely copied and distributed within JTC 1 without restriction.2.2 To assess in consultation with the JTC 1 secretariat which SC is competent for the subject covered by
the proposed standard and to ascertain that there is no evident contradiction with other International
Standards.2.3 To distribute the text of the proposed standard as a DIS. In case of particularly bulky documents the ITTF
may demand the necessary number of copies from the proposer.3 The period for combined DIS voting shall be six months. In order to be accepted the DIS must be
supported by 75 % of the votes cast (abstention is not counted as a vote) and by two-thirds of the P-members
voting of JTC 1.4 At the end of the voting period, the comments received, whether editorial only or technical, will be dealt
with by a working group appointed by the secretariat of the relevant SC.5 If, after the deliberations of this WG, the requirements of 3 above are met, the amended text shall be sent
to the ITTF by the secretariat of the relevant SC for publication as an International Standard.
If it is impossible to agree to a text meeting the above requirements, the proposal has failed and the procedure
is terminated.In either case the WG shall prepare a full report which will be circulated by the ITTF.
6 If the proposed standard is accepted and published, its maintenance will be handled by JTC 1.
© ISO/IEC 2007 — All rights reserved iii---------------------- Page: 3 ----------------------
ISO/IEC DIS 14908-1:2007 (E)
Contents page
Foreword.................................................................................................................................................................. 7
Introduction ............................................................................................................................................................. 8
1 Scope........................................................................................................................................................... 9
2 Normative references................................................................................................................................. 9
3 Terms and definitions ................................................................................................................................ 9
4 Symbols and abbreviations ..................................................................................................................... 11
4.1 Symbols and Graphical Representations ............................................................................................... 11
4.2 Abbreviations............................................................................................................................................ 13
5 Overview of Protocol Layering................................................................................................................ 13
6 MAC Sublayer ........................................................................................................................................... 15
6.1 Service Provided ...................................................................................................................................... 15
6.2 Interface to the Link Layer ....................................................................................................................... 15
6.3 Interface to the Physical Layer................................................................................................................ 16
6.4 MPDU Format............................................................................................................................................ 17
6.5 Predictive p-persistent CSMA — Overview Description........................................................................ 18
6.6 Idle Channel Detection............................................................................................................................. 19
6.7 Randomising............................................................................................................................................. 19
6.8 Backlog Estimation .................................................................................................................................. 19
6.9 Optional Priority ....................................................................................................................................... 20
6.10 Optional Collision Detection.................................................................................................................... 21
6.11 Beta1, Beta2 and Preamble Timings ....................................................................................................... 22
7 Link Layer ................................................................................................................................................. 24
7.1 Assumptions............................................................................................................................................. 24
7.2 Service Provided ...................................................................................................................................... 24
7.3 CRC............................................................................................................................................................ 24
7.4 Transmit Algorithm................................................................................................................................... 25
8 Network Layer........................................................................................................................................... 25
8.1 Assumptions............................................................................................................................................. 25
8.2 Service Provided ...................................................................................................................................... 27
8.3 Service Interface....................................................................................................................................... 27
8.4 Internal Structuring of the Network Layer .............................................................................................. 28
8.5 NPDU Format ............................................................................................................................................ 28
8.6 Address Recognition................................................................................................................................ 29
8.7 Routers...................................................................................................................................................... 29
8.8 Routing Algorithm .................................................................................................................................... 30
8.9 Learning Algorithm — Subnets ............................................................................................................... 30
9 Transaction Control Sublayer.................................................................................................................. 30
9.1 Assumptions............................................................................................................................................. 30
9.2 Service Provided ...................................................................................................................................... 31
9.3 Service Interface....................................................................................................................................... 31
9.4 State Variables.......................................................................................................................................... 32
9.5 Transaction Control Algorithm................................................................................................................ 32
10 Transport Layer ........................................................................................................................................ 32
10.1 Assumptions............................................................................................................................................. 32
10.2 Service Provided ...................................................................................................................................... 33
10.3 Service Interface....................................................................................................................................... 34
10.4 TPDU Types and Formats ........................................................................................................................ 34
---------------------- Page: 4 ----------------------ISO/IEC DIS 14908-1:2007 (E)
10.5 Protocol Diagram......................................................................................................................................35
10.6 Transport Protocol State Variables .........................................................................................................36
10.7 Send Algorithm .........................................................................................................................................36
10.8 Receive Algorithm ....................................................................................................................................37
10.9 Receive Transaction Record Pool Size and Configuration Engineering ..............................................37
10.9.1 General ......................................................................................................................................................37
10.9.2 Number of Retries.....................................................................................................................................37
10.9.3 Transport Layer Timers............................................................................................................................39
11 Session Layer ...........................................................................................................................................39
11.1 Assumptions .............................................................................................................................................39
11.2 Service Provided.......................................................................................................................................40
11.3 Service Interface .......................................................................................................................................40
11.4 Internal Structure of the Session Layer ..................................................................................................41
11.5 SPDU Types and Formats ........................................................................................................................41
11.6 Protocol Timing Diagrams .......................................................................................................................43
11.7 Request-Response State Variables.........................................................................................................46
11.8 Request-Response Protocol — Client Part.............................................................................................46
11.9 Request-Response Protocol — Server Part............................................................................................46
11.10 Request-Response Protocol Timers .......................................................................................................47
11.11 Authentication Protocol ...........................................................................................................................47
11.12 Encryption Algorithm ...............................................................................................................................47
11.13 Retries and the Role of the Checksum Function....................................................................................48
11.14 Random Number Generation ...................................................................................................................49
11.15 Using Authentication................................................................................................................................49
12 Presentation/Application Layer ...............................................................................................................49
12.1 Assumptions .............................................................................................................................................49
12.2 Service Provided.......................................................................................................................................49
12.3 Service Interface .......................................................................................................................................50
12.4 APDU Types and Formats........................................................................................................................51
12.5 Protocol Diagrams....................................................................................................................................52
12.6 Application Protocol State Variables ......................................................................................................54
12.7 Request - Response Messaging in Offline State ....................................................................................55
12.8 Network Variables.....................................................................................................................................55
12.8.1 General ......................................................................................................................................................55
12.8.2 Network Variable Processing...................................................................................................................55
12.9 Error Notification to the Application Program........................................................................................56
12.9.1 General ......................................................................................................................................................56
12.9.2 Error Notification for Messages...............................................................................................................56
12.9.3 Error Notification for Network Variables.................................................................................................56
13 Network Management & Diagnostics ......................................................................................................57
13.1 Assumptions .............................................................................................................................................57
13.2 Services Provided.....................................................................................................................................57
13.3 Network Management and Diagnostics Application Structure .............................................................57
13.4 Node States ...............................................................................................................................................57
13.5 Using the Network Management Services ..............................................................................................58
13.5.1 General ......................................................................................................................................................58
13.5.2 Addressing Considerations .....................................................................................................................58
13.5.3 Making Network Configuration Changes ................................................................................................59
13.5.4 Downloading an Application Program ....................................................................................................59
13.5.5 Error Handling Conditions (Informative).................................................................................................60
13.6 Using Router Network Management Commands ...................................................................................62
13.7 NMPDU Formats and Types .....................................................................................................................63
13.7.1 General ......................................................................................................................................................63
13.7.2 Query ID.....................................................................................................................................................63
13.7.3 Respond to Query.....................................................................................................................................64
13.7.4 Update Domain..........................................................................................................................................64
13.7.5 Leave Domain ...........................................................................................................................................64
13.7.6 Update Key................................................................................................................................................64
---------------------- Page: 5 ----------------------ISO/IEC DIS 14908-1:2007 (E)
13.7.7 Update Address ........................................................................................................................................ 64
13.7.8 Query Address.......................................................................................................................................... 64
13.7.9 Query Network Variable Configuration................................................................................................... 65
13.7.10 Update Group Address ............................................................................................................................ 65
13.7.11 Query Domain........................................................................................................................................... 65
13.7.12 Update Network Variable Configuration ................................................................................................. 65
13.7.13 Set Node Mode.......................................................................................................................................... 65
13.7.14 Read Memory............................................................................................................................................ 66
13.7.15 Write Memory............................................................................................................................................ 66
13.7.16 Checksum Recalculate............................................................................................................................. 66
13.7.17 Install......................................................................................................................................................... 66
13.7.18 Memory Refresh ....................................................................................................................................... 82
13.7.19 Query SI..................................................................................................................................................... 82
13.7.20 Network Variable Value Fetch.................................................................................................................. 82
13.7.21 Manual Service Request Message .......................................................................................................... 82
13.7.22 Network Management Escape Code ....................................................................................................... 82
13.7.23 Router Mode.............................................................................................................................................. 83
13.7.24 Router Clear Group or Subnet Table....................................................................................................... 83
13.7.25 Router Group or Subnet Table Download .............................................................................................. 83
13.7.26 Router Group Forward ............................................................................................................................. 83
13.7.27 Router Subnet Forward............................................................................................................................ 84
13.7.28 Router Do Not Forward Group................................................................................................................. 84
13.7.29 Router Do Not Forward Subnet ............................................................................................................... 84
13.7.30 Router Group or Subnet Table Report.................................................................................................... 84
13.7.31 Router Status............................................................................................................................................ 84
13.7.32 Router Half Escape Code......................................................................................................................... 84
13.8 DPDU Types and Formats........................................................................................................................ 84
13.8.1 General ...................................................................................................................................................... 84
13.8.2 Query Status ............................................................................................................................................. 84
13.8.3 Proxy Status.............................................................................................................................................. 88
13.8.4 Clear Status............................................................................................................................................... 88
13.8.5 Query Transceiver Status ........................................................................................................................ 88
Annex A Reference Implementation (Normative)............................................................................................... 89
A.1 General ...................................................................................................................................................... 89
A.2 Predictive CSMA Algorithm ..................................................................................................................... 89
A.3 LPDU Transmit Algorithm...................................................................................................................... 148
A.4 LPDU Receive Algorithm ....................................................................................................................... 150
A.5 Routing Algorithm .................................................................................................................................. 153
A.6 Learning Algorithm................................................................................................................................. 153
A.7 Transaction Control Algorithm.............................................................................................................. 154
A.8 Network Layer Algorithm ....................................................................................................................... 161
A.9 TPDU and SPDU Send Algorithm with Authentication ........................................................................ 177
A.10 Application Layer ................................................................................................................................... 232
A.11 Network Management Commands ........................................................................................................ 287
A.12 Configuration Data Structures............................................................................................................... 324
A.13 Include Files for the Reference Implementation .................................................................................. 343
A.14 Application Protocol State Variables and Address Recognition Structures ..................................... 373
A.15 Query-id Data Structures .....................................................
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.