1.. _osdp-sample:
2
3Open Supervised Device Protocol (OSDP)
4######################################
5
6Open Supervised Device Protocol (OSDP) is an IEC standard (IEC 60839-11-5)
7intended to improve interoperability among access control and security products.
8It supports Secure Channel (SC) for encrypted and authenticated communication
9between configured devices.
10
11OSDP describes the communication protocol for interfacing one or more Peripheral
12Devices (PD) to a Control Panel (CP) over a two-wire RS-485 multi-drop serial
13communication channel. Nevertheless, this protocol can be used to transfer
14secure data over any stream based physical channel. Read more about `OSDP here
15<https://github.com/goToMain/libosdp/>`_..
16
17Although OSDP is steered towards the Access and Security industries, it can be
18used as a general communication protocol for devices in a secure way without
19too much resource requirements. The security is not top-notch (AES-128) but it
20is reasonable enough, given that the alternative is no security at all.
21
22OSDP Supports the control of the following components on a PD:
23   - LED
24   - Buzzer
25   - Keypad
26   - Output (GPIOs)
27   - Input Control (GPIOs)
28   - Displays
29   - Device status (tamper, power, etc.,)
30   - Card Reader
31   - Fingerprint Reader
32