GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deck-astm/README.md at main · deckyard/deck-astm

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
74 lines (55 loc) · 2.83 KB
/

README.md

Copy path

File metadata and controls

74 lines (55 loc) · 2.83 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

@deckyard/astm

test Documentation release

The ASTM™ protocol of clinical laboratory instruments for Jennifer programs: ASTM E1381 / E1394, now CLSI™ LIS01-A2 (the low-level link) and LIS02-A2 (the records). Parse and build records and messages; read results, orders and host queries; answer queries with orders; and move messages over TCP or a serial port with the LIS01 handshake, framing, checksums, retries, timers and contention, for a LIS or for an instrument simulator. Strict: a damaged frame is refused with NAK, records that break LIS02 are an error, and a device that differs from the standard in a documented way gets a Profile, not leniency.

Documentation

Install

jvc add @deckyard/astm

This vendors the deck to vendor/<scope>/astm/. Without jvc, unpack the src/ subtree of a release archive (<scope>-astm-<version>.tar.gz) there.

Usage

use io;

import "@deckyard/astm/" as astm;

def link as astm.Link init astm.accept(astm.listen(":4001"), astm.profile());
for (def m in astm.receive($link, 60000)) {
    for (def r in astm.results($m)) {
        io.printf("%s %s = %s %s\n", $r.sampleId, $r.test, $r.value, $r.units);
    }
}
astm.close($link);

Requirements

Jennifer 0.28.0 or newer and the default jennifer binary: the deck needs net, which the stock jennifer-tiny lacks. A serial port needs Linux™.

Development

tools/check-all.sh                   # the full gate, as CI runs it
jennifer test src/astm_test.j        # the tests, against a scripted peer
tools/check-docs.sh                  # docs against the code
tools/pack.sh dist                   # build the release archive

Trademarks

ASTM™ is a trademark of the American Society for Testing and Materials (ASTM International). CLSI™ is a trademark of the Clinical and Laboratory Standards Institute, Inc. Linux™ is a trademark of Linus Torvalds. Other product and company names may be trademarks of their respective owners. They are used only to identify the standards and products this deck works with. This deck is an independent project, not affiliated with, sponsored or endorsed by the American Society for Testing and Materials or the Clinical and Laboratory Standards Institute, Inc.

Licence

LGPL-3.0-only, see LICENSE. Copyright (C) 2026 mplx <[email protected]>.

tools/check-headers.sh checks every source file's SPDX header against deck.toml.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.