Open Supervised Device Protocol

Build and certify OSDP systems
with ease.

A full suite of hardware and software tools for engineering teams integrating Open Supervised Device Protocol — from bus capture and emulation to field deployment.

osdp.dev — live bus capture
# Bus: /dev/ttyUSB0 @ 9600 baud# Secure channel: active (AES-128)────────────────────────────────────────0.301ERR CP → PD[1] POLL len=8 0.600CMD CP → PD[1] CAP len=8 CRC16✓ 0.601CMD CP → PD[1] POLL len=8 CRC16✓ 0.900RPL PD[1] → CP ACK len=8 CRC16✓ 0.901CMD CP → PD[1] POLL len=8 CRC16✓ 1.200RPL PD[1] → CP CCRYPT len=8 CRC16✓ 1.200RPL PD[1] → CP ACK len=8 CRC16✓ 1.500RPL PD[1] → CP ACK len=8 CRC16✓ 1.500CMD CP → PD[1] CAP len=8 CRC16✓ ──────────────────────────────────────── SOM: 0x53 Type: Reply (1) Addr: 1 Len: 8 Seq: 0 Payload: ACK Checksum: AABB ✓

Success: OSDP v2.2 Verified!
OSDPIEC 60839-11-5
Open SourceLibOSDP core
Secure ChannelWorks Out-of-the-box
CP & PDMode Support
RS-485Multi-Drop
Bare-metal & RTOSDesigned for Embedded
Rust, Go, PythonLanguage Bindings
What is OSDP

Modern access control,
on an open standard

OSDP — the Open Supervised Device Protocol — is the IEC 60839-11-5 standard for how access control panels talk to the readers, keypads, and controllers in the field. It is secure, bidirectional, and vendor-neutral: one open protocol for the whole bus.

For nearly forty years that bus spoke Wiegand — a one-way, unencrypted signaling scheme still wired into most card readers in service today. Its weaknesses are now well understood, and as encryption and line supervision become baseline security expectations, standards bodies and government procurement increasingly specify OSDP for new and upgraded installations. The changeover is gradual, but the direction is set.

CapabilityLegacy Wiegandincumbent · since the 1980sOSDPtoday's standard
CommunicationOne-way — reader to panel onlyBidirectional command and reply
Data securityUnencrypted — credentials sent in the clearAES-128 Secure Channel encryption
Line supervisionUnsupervised — a cut wire goes unnoticedContinuously supervised — tamper and line faults detected
Bus topologyPoint-to-point — one device per home runRS-485 multidrop — up to 126 devices on one bus
StandardizationProprietary, ~40-year-old wiring schemeOpen IEC 60839-11-5 standard — interoperable across vendors
scroll to compare →
In the field

Typical OSDP deployments

A real building runs many of these buses at once. One management server talks IP to a set of access control units — typically one ACU per floor or zone — and each ACU drives a single RS-485 OSDP bus. Every device on that floor multidrops onto it: card readers, biometric readers, turnstiles, boom barriers. One open protocol, one bus per controller, many devices.

Typical OSDP building deployment: a central management server connects over IP to one access control unit (ACU) per floor; each ACU drives a single RS-485 OSDP bus carrying multiple devices — card readers, biometric readers, turnstiles and boom barriers — that multidrop onto it.Typical OSDP building deployment: a central management server connects over IP to one access control unit (ACU) per floor; each ACU drives a single RS-485 OSDP bus carrying multiple devices — card readers, biometric readers, turnstiles and boom barriers — that multidrop onto it.
Capabilities

What OSDP brings to the bus

Secure Channel

AES-128 encrypted, authenticated sessions keyed per device (SCBK) — credentials never travel in the clear.

RS-485 multidrop

A single twisted pair carries up to 126 peripheral devices over long cable runs, replacing dedicated home runs.

Supervision

The panel polls continuously, so tamper, line cuts, and lost devices surface immediately instead of going silent.

CP & PD roles

A Control Panel drives the bus while Peripheral Devices reply — a clear, deterministic communication model.

PD capabilities

Every peripheral advertises what it supports — readers, inputs, outputs, LEDs, and secure channel — so a panel can discover and adapt to each device.

File transfer support

Stream firmware images and other payloads to a device over the bus — the foundation for over-the-air updates in the field.

Managed devices

OSDP turns readers into managed endpoints — panels can identify, configure, secure, update, and control devices remotely over the same RS-485 bus.

Open & interoperable

Published by SIA as IEC 60839-11-5, so readers and panels from different vendors work together on one bus.

More than card reads

Keypads, LEDs, buzzers, biometrics, and output control — OSDP carries far more than a single credential number.

Why Osprio

OSDP is powerful.
Osprio makes it visible, testable, certifiable, and deployable.

OSDP is an open standard, but working with it has always meant bespoke scripts, borrowed lab gear, and a lot of guesswork about what's really on the wire. Osprio replaces all of that with four focused workspaces — capture the bus, emulate any device, qualify against the spec, and provision in the field. Each one takes a part of the protocol that's traditionally slow and error-prone and turns it into a repeatable, shareable workflow you can trust all the way from the bench to the field.

01

Visible

Capture live OSDP traffic and decode every command and reply as it happens. The Capture workspace shows you exactly what's on the wire.

02

Testable

Stand in as a CP or PD in software, automate card swipes, and inject faults. The Emulator workspace validates edge cases before hardware exists.

03

Certifiable

Drive a structured conformance plan against a PD. The Conformance workspace produces a detailed, repeatable compliance report.

04

Deployable

Commission PDs on site — set address and baud, then key the secure channel. The Provisioner workspace gets devices live in the field.

Who it's for

Find the Osprio that fits your job

Five ways teams work the OSDP bus — and the workspace and hardware built for each.

Products

The Osprio product line

Professional OSDP workflows, from bench to field

Two hardware platforms sit underneath one universal software product, with workspaces nested inside that software layer.

Open Source Core

Built on LibOSDP — the most popular OSDP implementation

Every Osprio product is built on top of LibOSDP, a battle-tested open-source library that handles the full SIA OSDP v2.2 protocol surface — secure channel, file transfer, multi-drop, and more.

  • Full CP and PD mode support
  • Secure channel with AES-128 and key management
  • OSDP file transfer (FT) for OTA firmware
  • Runs on Linux, RTOS, and bare-metal targets
  • Non-blocking, event-driven architecture
osdp_cp_setup.c
#include <osdp.h>

osdp_pd_info_t pd_info[] = {
    { .address = 1, .baud_rate = 9600 }
};

int command_handler(void *data, int pd_idx,
                    struct osdp_cmd *cmd) {
    // react to PD commands here
    return 0;
}

int main() {
    osdp_t *ctx = osdp_cp_setup(1, pd_info);
    osdp_cp_set_command_callback(ctx, command_handler, NULL);
    while (1) {
        osdp_cp_refresh(ctx);
    }
}
Professional Services

Built by OSDP experts. Integrated into your product.

From bare-metal firmware porting to architecture reviews, our consulting services bring our OSDP expertise directly into your products.