From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0JUQKh1Q2WHGUgAAgWs5BA (envelope-from ) for ; Sat, 08 Jan 2022 09:49:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WBx4Jx1Q2WE6RgEA9RJhRA (envelope-from ) for ; Sat, 08 Jan 2022 09:49:33 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3FF6343491 for ; Sat, 8 Jan 2022 09:49:33 +0100 (CET) Received: from localhost ([::1]:48168 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n67Po-0000Kd-Ec for larch@yhetil.org; Sat, 08 Jan 2022 03:49:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n67NP-0005KG-5Z for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53539) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n67NO-0004oC-TE for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n67NO-00010J-So for guix-patches@gnu.org; Sat, 08 Jan 2022 03:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v9 37/41] gnu: Add node-serialport-parser-inter-byte-timeout. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 08 Jan 2022 08:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Philip McGrath , Pierre Langlois , Liliana Marie Prikler , Leo Famulari , Jelle Licht Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16416315833730 (code B ref 51838); Sat, 08 Jan 2022 08:47:02 +0000 Received: (at 51838) by debbugs.gnu.org; 8 Jan 2022 08:46:23 +0000 Received: from localhost ([127.0.0.1]:46427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67Ml-0000y4-7N for submit@debbugs.gnu.org; Sat, 08 Jan 2022 03:46:23 -0500 Received: from mail-qv1-f49.google.com ([209.85.219.49]:45679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n67Mk-0000xc-3F for 51838@debbugs.gnu.org; Sat, 08 Jan 2022 03:46:22 -0500 Received: by mail-qv1-f49.google.com with SMTP id a9so7929309qvd.12 for <51838@debbugs.gnu.org>; Sat, 08 Jan 2022 00:46:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eeklUSEPe0r+7Zm49X/xxPvaQdGpE2Lq3bZmyPu/CJI=; b=BJAW9B0I+CuLvhCPOnA8EwS1XCthYlKem+K3oUbcPKGY1sB9Ks9XR2M/rTXGfa/y4k RvukLYEBvj+z+P3TOzCaabFjA/PHnJGwPvoc3MODKeRKP5GQ3IZVw90e048Y9w7ChSfY 5XDvOr1Xl3CyARcFoygVJKz1rt81Qew4vjMEj7rowKAdWV8Ye+M1kFlFy96D/+y0MiYD v6Xpjpf+toNJueJOsYYs7ilGElmSr8jjrzoo51NPAYBZQzLfsSdHXsBkeb0zcDaDPXpy tTw4MmVZD00DH2ZyCbQiq3je6aziKMdZI1+dDpUG1p8U/NzIDoPmFJ1C1Lb+TfbMZAq8 UEDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eeklUSEPe0r+7Zm49X/xxPvaQdGpE2Lq3bZmyPu/CJI=; b=w8H4314UxLLhRIgoRhzbl6rYFk2FhunpmO6Uqpep50sSObuj1FqhKl954X/1iXcg1Y 1/3eNUbZ5yBmHi/wWBhN4A6of+AYRWE4ZSOYfQzzgeIF7wB9i/BapBSs6p5FwLoMU7co loBt/u/0PXA2PmMT7WIWjG02puL27026X0acGJCV2CEvEYd7q6U3mSrGn7igCuEYkvS4 IEpWtup5NS58C+tRcF+jlsm9i9LZj+w2uEZmCrUdDQPk39noH9lULE5mjN98Hvu7C1qD 6mkAhBEql3wplwsD9+yS6Kqz+LrnyV25BXGF0646xkw4REa3Q15cuS+GeeS1cUM6k0Ex 0q7A== X-Gm-Message-State: AOAM531kpcxWml8OaGK9Axp2z1lvDjpOOm9fUS50YsvtyI71FH6OqcZo SepaFu4nkeMe3skd5ALQYJ7r3S+nu9SFPlaV X-Google-Smtp-Source: ABdhPJy9+QDRAVwhKib7XBazyCbDG7g/zPb3SWACRT61H/Q+XjbapbYN6ZDUIfV1aCXbbF+ghWWbkA== X-Received: by 2002:a05:6214:19cd:: with SMTP id j13mr8095268qvc.88.1641631576666; Sat, 08 Jan 2022 00:46:16 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id f4sm726037qkp.14.2022.01.08.00.46.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Jan 2022 00:46:16 -0800 (PST) From: Philip McGrath Date: Sat, 8 Jan 2022 03:42:25 -0500 Message-Id: <20220108084229.362642-38-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220108084229.362642-1-philip@philipmcgrath.com> References: <64e08d3a1838ed8507f33fae895545372960522f.camel@gmail.com> <7b04af28bbd57c67093ce8f33a648efec89693bd.camel@gmail.com> <441bfeb0-eb6e-81f6-488b-cdf1b09a78ef@philipmcgrath.com> <20220108084229.362642-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641631773; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eeklUSEPe0r+7Zm49X/xxPvaQdGpE2Lq3bZmyPu/CJI=; b=kzK+mgwV2XMa5JVGOhkjqKCdA98hUW8hY2ANlaI1zkpFKlbMdRIHKslhoM/kg6OKnHqS/8 tjDheMXolq9tpiL+HDRo2C4XYdlm3ZoijNOWEfJQKbSQ8Nyb7QwA1R0OQQMAqRGQXYTbY7 cPRRAawl1xSJ4aYy1e6UwzawJmUlYX5vhPY9tR3bALVXHSjsYc2atE4OVy42hgZuV7ckWv WVAfPtTf8ka7dXUeqqi6khmk7478Mf/YJMFAKmXmGp3Lt+IxXdlvFLcaIEcHbjA8bXIKgH qgQ5KoDeQoIFM3tR12AqXs8s02MMwXoRn/puHW3nzkWdLc99pqEemuZoLf8rwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641631773; a=rsa-sha256; cv=none; b=CNUgXtPfs87h2TZs9X6yawZWNsaDon/VCrncOwHi3aC2XC/nHVMiz87w+1RXnC7N1Il0kZ isM5J9i23JU4roWXbBV5zB9a03RE1mmW3PxPmABPg6hrGH2jdzS84+wLzPViqyX1QbcH/A 9a5LMk9zZfilZm0NNZCzRao6VBQkCDD/QqyjCMj4+A0x8dNSVBpwoXeLkCtF2iyQeql0K6 QzDXX4sLNNi1cra5SUI1HaF+LWniiIUyT2jhJjZUIWFR6eSyFIZ2qd1LL6ctXtVWpWggwl 3ZynYT5KTqf0IHysh9jMsidzPiTmF0d6lCwvABHs7Vu4HYYAU21HCxtLBYb9jQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=BJAW9B0I; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 0.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=BJAW9B0I; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3FF6343491 X-Spam-Score: 0.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: egEHKK9zWGgo * gnu/packages/node-xyz.scm (node-serialport-parser-inter-byte-timeout): New variable. --- gnu/packages/node-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 3d172e13b8..4384cd7326 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1208,3 +1208,25 @@ (define-public node-serialport-parser-ready messages. This package provides @code{Ready}, a parser that waits for a specified sequence of ``ready'' bytes before emitting a ready event and emitting data events."))) + +(define-public node-serialport-parser-inter-byte-timeout + (package + (inherit node-serialport-binding-abstract) + (name "node-serialport-parser-inter-byte-timeout") + (version "9.2.4") + (inputs `()) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "packages/parser-inter-byte-timeout")))) + #:tests? #f)) + (synopsis "Node SerialPort parser to detect pauses in data") + (description "Node SerialPort is a modular suite of Node.js packages for +accessing serial ports. The Guix package @code{node-serialport} provides the +recommended high-level interface. + +Parsers are used to take raw binary data and transform them into usable +messages. This package provides @code{InterByteTimeout}, a parser that emits +data if there is a pause between packets for the specified amount of time."))) -- 2.32.0