Skip to content

Instantly share code, notes, and snippets.

@klali
klali / convert.c
Last active March 30, 2026 11:19
Convert a 7 byte Mifare UID to access control system formats (RCO, ESMI, RFIDeas and OnGuard)
/* Copyright (c) 2020 Yubico AB. */
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <ctype.h>
/* This small program takes in a 7 byte NFC UID and converts to format
* needed for access control systems. This is implemented for the esmi,
* RCO, RFIDeas and OnGuard systems */