Skip to content

Instantly share code, notes, and snippets.

@klali
klali / convert.c
Last active May 10, 2022 10:59
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 */