finds.dev

boundarydevices/libmdi2300

Library for Opticon MDI-2300 Barcode scanner

View on GitHub

★ 1CNOASSERTIONupdated Jan 2017

// the take

A minimal C library wrapping serial communication with the Opticon MDI-2300 barcode scanner. Three-function API: init, close, scan. For embedded Linux systems (the example device path `/dev/ttymxc2` is an i.MX serial port, so this is squarely aimed at embedded boards).

Clean, minimal API surface — three functions is the right scope for this problem. Cross-compilation support is baked in via CC override, which is exactly what embedded projects need. LGPL license means you can link it into commercial firmware without opening your whole codebase.

One star, zero forks, last touched in 2017 — effectively abandoned. No error codes or documentation beyond the README, so when `mdi2300_scan` returns -1 you're reading source. Hardcodes assumptions about the serial config (baud rate, parity, stop bits) without exposing them, which breaks if your scanner is configured differently. No async or timeout handling — a hung scanner blocks your thread indefinitely.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1
Forks
0
Language
C
License
NOASSERTION
Last commit
23 Jan 2017

// nearby

If libmdi2300 isn't quite it.

All repos →