Alarm and electronic security systems - Part 11-5: Electronic access control systems - Open supervised device protocol (OSDP)

IEC 60839-11-5:2020 specifies the Open supervised device protocol (OSDP) for electronic access control systems. This includes communication settings, commands and replies between the ACU and the peripheral devices. It also includes a mapping of mandatory and optional requirements as per IEC 60839-11-1:2013 as covered by Annex.
This document applies to physical security only. Physical security prevents unauthorized personnel, attackers or accidental intruders from physically accessing a building, room, etc.

Systèmes d'alarme et de sécurité électroniques - Partie 11-5: Systèmes de contrôle d’accès électronique - Protocole ouvert d’appareil supervisé (OSDP)

IEC 60839-11-5:2020 spécifie le protocole ouvert d’appareil supervisé (OSDP) pour les systèmes de contrôle d’accès électronique. Cela inclut les paramètres de communication, les instructions et les réponses entre l’ACU et les appareils périphériques. Elle contient également un mapping entre les exigences obligatoires et facultatives selon l’IEC 60839-11-1:2013. Le présent document s’applique uniquement à la sécurité physique. La sécurité physique empêche le personnel non autorisé, les agresseurs ou les intrus accidentels d’accéder physiquement à un bâtiment, une pièce, etc.

Electricity metering - Data exchange for meter reading, tariff and load control - Part 51: Application layer protocols

General Information

Status
Published
Publication Date
07-Jul-2020
Drafting Committee
WG 11 - TC 79/WG 11
Current Stage
PPUB - Publication issued
Start Date
08-Jul-2020
Completion Date
10-Jul-2020

Overview

IEC 60839-11-5:2020 - "Alarm and electronic security systems - Part 11‑5: Electronic access control systems - Open supervised device protocol (OSDP)" - specifies the Open Supervised Device Protocol (OSDP) for electronic access control. The standard defines communication settings, message and packet formats, a comprehensive set of commands and replies between the Access Control Unit (ACU) and peripheral devices (readers, keypads, sensors), and a mapping of mandatory and optional requirements referenced to IEC 60839-11-1:2013. IEC 60839-11-5 applies to physical security - preventing unauthorized or accidental physical access to buildings, rooms and secured areas.

Key topics and technical requirements

  • Communication settings and packet format: physical interface, signaling, character encoding, timing, packet size limits and message synchronization (see Clause 5).
  • Command and reply sets: detailed command family (osdp_POLL, osdp_ID, osdp_OUT, osdp_LED, osdp_KEYSET, etc.) and corresponding replies (osdp_ACK, osdp_NAK, osdp_PDID, osdp_PDCAP, osdp_XRD) covering device management, I/O status, reader control, and firmware/file transfer (Clauses 6–7).
  • Multi-part messages & file transfer: rules for sending/receiving large or segmented payloads (multi-part messages, extended read/write).
  • Smartcard and biometric handling: support for smartcard scans, PIV data and biometric operations where peripherals provide those capabilities.
  • Security and encryption: normative Annex D defines the OSDP secure channel (OSDP‑SC) including key set, challenge/response and message authentication (MAC) to protect communication integrity and confidentiality.
  • Function codes and capabilities mapping: Annex B lists function codes (reader LED, buzzer, card format, secure PIN entry, firmware capabilities) and Annex A codifies command/reply numbers.

Practical applications and who uses the standard

IEC 60839-11-5 is used to design, specify, implement and validate interoperable access control systems where secure, supervised communications between ACUs and peripherals are required. Typical users:

  • Security system designers and integrators implementing OSDP-compliant installations
  • Hardware manufacturers (readers, keypads, controllers) developing interoperable devices
  • Facility security managers and consultants specifying requirements for physical security
  • Installers and commissioning engineers configuring ACUs, secure channels, and device capabilities
  • Test laboratories and certifiers assessing protocol conformance and secure channel implementation

Related standards

  • IEC 60839-11-1:2013 - referenced for mapping mandatory/optional requirements related to electronic access control systems.
  • Other IEC access-control family documents provide complementary requirements for system-level integration and testing.

Keywords: IEC 60839-11-5, OSDP, Open Supervised Device Protocol, electronic access control, ACU, physical security, access control protocol, secure channel, encryption, smartcard, biometric access.

Standard

IEC 60839-11-5:2020 - Alarm and electronic security systems - Part 11-5: Electronic access control systems - Open supervised device protocol (OSDP)

English language
85 pages
sale 15% off
Preview
sale 15% off
Preview
Standard

IEC 60839-11-5:2020 - Alarm and electronic security systems - Part 11-5: Electronic access control systems - Open supervised device protocol (OSDP)

English and French language
177 pages
sale 15% off
Preview
sale 15% off
Preview
Technical report

IEC/TR2 62056-51:2001

English language
35 pages
Preview
Preview
e-Library read for
1 day

Frequently Asked Questions

IEC 60839-11-5:2020 is a standard published by the International Electrotechnical Commission (IEC). Its full title is "Alarm and electronic security systems - Part 11-5: Electronic access control systems - Open supervised device protocol (OSDP)". This standard covers: IEC 60839-11-5:2020 specifies the Open supervised device protocol (OSDP) for electronic access control systems. This includes communication settings, commands and replies between the ACU and the peripheral devices. It also includes a mapping of mandatory and optional requirements as per IEC 60839-11-1:2013 as covered by Annex. This document applies to physical security only. Physical security prevents unauthorized personnel, attackers or accidental intruders from physically accessing a building, room, etc.

IEC 60839-11-5:2020 specifies the Open supervised device protocol (OSDP) for electronic access control systems. This includes communication settings, commands and replies between the ACU and the peripheral devices. It also includes a mapping of mandatory and optional requirements as per IEC 60839-11-1:2013 as covered by Annex. This document applies to physical security only. Physical security prevents unauthorized personnel, attackers or accidental intruders from physically accessing a building, room, etc.

IEC 60839-11-5:2020 is classified under the following ICS (International Classification for Standards) categories: 13.320 - Alarm and warning systems; 33.200 - Telecontrol. Telemetering; 91.140.50 - Electricity supply systems. The ICS classification helps identify the subject area and facilitates finding related standards.

You can purchase IEC 60839-11-5:2020 directly from iTeh Standards. The document is available in PDF format and is delivered instantly after payment. Add the standard to your cart and complete the secure checkout process. iTeh Standards is an authorized distributor of IEC standards.

Standards Content (Sample)


IEC 60839-11-5 ®
Edition 1.0 2020-07
INTERNATIONAL
STANDARD
Alarm and electronic security systems –
Part 11-5: Electronic access control systems – Open supervised device protocol
(OSDP)
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.

need further assistance, please contact the Customer Service

Centre: sales@iec.ch.
IEC 60839-11-5 ®
Edition 1.0 2020-07
INTERNATIONAL
STANDARD
Alarm and electronic security systems –

Part 11-5: Electronic access control systems – Open supervised device protocol

(OSDP)
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 13.320 ISBN 978-2-8322-8480-3

– 2 – IEC 60839-11-5:2020 © IEC 2020
CONTENTS
FOREWORD . 8
INTRODUCTION . 10
1 Scope . 11
2 Normative references . 11
3 Terms, definitions and abbreviated terms . 11
3.1 Terms and definitions . 11
3.2 Abbreviated terms . 12
4 Overview . 12
5 Communication settings. 13
5.1 Physical interface . 13
5.2 Signaling . 13
5.3 Character encoding . 13
5.4 Channel access . 13
5.5 Multi-byte data encoding . 13
5.6 Packet size limits . 14
5.7 Timing. 14
5.8 Message synchronization . 14
5.9 Packet format . 15
5.10 Multi-part messages . 17
5.10.1 General . 17
5.10.2 Multi-part message usage rules . 17
5.11 Smartcard handling . 18
6 Commands . 19
6.1 General . 19
6.2 Poll request (osdp_POLL) . 19
6.3 ID report request (osdp_ID) . 19
6.4 Peripheral device capabilities request (osdp_CAP) . 20
6.5 Local status report request (osdp_LSTAT) . 20
6.6 Input status report request (osdp_ISTAT). 20
6.7 Output status report request (osdp_OSTAT) . 21
6.8 Reader status report request (osdp_RSTAT) . 21
6.9 Output control command (osdp_OUT) . 21
6.10 Reader LED control command (osdp_LED) . 22
6.11 Reader buzzer control command (osdp_BUZ) . 24
6.12 Reader text output command (osdp_TEXT) . 25
6.13 Communication configuration command (osdp_COMSET) . 26
6.14 Scan and send biometric data (osdp_BIOREAD) . 27
6.15 Scan and match biometric template (osdp_BIOMATCH) . 28
6.16 Encryption key set (osdp_KEYSET) . 29
6.17 Challenge and secure session initialization request (osdp_CHLNG) . 29
6.18 Server's random number and server cryptogram (osdp_SCRYPT) . 29
6.19 Manufacturer specific command (osdp_MFG) . 29
6.20 ACU receive size (osdp_ACURXSIZE) . 30
6.21 Keep reader active (osdp_KEEPACTIVE). 30
6.22 Abort current operation (osdp_ABORT) . 31
6.23 Get PIV data (osdp_PIVDATA) . 31

6.24 General authenticate (osdp_GENAUTH) . 31
6.25 Authentication challenge (osdp_CRAUTH) . 32
6.26 File transfer command (osdp_FILETRANSFER) . 33
6.27 Extended write data (osdp_XWR) . 33
6.27.1 General . 33
6.27.2 Mode set command . 34
6.27.3 Mode-00 read setting . 35
6.27.4 Mode specific command codes for XRW_MODE=1 . 35
6.27.5 Mode-01 transparent content send request . 35
6.27.6 Mode-01 connection done . 35
6.27.7 Mode-01 request secure PIN entry command . 36
6.27.8 Mode-01 smartcard scan . 37
7 Replies . 37
7.1 General . 37
7.2 General acknowledge – Nothing to report (osdp_ACK) . 38
7.3 Negative acknowledge – Error response (osdp_NAK) . 38
7.4 Device identification report (osdp_PDID) . 39
7.5 Device capabilities report (osdp_PDCAP) . 40
7.6 Local status report (osdp_LSTATR) . 41
7.7 Input status report (osdp_ISTATR) . 41
7.8 Output status report (osdp_OSTATR) . 41
7.9 Reader tamper status report (osdp_RSTATR) . 42
7.10 Card data report, raw bit array (osdp_RAW) . 42
7.11 Card data report, character array (osdp_FMT) . 43
7.12 Keypad data report (osdp_KEYPAD) . 43
7.13 Communication configuration report (osdp_COM) . 44
7.14 Scan and send biometric data (osdp_BIOREADR) . 44
7.15 Scan and match biometric template (osdp_BIOMATCHR) . 45
7.16 Client's ID and client's random number (osdp_CCRYPT) . 45
7.17 Client cryptogram packet and the initial R-MAC (osdp_RMAC_I) . 46
7.18 Manufacturer specific reply (osdp_MFGREP) . 46
7.19 PD busy reply (osdp_BUSY) . 46
7.20 PIV data reply (osdp_PIVDATAR) . 46
7.21 osdp_GENAUTHR. 47
7.22 Response to challenge (osdp_CRAUTHR) . 47
7.23 Manufacturer specific status reply (osdp_MFGSTATR) . 48
7.24 Manufacturer specific error reply (osdp_MFGERRR) . 48
7.25 File transfer status (osdp_FTSTAT) . 48
7.26 Extended read reply (osdp_XRD) . 49
7.26.1 General . 49
7.26.2 Mode specific reply codes for XRW_MODE=0 . 50
7.26.3 Mode-00 error reply (osdp_PR00ERROR). 50
7.26.4 Mode setting report (osdp_PR00REQR). 50
7.26.5 Card information report (osdp_PR00CIRR) . 51
7.26.6 Mode specific reply codes for XRW_MODE=1 . 51
7.26.7 Mode-01 NAK or error reply (osdp_PR01ERROR) . 52
7.26.8 Card present notification reply (osdp_PR01PRES). 52
7.26.9 Transparent card data reply (osdp_PR01SCREP) . 52
7.26.10 Secure PIN entry complete reply (osdp_PR01SPER) . 53

– 4 – IEC 60839-11-5:2020 © IEC 2020
Annex A (normative) Command and reply code numbers commands . 54
A.1 Commands . 54
A.2 Replies . 55
Annex B (normative) Function code definitions list . 56
B.1 General . 56
B.2 Function code 1 – Contact status monitoring . 56
B.3 Function code 2 – Output control . 57
B.4 Function code 3 – Card data format . 57
B.5 Function code 4 – Reader LED control . 57
B.6 Function code 5 – Reader audible output . 58
B.7 Function code 6 – Reader text output . 58
B.8 Function code 7 – Time keeping . 58
B.9 Function code 8 – Check character support . 58
B.10 Function code 9 – Communication security . 59
B.11 Function code 10 – Receive bufferSize . 59
B.12 Function code 11 – Largest combined message size . 59
B.13 Function code 12 – Smart card support . 59
B.14 Function code 13 – Readers . 60
B.15 Function code 14 – Biometrics . 60
B.16 Function code 15 – Secure PIN entry support . 60
B.17 Function code 16 – OSDP version . 60
Annex C (normative) CRC definition . 61
Annex D (normative) Encryption . 64
D.1 Encryption method: OSDP-SC . 64
D.1.1 General . 64
D.1.2 Overview . 65
D.1.3 The process . 65
D.1.4 Secure channel session connection sequence (SCS-CS) . 65
D.1.5 Communication during a secure channel session . 67
D.1.6 SCS_16 PD->ACU . 67
D.1.7 SCS_17 ACU->PD . 67
D.1.8 SCS_18 PD->ACU . 67
D.2 Commands . 67
D.2.1 Encryption key set (osdp_KEYSET) . 67
D.2.2 Challenge and secure session initialization request (osdp_CHLNG) . 68
D.2.3 Server's random number and server cryptogram (osdp_SCRYPT) . 68
D.3 Replies . 68
D.3.1 Client's ID and client's random number (osdp_CCRYPT) . 68
D.3.2 Client cryptogram packet and the initial R-MAC (osdp_RMAC_I) . 69
D.4 Algorithms and support functions . 69
D.4.1 Session key derivation . 69
D.4.2 Key diversification . 69
D.4.3 Client cryptogram . 70
D.4.4 Server cryptogram . 70
D.4.5 Padding . 70
D.5 Message authentication code (MAC) generation . 70
D.5.1 General . 70
D.5.2 The wrap operation for security block types SCS_15, SCS-16, SCS_17,
and SCS_18 . 71

D.5.3 The unwrap operation . 72
D.6 Error recovery . 72
D.7 Field deployment and configuration . 72
Annex E (normative) Test vectors . 74
Annex F (informative) Mapping of mandatory functions in IEC 60839-11-1 . 75
Bibliography . 85

Figure 1 – Schematic overview of an OSDP connection . 12
Figure D.1 – MAC algorithm . 71

Table 1 – Packet format . 15
Table 2 – Message control information . 16
Table 3 – The security block (SB) . 17
Table 4 – Multi-part message structure . 17
Table 5 – Behaviour modes . 18
Table 6 – Poll request . 19
Table 7 – ID report request . 20
Table 8 – Peripheral device capabilities request . 20
Table 9 – Local status report request . 20
Table 10 – Input status report request. 20
Table 11 – Output status report request . 21
Table 12 – Reader status report request . 21
Table 13 – Output control command . 22
Table 14 – Control code values . 22
Table 15 – Reader LED control command . 23
Table 16 – Temporary control code values . 24
Table 17 – Permanent control code values . 24
Table 18 – Color values . 24
Table 19 – Reader buzzer control command (osdp_BUZ) . 25
Table 20 – Reader text output command (osdp_TEXT) . 26
Table 21 – Text command values . 26
Table 22 – Communication configuration command (osdp_COMSET) . 27
Table 23 – Scan and send biometric data (osdp_BIOREAD) . 27
Table 24 – Biometric types. 28
Table 25 – Fingerprint formats . 28
Table 26 – Command structure: 6-byte header followed by a variable length template . 29
Table 27 – Manufacturer specific commands (osdp_MFG) . 30
Table 28 – ACU receive size (osdp_ACURXSIZE) . 30
Table 29 – Keep reader active (osdp_KEEPACTIVE) . 30
Table 30 – Abort current operation (osdp_ABORT) . 31
Table 31 – Get PIV data (osdp_PIVDATA) . 31
Table 32 – General authenticate (osdp_GENAUTH) fragment . 32
Table 33 – Authentication challenge (osdp_CRAUTH) fragment . 32

– 6 – IEC 60839-11-5:2020 © IEC 2020
Table 34 – File transfer command . 33
Table 35 – Extended write command structure . 34
Table 36 – Mode set command . 34
Table 37 – Mode 0 configuration . 34
Table 38 – Mode 1 configuration . 34
Table 39 – Read setting request . 35
Table 40 – Mode specific command codes . 35
Table 41 – Transparent content send request . 35
Table 42 – Smartcard connection done . 36
Table 43 – Request secure PIN entry command . 36
Table 44 – Smartcard scan . 37
Table 45 – General acknowledge (osdp_ACK) . 38
Table 46 – Negative acknowledge (osdp_NAK) . 38
Table 47 – Error codes . 39
Table 48 – Device identification report (osdp_PDID) . 40
Table 49 – Device capabilities report (osdp_PDCAP) . 40
Table 50 – Local status report (osdp_LSTATR) . 41
Table 51 – Input status report (osdp_ISTATR) . 41
Table 52 – Output status report (osdp_OSTATR) . 42
Table 53 – Reader tamper status report (osdp_RSTATR) . 42
Table 54 – Card data report, raw bit array (osdp_RAW) . 43
Table 55 – Card data report, character array (osdp_FMT) . 43
Table 56 – Keypad data report (osdp_KEYPAD) . 44
Table 57 – Communication configuration report (osdp_COM) . 44
Table 58 – Scan and send biometric data (osdp_BIOREADR) . 45
Table 59 – Scan and match biometric template (osdp_BIOMATCHR) . 45
Table 60 – Manufacturer specific reply (osdp_MFGREP) . 46
Table 61 – PD busy reply (osdp_BUSY) . 46
Table 62 – PIV data reply (osdp_PIVDATAR) . 47
Table 63 – General authenticate response (osdp_GENAUTHR) . 47
Table 64 – Response to challenge (osdp_CRAUTHR) . 48
Table 65 – Manufacturer specific status reply (osdp_MFGSTATR) . 48
Table 66 – Manufacturer specific error reply (osdp_MFGERRR) . 48
Table 67 – File transfer status (osdp_FTSTAT) . 49
Table 68 – Extended read reply . 50
Table 69 – Mode specific reply codes . 50
Table 70 – Error reply . 50
Table 71 – Mode setting report . 51
Table 72 – Card information report . 51
Table 73 – Mode specific reply codes . 51
Table 74 – Error reply . 52
Table 75 – Card present notification reply . 52
Table 76 – Transparent card data reply . 52

Table 77 – Transparent card data reply . 53
Table A.1 – Commands code numbers . 54
Table A.2 – Replies code numbers . 55
Table B.1 – Function codes . 56
Table D.1 – SEC_BLK_TYPE assignment . 64
Table D.2 – Command structure: 2-byte header followed by variable length data . 67
Table D.3 – Command structure: 8-byte random number as the “challenge” . 68
Table D.4 – Command structure: 16-byte server cryptogram . 68
Table D.5 – Command structure: 32-byte structure . 69
Table D.6 – Command structure: 16-byte structure . 69
Table F.1 – Access point interface requirements . 76
Table F.2 – Indication and annunciation requirements . 77
Table F.3 – Recognition requirements . 80
Table F.4 – Duress signalling requirements . 81
Table F.5 – Overriding requirements . 81
Table F.6 – System self-protection requirements . 82

– 8 – IEC 60839-11-5:2020 © IEC 2020
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
ALARM AND ELECTRONIC SECURITY SYSTEMS –

Part 11-5: Electronic access control systems –
Open supervised device protocol (OSDP)

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 60839-11-5 has been prepared by IEC technical committee 79:
Alarm and electronic security systems.
The text of this International Standard is based on the following documents:
FDIS Report on voting
79/634/FDIS 79/636/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This document has been drafted in accordance with the ISO/IEC Directives, Part 2.

A list of all parts in the IEC 60839 series, published under the general title Alarm and
electronic security systems, can be found on the IEC website.
The committee has decided that the contents of this document will remain unchanged until the
stability date indicated on the IEC website under "http://webstore.iec.ch" in the data related to
the specific document. At this date, the document will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
– 10 – IEC 60839-11-5:2020 © IEC 2020
INTRODUCTION
This document describes the communication protocol for interfacing one or more Peripheral
Devices (PD) to an Access Control Unit (ACU). This document specifies the protocol
implementation over a two-wire RS-485 multi-drop serial communication channel.
This document is based upon the work done by the Security Industry Association OSDP
Working Group.
ALARM AND ELECTRONIC SECURITY SYSTEMS –

Part 11-5: Electronic access control systems –
Open supervised device protocol (OSDP)

1 Scope
This part of IEC 60839 specifies the Open supervised device protocol (OSDP) for electronic
access control systems. This includes communication settings, commands and replies
between the ACU and the peripheral devices. It also includes a mapping of mandatory and
optional requirements as per IEC 60839-11-1:2013 as covered by Annex F.
This document applies to physical security only. Physical security prevents unauthorized
personnel, attackers or accidental intruders from physically accessing a building, room, etc.
This document does not in any way limit a manufacturer to add other commands to the
protocol defined here.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their
content constitutes requirements of this document. For dated references, only the edition
cited applies. For undated references, the latest edition of the referenced document (including
any amendments) applies.
IEC 60839-11-1:2013, Alarm and electronic security systems – Part 11-1: Electronic access
control systems – System and components requirements
IEC 60839-11-2:2014, Alarm and electronic security systems – Part 11-2: Electronic access
control systems – Application guidelines
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For the purposes of this document the terms and definitions given in IEC 60839-11-1 and
IEC 60839-11-2, as well as the following, apply:
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1.1
client
service requester
EXAMPLE User interface, etc.
3.1.2
server
service provider
– 12 – IEC 60839-11-5:2020 © IEC 2020
EXAMPLE Access control unit, etc.
3.1.3
peripheral device
I/O device connected via OSDP to the access control unit
EXAMPLE Token reader, card reader, biometric reader, client, etc.
3.2 Abbreviated terms
For the purposes of this document, the abbreviated terms given in IEC 60839-11-1 and
IEC 60839-11-2, as well as the following apply.
ACU Access Control Unit
AES Advanced Encryption Standard
APDU Application Protocol Data Unit
CBC Cypher Block Chaining
C-MAC Command MAC (for packets from ACU to PD)
cUID Client's Unique Identifier
ICV Initial Chaining Vector
MAC Message Authentication Code
MK Master Key
PD Peripheral Device
PGM Portable Grey Map
R-MAC Reply MAC (for packets from PD to ACU)
SCBK Secure Channel Base Key
SCS Secure Channel Session
S-ENC Session Key for ensuring data confidentiality (message encryption)
S-MAC1 Session Key for Message Authentication, key 1
S-MAC2 Session Key for Message Authentication, key 2
SPE Secure PIN Entry
4 Overview
This document defines the protocol for connecting an ACU to peripheral devices including
communication settings, commands and replies as shown in Figure 1.

Figure 1 – Schematic overview of an OSDP connection

5 Communication settings
5.1 Physical interface
The physical interface shall be a half-duplex RS-485 communication bus using one twisted
pair of wires with shield/signal ground.
5.2 Signaling
The signaling port shall be half-duplex asynchronous serial with following settings:
• 8 data bits,
• 1 stop bit,
• no parity bits,
• at least one of 9 600, 19 200,38 400, 57 600, 115 200, 230 400 baud.
5.3 Character encoding
Data encoding shall be compliant with UTF-8 (ISO/IEC 10646:2017).
5.4 Channel access
The communication channel is used in the “interrogation/reply” mode. Only the ACU may
spontaneously send a message. Each message sent by the ACU is addressed to one and only
one PD. The “broadcast message”, as described in Table 1, assumes that there is only one
PD connected to the ACU.
The PD shall send a single reply message to each message addressed to it within the
specified MAX_REPLY_DELAY, as defined in 5.7.
Special case: if the PD is unable to accept the command for processing due to temporary
unavailability of a resource required to process the command, then the PD shall send the
osdp_BUSY reply as defined in 7.19. When the ACU receives the osdp_BUSY reply, it may, at
its discretion, choose to re-send the same command as it would if the command delivery
timed out. If the ACU elects to re-send the command that caused the osdp_BUSY reply, it
may do so right away, or at its option may service other PDs before re-sending the command.
If, on the other hand, the ACU elects to abandon the command that received the BUSY reply,
the PD shall recognize this condition (new sequence number) and shall process the new
command.
Commands which request specific data from the PD shall be limited to data that is expected to
be immediately available. Following that guideline, applications where the ACU needs to
request data that may take some time before it is available shall implement the operation in
two distinct steps. The ACU shall issue a command requesting the data. The acceptance of
that command shall be indicated by osdp_ACK. On completion of the operation, the PD shall
return the matching reply in response to osdp_POLL.
5.5 Multi-byte data encoding
Messages are constructed using a character stream model, meaning that all data shall be
packed without any "alignment pad" characters.
Numeric data types that require more than 1 byte are stored with the least significant byte first
("little-endian" format).
– 14 – IEC 60839-11-5:2020 © IEC 2020
5.6 Packet size limits
The implementation of the standard message set requires all devices to be able to accept
packets up to 128 bytes long and be able to tolerate messages addressed to other devices
having a total length not exceeding 1 440 bytes.
If the packet was meant for another device, there should be no adverse condition created in
the PD with the limitation. If the PD receives a packet specifically addressed to it which is
greater than its reported RX buffer size, it would constitute a protocol error and respond with
a NAK code 0x02.
This protocol's primary purpose is to support communication to simple devices on a shared
(multi-dropped) channel. Large packets should be avoided.
5.7 Timing
The transmitting device shall guarantee an equivalent of two UTF-8 characters idle time
before it may access the communication channel. This idle line delay is required to allow for
signal converters and/or multiplexers to sense that the line has become idle.
The transmitting device shall drive the line to a marking state for a minimum time pause
equivalent of one UTF-8 character before starting to send the first character of a message
(this can be achieved by sending a character with all bits set to '1').
The transmitting device shall stop driving the line no longer than the equivalent time of one
full UTF-8 character after the transmission of the stop bit of the last character of a message.
A device shall begin the transmission of its reply in less than the defined REPLY_DELAY from
the last character of the message requesting the reply.
The REPLY_DELAY shall not exceed 200 ms. The REPLY_DELAY is defined as the time
measured from the receipt of the checksum charac
...


IEC 60839-11-5 ®
Edition 1.0 2020-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Alarm and electronic security systems –
Part 11-5: Electronic access control systems – Open supervised device protocol
(OSDP)
Systèmes d’alarme et de sécurité électroniques –
Partie 11-5: Systèmes de contrôle d’accès électronique – Protocole ouvert
d’appareil supervisé (OSDP)
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form
or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.

Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.

IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.

A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.

Recherche de publications IEC - IEC online collection - oc.iec.ch
webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez
La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un
en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour
comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.

Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire

Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc

Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.
IEC 60839-11-5 ®
Edition 1.0 2020-07
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
Alarm and electronic security systems –

Part 11-5: Electronic access control systems – Open supervised device protocol

(OSDP)
Systèmes d’alarme et de sécurité électroniques –

Partie 11-5: Systèmes de contrôle d’accès électronique – Protocole ouvert

d’appareil supervisé (OSDP)
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
COMMISSION
ELECTROTECHNIQUE
INTERNATIONALE
ICS 13.320 ISBN 978-2-8322-9993-7

– 2 – IEC 60839-11-5:2020 © IEC 2020
CONTENTS
FOREWORD . 8
INTRODUCTION . 10
1 Scope . 11
2 Normative references . 11
3 Terms, definitions and abbreviated terms . 11
3.1 Terms and definitions . 11
3.2 Abbreviated terms . 12
4 Overview . 12
5 Communication settings. 13
5.1 Physical interface . 13
5.2 Signaling . 13
5.3 Character encoding . 13
5.4 Channel access . 13
5.5 Multi-byte data encoding . 13
5.6 Packet size limits . 14
5.7 Timing. 14
5.8 Message synchronization . 14
5.9 Packet format . 15
5.10 Multi-part messages . 17
5.10.1 General . 17
5.10.2 Multi-part message usage rules . 17
5.11 Smartcard handling . 18
6 Commands . 19
6.1 General . 19
6.2 Poll request (osdp_POLL) . 19
6.3 ID report request (osdp_ID) . 19
6.4 Peripheral device capabilities request (osdp_CAP) . 20
6.5 Local status report request (osdp_LSTAT) . 20
6.6 Input status report request (osdp_ISTAT). 20
6.7 Output status report request (osdp_OSTAT) . 21
6.8 Reader status report request (osdp_RSTAT) . 21
6.9 Output control command (osdp_OUT) . 21
6.10 Reader LED control command (osdp_LED) . 22
6.11 Reader buzzer control command (osdp_BUZ) . 24
6.12 Reader text output command (osdp_TEXT) . 25
6.13 Communication configuration command (osdp_COMSET) . 26
6.14 Scan and send biometric data (osdp_BIOREAD) . 27
6.15 Scan and match biometric template (osdp_BIOMATCH) . 28
6.16 Encryption key set (osdp_KEYSET) . 29
6.17 Challenge and secure session initialization request (osdp_CHLNG) . 29
6.18 Server's random number and server cryptogram (osdp_SCRYPT) . 29
6.19 Manufacturer specific command (osdp_MFG) . 29
6.20 ACU receive size (osdp_ACURXSIZE) . 30
6.21 Keep reader active (osdp_KEEPACTIVE). 30
6.22 Abort current operation (osdp_ABORT) . 31
6.23 Get PIV data (osdp_PIVDATA) . 31

6.24 General authenticate (osdp_GENAUTH) . 31
6.25 Authentication challenge (osdp_CRAUTH) . 32
6.26 File transfer command (osdp_FILETRANSFER) . 33
6.27 Extended write data (osdp_XWR) . 33
6.27.1 General . 33
6.27.2 Mode set command . 34
6.27.3 Mode-00 read setting . 35
6.27.4 Mode specific command codes for XRW_MODE=1 . 35
6.27.5 Mode-01 transparent content send request . 35
6.27.6 Mode-01 connection done . 35
6.27.7 Mode-01 request secure PIN entry command . 36
6.27.8 Mode-01 smartcard scan . 37
7 Replies . 37
7.1 General . 37
7.2 General acknowledge – Nothing to report (osdp_ACK) . 38
7.3 Negative acknowledge – Error response (osdp_NAK) . 38
7.4 Device identification report (osdp_PDID) . 39
7.5 Device capabilities report (osdp_PDCAP) . 40
7.6 Local status report (osdp_LSTATR) . 41
7.7 Input status report (osdp_ISTATR) . 41
7.8 Output status report (osdp_OSTATR) . 41
7.9 Reader tamper status report (osdp_RSTATR) . 42
7.10 Card data report, raw bit array (osdp_RAW) . 42
7.11 Card data report, character array (osdp_FMT) . 43
7.12 Keypad data report (osdp_KEYPAD) . 43
7.13 Communication configuration report (osdp_COM) . 44
7.14 Scan and send biometric data (osdp_BIOREADR) . 44
7.15 Scan and match biometric template (osdp_BIOMATCHR) . 45
7.16 Client's ID and client's random number (osdp_CCRYPT) . 45
7.17 Client cryptogram packet and the initial R-MAC (osdp_RMAC_I) . 46
7.18 Manufacturer specific reply (osdp_MFGREP) . 46
7.19 PD busy reply (osdp_BUSY) . 46
7.20 PIV data reply (osdp_PIVDATAR) . 46
7.21 osdp_GENAUTHR. 47
7.22 Response to challenge (osdp_CRAUTHR) . 47
7.23 Manufacturer specific status reply (osdp_MFGSTATR) . 48
7.24 Manufacturer specific error reply (osdp_MFGERRR) . 48
7.25 File transfer status (osdp_FTSTAT) . 48
7.26 Extended read reply (osdp_XRD) . 49
7.26.1 General . 49
7.26.2 Mode specific reply codes for XRW_MODE=0 . 50
7.26.3 Mode-00 error reply (osdp_PR00ERROR). 50
7.26.4 Mode setting report (osdp_PR00REQR). 50
7.26.5 Card information report (osdp_PR00CIRR) . 51
7.26.6 Mode specific reply codes for XRW_MODE=1 . 51
7.26.7 Mode-01 NAK or error reply (osdp_PR01ERROR) . 52
7.26.8 Card present notification reply (osdp_PR01PRES). 52
7.26.9 Transparent card data reply (osdp_PR01SCREP) . 52
7.26.10 Secure PIN entry complete reply (osdp_PR01SPER) . 53

– 4 – IEC 60839-11-5:2020 © IEC 2020
Annex A (normative) Command and reply code numbers commands . 54
A.1 Commands . 54
A.2 Replies . 55
Annex B (normative) Function code definitions list . 56
B.1 General . 56
B.2 Function code 1 – Contact status monitoring . 56
B.3 Function code 2 – Output control . 57
B.4 Function code 3 – Card data format . 57
B.5 Function code 4 – Reader LED control . 57
B.6 Function code 5 – Reader audible output . 58
B.7 Function code 6 – Reader text output . 58
B.8 Function code 7 – Time keeping . 58
B.9 Function code 8 – Check character support . 58
B.10 Function code 9 – Communication security . 59
B.11 Function code 10 – Receive bufferSize . 59
B.12 Function code 11 – Largest combined message size . 59
B.13 Function code 12 – Smart card support . 59
B.14 Function code 13 – Readers . 60
B.15 Function code 14 – Biometrics . 60
B.16 Function code 15 – Secure PIN entry support . 60
B.17 Function code 16 – OSDP version . 60
Annex C (normative) CRC definition . 61
Annex D (normative) Encryption . 64
D.1 Encryption method: OSDP-SC . 64
D.1.1 General . 64
D.1.2 Overview . 65
D.1.3 The process . 65
D.1.4 Secure channel session connection sequence (SCS-CS) . 65
D.1.5 Communication during a secure channel session . 67
D.1.6 SCS_16 PD->ACU . 67
D.1.7 SCS_17 ACU->PD . 67
D.1.8 SCS_18 PD->ACU . 67
D.2 Commands . 67
D.2.1 Encryption key set (osdp_KEYSET) . 67
D.2.2 Challenge and secure session initialization request (osdp_CHLNG) . 68
D.2.3 Server's random number and server cryptogram (osdp_SCRYPT) . 68
D.3 Replies . 68
D.3.1 Client's ID and client's random number (osdp_CCRYPT) . 68
D.3.2 Client cryptogram packet and the initial R-MAC (osdp_RMAC_I) . 69
D.4 Algorithms and support functions . 69
D.4.1 Session key derivation . 69
D.4.2 Key diversification . 69
D.4.3 Client cryptogram . 70
D.4.4 Server cryptogram . 70
D.4.5 Padding . 70
D.5 Message authentication code (MAC) generation . 70
D.5.1 General . 70
D.5.2 The wrap operation for security block types SCS_15, SCS-16, SCS_17,
and SCS_18 . 71

D.5.3 The unwrap operation . 72
D.6 Error recovery . 72
D.7 Field deployment and configuration . 72
Annex E (normative) Test vectors . 74
Annex F (informative) Mapping of mandatory functions in IEC 60839-11-1 . 75
Bibliography . 85

Figure 1 – Schematic overview of an OSDP connection . 12
Figure D.1 – MAC algorithm . 71

Table 1 – Packet format . 15
Table 2 – Message control information . 16
Table 3 – The security block (SB) . 17
Table 4 – Multi-part message structure . 17
Table 5 – Behaviour modes . 18
Table 6 – Poll request . 19
Table 7 – ID report request . 20
Table 8 – Peripheral device capabilities request . 20
Table 9 – Local status report request . 20
Table 10 – Input status report request. 20
Table 11 – Output status report request . 21
Table 12 – Reader status report request . 21
Table 13 – Output control command . 22
Table 14 – Control code values . 22
Table 15 – Reader LED control command . 23
Table 16 – Temporary control code values . 24
Table 17 – Permanent control code values . 24
Table 18 – Color values . 24
Table 19 – Reader buzzer control command (osdp_BUZ) . 25
Table 20 – Reader text output command (osdp_TEXT) . 26
Table 21 – Text command values . 26
Table 22 – Communication configuration command (osdp_COMSET) . 27
Table 23 – Scan and send biometric data (osdp_BIOREAD) . 27
Table 24 – Biometric types. 28
Table 25 – Fingerprint formats . 28
Table 26 – Command structure: 6-byte header followed by a variable length template . 29
Table 27 – Manufacturer specific commands (osdp_MFG) . 30
Table 28 – ACU receive size (osdp_ACURXSIZE) . 30
Table 29 – Keep reader active (osdp_KEEPACTIVE) . 30
Table 30 – Abort current operation (osdp_ABORT) . 31
Table 31 – Get PIV data (osdp_PIVDATA) . 31
Table 32 – General authenticate (osdp_GENAUTH) fragment . 32
Table 33 – Authentication challenge (osdp_CRAUTH) fragment . 32

– 6 – IEC 60839-11-5:2020 © IEC 2020
Table 34 – File transfer command . 33
Table 35 – Extended write command structure . 34
Table 36 – Mode set command . 34
Table 37 – Mode 0 configuration . 34
Table 38 – Mode 1 configuration . 34
Table 39 – Read setting request . 35
Table 40 – Mode specific command codes . 35
Table 41 – Transparent content send request . 35
Table 42 – Smartcard connection done . 36
Table 43 – Request secure PIN entry command . 36
Table 44 – Smartcard scan . 37
Table 45 – General acknowledge (osdp_ACK) . 38
Table 46 – Negative acknowledge (osdp_NAK) . 38
Table 47 – Error codes . 39
Table 48 – Device identification report (osdp_PDID) . 40
Table 49 – Device capabilities report (osdp_PDCAP) . 40
Table 50 – Local status report (osdp_LSTATR) . 41
Table 51 – Input status report (osdp_ISTATR) . 41
Table 52 – Output status report (osdp_OSTATR) . 42
Table 53 – Reader tamper status report (osdp_RSTATR) . 42
Table 54 – Card data report, raw bit array (osdp_RAW) . 43
Table 55 – Card data report, character array (osdp_FMT) . 43
Table 56 – Keypad data report (osdp_KEYPAD) . 44
Table 57 – Communication configuration report (osdp_COM) . 44
Table 58 – Scan and send biometric data (osdp_BIOREADR) . 45
Table 59 – Scan and match biometric template (osdp_BIOMATCHR) . 45
Table 60 – Manufacturer specific reply (osdp_MFGREP) . 46
Table 61 – PD busy reply (osdp_BUSY) . 46
Table 62 – PIV data reply (osdp_PIVDATAR) . 47
Table 63 – General authenticate response (osdp_GENAUTHR) . 47
Table 64 – Response to challenge (osdp_CRAUTHR) . 48
Table 65 – Manufacturer specific status reply (osdp_MFGSTATR) . 48
Table 66 – Manufacturer specific error reply (osdp_MFGERRR) . 48
Table 67 – File transfer status (osdp_FTSTAT) . 49
Table 68 – Extended read reply . 50
Table 69 – Mode specific reply codes . 50
Table 70 – Error reply . 50
Table 71 – Mode setting report . 51
Table 72 – Card information report . 51
Table 73 – Mode specific reply codes . 51
Table 74 – Error reply . 52
Table 75 – Card present notification reply . 52
Table 76 – Transparent card data reply . 52

Table 77 – Transparent card data reply . 53
Table A.1 – Commands code numbers . 54
Table A.2 – Replies code numbers . 55
Table B.1 – Function codes . 56
Table D.1 – SEC_BLK_TYPE assignment . 64
Table D.2 – Command structure: 2-byte header followed by variable length data . 67
Table D.3 – Command structure: 8-byte random number as the “challenge” . 68
Table D.4 – Command structure: 16-byte server cryptogram . 68
Table D.5 – Command structure: 32-byte structure . 69
Table D.6 – Command structure: 16-byte structure . 69
Table F.1 – Access point interface requirements . 76
Table F.2 – Indication and annunciation requirements . 77
Table F.3 – Recognition requirements . 80
Table F.4 – Duress signalling requirements . 81
Table F.5 – Overriding requirements . 81
Table F.6 – System self-protection requirements . 82

– 8 – IEC 60839-11-5:2020 © IEC 2020
INTERNATIONAL ELECTROTECHNICAL COMMISSION
____________
ALARM AND ELECTRONIC SECURITY SYSTEMS –

Part 11-5: Electronic access control systems –
Open supervised device protocol (OSDP)

FOREWORD
1) The International Electrotechnical Commission (IEC) is a worldwide organization for standardization comprising
all national electrotechnical committees (IEC National Committees). The object of IEC is to promote
international co-operation on all questions concerning standardization in the electrical and electronic fields. To
this end and in addition to other activities, IEC publishes International Standards, Technical Specifications,
Technical Reports, Publicly Available Specifications (PAS) and Guides (hereafter referred to as “IEC
Publication(s)”). Their preparation is entrusted to technical committees; any IEC National Committee interested
in the subject dealt with may participate in this preparatory work. International, governmental and non-
governmental organizations liaising with the IEC also participate in this preparation. IEC collaborates closely
with the International Organization for Standardization (ISO) in accordance with conditions determined by
agreement between the two organizations.
2) The formal decisions or agreements of IEC on technical matters express, as nearly as possible, an international
consensus of opinion on the relevant subjects since each technical committee has representation from all
interested IEC National Committees.
3) IEC Publications have the form of recommendations for international use and are accepted by IEC National
Committees in that sense. While all reasonable efforts are made to ensure that the technical content of IEC
Publications is accurate, IEC cannot be held responsible for the way in which they are used or for any
misinterpretation by any end user.
4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications
transparently to the maximum extent possible in their national and regional publications. Any divergence
between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in
the latter.
5) IEC itself does not provide any attestation of conformity. Independent certification bodies provide conformity
assessment services and, in some areas, access to IEC marks of conformity. IEC is not responsible for any
services carried out by independent certification bodies.
6) All users should ensure that they have the latest edition of this publication.
7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and
members of its technical committees and IEC National Committees for any personal injury, property damage or
other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and
expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC
Publications.
8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is
indispensable for the correct application of this publication.
9) Attention is drawn to the possibility that some of the elements of this IEC Publication may be the subject of
patent rights. IEC shall not be held responsible for identifying any or all such patent rights.
International Standard IEC 60839-11-5 has been prepared by IEC technical committee 79:
Alarm and electronic security systems.
The text of this International Standard is based on the following documents:
FDIS Report on voting
79/634/FDIS 79/636/RVD
Full information on the voting for the approval of this International Standard can be found in
the report on voting indicated in the above table.
This document has been drafted in accordance with the ISO/IEC Directives, Part 2.

A list of all parts in the IEC 60839 series, published under the general title Alarm and
electronic security systems, can be found on the IEC website.
The committee has decided that the contents of this document will remain unchanged until the
stability date indicated on the IEC website under "http://webstore.iec.ch" in the data related to
the specific document. At this date, the document will be
• reconfirmed,
• withdrawn,
• replaced by a revised edition, or
• amended.
– 10 – IEC 60839-11-5:2020 © IEC 2020
INTRODUCTION
This document describes the communication protocol for interfacing one or more Peripheral
Devices (PD) to an Access Control Unit (ACU). This document specifies the protocol
implementation over a two-wire RS-485 multi-drop serial communication channel.
This document is based upon the work done by the Security Industry Association OSDP
Working Group.
ALARM AND ELECTRONIC SECURITY SYSTEMS –

Part 11-5: Electronic access control systems –
Open supervised device protocol (OSDP)

1 Scope
This part of IEC 60839 specifies the Open supervised device protocol (OSDP) for electronic
access control systems. This includes communication settings, commands and replies
between the ACU and the peripheral devices. It also includes a mapping of mandatory and
optional requirements as per IEC 60839-11-1:2013 as covered by Annex F.
This document applies to physical security only. Physical security prevents unauthorized
personnel, attackers or accidental intruders from physically accessing a building, room, etc.
This document does not in any way limit a manufacturer to add other commands to the
protocol defined here.
2 Normative references
The following documents are referred to in the text in such a way that some or all of their
content constitutes requirements of this document. For dated references, only the edition
cited applies. For undated references, the latest edition of the referenced document (including
any amendments) applies.
IEC 60839-11-1:2013, Alarm and electronic security systems – Part 11-1: Electronic access
control systems – System and components requirements
IEC 60839-11-2:2014, Alarm and electronic security systems – Part 11-2: Electronic access
control systems – Application guidelines
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For the purposes of this document the terms and definitions given in IEC 60839-11-1 and
IEC 60839-11-2, as well as the following, apply:
ISO and IEC maintain terminological databases for use in standardization at the following
addresses:
• IEC Electropedia: available at http://www.electropedia.org/
• ISO Online browsing platform: available at http://www.iso.org/obp
3.1.1
client
service requester
EXAMPLE User interface, etc.
3.1.2
server
service provider
– 12 – IEC 60839-11-5:2020 © IEC 2020
EXAMPLE Access control unit, etc.
3.1.3
peripheral device
I/O device connected via OSDP to the access control unit
EXAMPLE Token reader, card reader, biometric reader, client, etc.
3.2 Abbreviated terms
For the purposes of this document, the abbreviated terms given in IEC 60839-11-1 and
IEC 60839-11-2, as well as the following apply.
ACU Access Control Unit
AES Advanced Encryption Standard
APDU Application Protocol Data Unit
CBC Cypher Block Chaining
C-MAC Command MAC (for packets from ACU to PD)
cUID Client's Unique Identifier
ICV Initial Chaining Vector
MAC Message Authentication Code
MK Master Key
PD Peripheral Device
PGM Portable Grey Map
R-MAC Reply MAC (for packets from PD to ACU)
SCBK Secure Channel Base Key
SCS Secure Channel Session
S-ENC Session Key for ensuring data confidentiality (message encryption)
S-MAC1 Session Key for Message Authentication, key 1
S-MAC2 Session Key for Message Authentication, key 2
SPE Secure PIN Entry
4 Overview
This document defines the protocol for connecting an ACU to peripheral devices including
communication settings, commands and replies as shown in Figure 1.

Figure 1 – Schematic overview of an OSDP connection

5 Communication settings
5.1 Physical interface
The physical interface shall be a half-duplex RS-485 communication bus using one twisted
pair of wires with shield/signal ground.
5.2 Signaling
The signaling port shall be half-duplex asynchronous serial with following settings:
• 8 data bits,
• 1 stop bit,
• no parity bits,
• at least one of 9 600, 19 200,38 400, 57 600, 115 200, 230 400 baud.
5.3 Character encoding
Data encoding shall be compliant with UTF-8 (ISO/IEC 10646:2017).
5.4 Channel access
The communication channel is used in the “interrogation/reply” mode. Only the ACU may
spontaneously send a message. Each message sent by the ACU is addressed to one and only
one PD. The “broadcast message”, as described in Table 1, assumes that there is only one
PD connected to the ACU.
The PD shall send a single reply message to each message addressed to it within the
specified MAX_REPLY_DELAY, as defined in 5.7.
Special case: if the PD is unable to accept the command for processing due to temporary
unavailability of a resource required to process the command, then the PD shall send the
osdp_BUSY reply as defined in 7.19. When the ACU receives the osdp_BUSY reply, it may, at
its discretion, choose to re-send the same command as it would if the command delivery
timed out. If the ACU elects to re-send the command that caused the osdp_BUSY reply, it
may do so right away, or at its option may service other PDs before re-sending the command.
If, on
...


SLOVENSKI STANDARD
01-februar-2001
Electricity metering - Data exchange for meter reading, tariff and load control - Part
51: Application layer protocols
Electricity metering - Data exchange for meter reading, tariff and load control - Part 51:
Application layer protocols
Comptage d'électricité - Echange de données pour la lecture des compteurs, le contrôle
des tarifs et de la charge - Partie 51: Protocoles de couche application
Ta slovenski standard je istoveten z: IEC/TS 62056-51
ICS:
17.220.20 0HUMHQMHHOHNWULþQLKLQ Measurement of electrical
PDJQHWQLKYHOLþLQ and magnetic quantities
35.100.70 Uporabniški sloj Application layer
91.140.50 Sistemi za oskrbo z elektriko Electricity supply systems
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.

Loading comments...

IEC 60839-11-5:2020 provides a comprehensive standard for the Open Supervised Device Protocol (OSDP) applicable to electronic access control systems. The scope of this standard is critical as it outlines the necessary communication settings, commands, and replies between the Access Control Unit (ACU) and peripheral devices. By focusing on physical security, the standard plays an essential role in ensuring that electronic access control systems are designed to prevent unauthorized personnel and accidental intruders from gaining physical access to secured areas. One of the significant strengths of IEC 60839-11-5:2020 is its clear delineation of mandatory and optional requirements, which are crucial for developers and operators of electronic access control systems to understand compliance and implementation. The mapping of these requirements to the related IEC 60839-11-1:2013 enhances the usability of the standard, providing a detailed framework that stakeholders can easily reference. Furthermore, the relevance of this standard cannot be overstated, as the evolution of security needs continues to expand with increasing threats to physical security. Emphasizing interoperability between devices through the OSDP ensures that diverse systems can communicate effectively, which is paramount in creating a reliable and secure environment. The standard also promotes a unified approach towards the integration of various access control systems, facilitating easier upgrades and maintenance over time. In summary, IEC 60839-11-5:2020 stands out for its meticulous approach to specifying protocols for electronic access control systems focused on physical security, its comprehensive requirement mapping, and its emphasis on interoperability. These features collectively underscore the standard's significance in enhancing security measures against unauthorized access.

Die Norm IEC 60839-11-5:2020 befasst sich mit dem Open Supervised Device Protocol (OSDP) für elektronische Zugangskontrollsysteme. Diese Norm ist von großer Bedeutung für die physische Sicherheit, da sie die Kommunikation zwischen der Access Control Unit (ACU) und den peripheren Geräten klar definiert. Das Dokument legt die Kommunikationsparameter, Befehle und Antworten fest, die für eine effektive und sichere Interaktion zwischen den Systemkomponenten erforderlich sind. Ein zentraler Aspekt der Norm ist die umfassende Abdeckung der verbindlichen und optionalen Anforderungen, die in IEC 60839-11-1:2013 dargelegt sind. Diese Strukturierung ermöglicht es Herstellern und Installateuren von elektronischen Zugangskontrollsystemen, einheitliche Standards einzuhalten, was wiederum zu einer erhöhten Interoperabilität und Zuverlässigkeit der Systeme beiträgt. Durch die klare Zuordnung der Anforderungen wird die Implementierung des OSDP vereinfacht, was speziell für die Sicherheit von Gebäuden und Räumlichkeiten entscheidend ist. Ein weiterer Pluspunkt der IEC 60839-11-5:2020 ist die Möglichkeit, verschiedene Geräte und Systeme unterschiedlicher Hersteller zu integrieren, ohne Kompromisse bei der Sicherheitsqualität einzugehen. Diese Flexibilität ist besonders wichtig in einer Branche, die sich schnell weiterentwickelt und in der neue Technologien ständig hinzukommen. Die Norm unterstützt somit die Anpassungsfähigkeit und Innovationsfreude, indem sie ein robustes Framework für die notwendige Kommunikation zwischen verschiedenen Systemkomponenten bereitstellt. Zusammenfassend lässt sich sagen, dass die IEC 60839-11-5:2020 eine essentielle Norm für die Entwicklung und Implementierung von elektronischen Zugangskontrollsystemen darstellt. Die Norm gewährleistet, dass Sicherheitslösungen nicht nur effektiv und sicher, sondern auch kompatibel mit bestehenden Technologien sind. Ihre Relevanz in der heutigen Sicherheitslandschaft kann nicht genug betont werden, da sie einen wichtigen Beitrag zur physischen Sicherheit von Einrichtungen leistet.

La norme IEC 60839-11-5:2020, intitulée "Systèmes d'alarme et de sécurité électronique - Partie 11-5 : Systèmes de contrôle d'accès électronique - Protocole de périphérique supervisé ouvert (OSDP)", joue un rôle crucial dans le domaine de la sécurité physique. Son champ d'application se concentre sur la spécification du protocole OSDP pour les systèmes de contrôle d'accès électronique, ce qui est essentiel pour assurer une communication bidirectionnelle sécurisée entre l'unité de contrôle d'accès (ACU) et les dispositifs périphériques. Un des points forts de cette norme est son cadre détaillé concernant les paramètres de communication. Elle précise les commandes et les réponses attendues, ce qui permet un échange d'informations fluide et efficace, essentiel pour la fiabilité des systèmes de sécurité. De plus, la norme inclut une cartographie des exigences obligatoires et optionnelles, conformément à la norme IEC 60839-11-1:2013, ce qui facilite l'implémentation pour les fabricants et les installateurs. En matière de pertinence, la norme IEC 60839-11-5:2020 est alignée avec les défis contemporains de la sécurité physique. En fournissant un protocole standardisé, elle permet de réduire les risques liés aux accès non autorisés, qu'il s'agisse de personnes malveillantes ou d'intrus accidentels. Cela contribue non seulement à sécuriser l'intégrité physique des bâtiments, mais également à renforcer la confiance des utilisateurs dans les systèmes de sécurité. En somme, la norme IEC 60839-11-5:2020 s'impose comme une référence essentielle pour quiconque s'efforce de mettre en œuvre des systèmes de contrôle d'accès électronique efficaces et sécurisés, en garantissant une conformité aux meilleures pratiques de l'industrie. Sa clarté et sa rigueur en font un outil précieux pour le renforcement de la sécurité physique des infrastructures.

IEC 60839-11-5:2020 표준은 전자 접근 제어 시스템을 위한 오픈 감독 장치 프로토콜(OSDP)에 대한 명확한 지침을 제공합니다. 이 표준의 범위는 ACU(Access Control Unit)와 주변 장치 간의 통신 설정, 명령 및 응답을 포함하여, 상호 운용성과 안전성을 보장합니다. 표준의 강점 중 하나는 OSDP의 필수 및 선택적 요구 사항을 IEC 60839-11-1:2013의 부록에 따라 명확하게 매핑하여, 사용자가 요구 사항을 체계적으로 이해할 수 있도록 돕는 점입니다. 이를 통해 보안 시스템의 일관성을 높이고, 다양한 제조업체의 장치 간의 호환성을 보장하는 데 기여합니다. 또한 이 문서는 물리적 보안에만 적용되며, 이는 허가되지 않은 인원, 공격자, 우발적 침입자가 건물, 방 등에 물리적으로 접근하는 것을 방지하는 데 필수적입니다. 이러한 측면에서 IEC 60839-11-5:2020 표준은 전자 접근 제어 시스템을 구축하고 운영하는 데 있어 중요한 지침을 제공하며, 물리적 보안의 필요성이 강조되는 현대 사회에서 그 의의가 더욱 부각됩니다. 종합적으로, IEC 60839-11-5:2020 표준은 전자 접근 제어 시스템의 안전하고 효율적인 구현을 위한 중요한 도구로 자리잡고 있으며, 보안 기술이 발전함에 따라 더욱 관련성이 높아지는 기준입니다.

IEC 60839-11-5:2020の標準は、電子アクセス制御システムに関する重要な規定を提供しており、特にOpen Supervised Device Protocol (OSDP)に関する詳細なガイドラインを定めています。この文書は、電子アクセス制御システムにおけるACU(アクセス制御ユニット)と周辺機器との間の通信設定、コマンド、応答について明確に記述しています。 この標準の強みは、IEC 60839-11-1:2013に基づいて、必須と任意の要件をマッピングしている点にあります。これにより、ユーザーやシステム管理者は遵守すべき基準を容易に理解し、実装できるようになります。また、物理的セキュリティに特化した内容であるため、無断アクセス防止のための具体的な手法が明示されています。物理的セキュリティは、建物や部屋への不正アクセスを防ぎ、セキュリティを強化するための重要な要素です。 IEC 60839-11-5:2020は、電子アクセス制御システムの実装を効率化し、適正なセキュリティレベルを保証するための標準として非常に重要です。その関連性は、今日の高度に発展したセキュリティニーズに応じて進化しており、業界における広範な採用を可能にしています。この文書は、電子的および物理的なセキュリティシステムの統合に貢献し、ユーザーが安全な環境を維持するための基盤を提供します。