From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6CwGK47xu2EyMgEAgWs5BA (envelope-from ) for ; Fri, 17 Dec 2021 03:10:22 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SLDHJo7xu2EHfwAAB5/wlQ (envelope-from ) for ; Fri, 17 Dec 2021 02:10:22 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 5BB7635936 for ; Fri, 17 Dec 2021 03:10:22 +0100 (CET) Received: from localhost ([::1]:60632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1my2hR-0001rj-Io for larch@yhetil.org; Thu, 16 Dec 2021 21:10:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1my2fC-0007J8-JE for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1my2fC-00008u-AC for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1my2fC-0005KP-5d for guix-patches@gnu.org; Thu, 16 Dec 2021 21:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v5 41/45] gnu: Add node-serialport-parser-inter-byte-timeout. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Dec 2021 02:08: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 , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.163970685020402 (code B ref 51838); Fri, 17 Dec 2021 02:08:02 +0000 Received: (at 51838) by debbugs.gnu.org; 17 Dec 2021 02:07:30 +0000 Received: from localhost ([127.0.0.1]:37421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2ef-0005Iu-Te for submit@debbugs.gnu.org; Thu, 16 Dec 2021 21:07:30 -0500 Received: from mail-qt1-f172.google.com ([209.85.160.172]:37500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1my2dr-0005Et-8y for 51838@debbugs.gnu.org; Thu, 16 Dec 2021 21:06:39 -0500 Received: by mail-qt1-f172.google.com with SMTP id f20so1208697qtb.4 for <51838@debbugs.gnu.org>; Thu, 16 Dec 2021 18:06:39 -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=vO4LftcU3XKjrbn1ROp6zfmoctxy3q8nMPW3EUtlHEE=; b=SMSB10jYC1XfF9gO7Wjlbmc5c4qOtqcZ8m2Ah1upvMMPij3OvACeEaxKbAPYJ3woO7 TsmY9LQ+ifPotiSbAuPjUb4clB54h40wiAG5d2Aoi1XvXLClFB8On0xo79LdOj+ba9FM fJ2L3YQ9CCHFn7pSa210y7POdR0DLO1O/dHMvzEH1r9BEripxjNfG+DM9Wlr64mkH3IM HOA+90+lF1dAIgoDIbR4iRJn9wYvm5ZVDGCLX6VIaRcPdghkvax+Doy3O6TNH/itHtd2 knm0mrY7Qmjw27QPDTqLn5nGf7IXzAF55nfSrXQ9TNWM4/Mnoxr1oQz7B7LQCm0TFcPC 4Ezg== 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=vO4LftcU3XKjrbn1ROp6zfmoctxy3q8nMPW3EUtlHEE=; b=jrqiW/OMrHIgxAh9MSmNMZq51QbhIGWAmIVBtOHS1eULBoUpwB7hFmfpLb6puItlcW V6pQ104mnws7VUT2PcNW1FNr8oAPDreac/vgjoz+u8+EAd9CgWV98cPf7jDSs9gjPCn5 tWIH5PV+t1XuyBOVSBGcbqubBosaxEwWRn4dfogvutzrWmlaUXYzH/qkYPepzKJx3xuk WUUBqt6VRXkVuU3J32dYewFx81IyGNr9b4ZIPKL1wx2ef/e9/CzqB1fyA0BilrbxEnKU bm43LfVO87CNKZ4+39kcn6emnVltBTLG0G1zDalpZd/zCO3qooCHtrKA30HuSlOFmmk8 eQnA== X-Gm-Message-State: AOAM530Ilu3yclo74b0J/0eEatzjUJiHJPAwl6CXl+zkNz4oeiRQsN8V QcRQe94j0UQiQODf7GczPDyT4mqKxIORBpMYArA= X-Google-Smtp-Source: ABdhPJz006EXvLzxRof36Wb2xgJhWL0RXmFuTtZP7lNuVMS76u60u17dSs88sLgBhakcXK4dqgxedA== X-Received: by 2002:a05:622a:649:: with SMTP id a9mr686648qtb.229.1639706793841; Thu, 16 Dec 2021 18:06:33 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id x24sm3736055qkm.135.2021.12.16.18.06.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Dec 2021 18:06:33 -0800 (PST) From: Philip McGrath Date: Thu, 16 Dec 2021 21:03:21 -0500 Message-Id: <20211217020325.520821-42-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211217020325.520821-1-philip@philipmcgrath.com> References: <20211213060107.129223-1-philip@philipmcgrath.com> <20211217020325.520821-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=1639707022; 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=vO4LftcU3XKjrbn1ROp6zfmoctxy3q8nMPW3EUtlHEE=; b=EpjqO/LQGa3e2tmXVY5osoXXU8+/s/JyDBtyGMG+5ERZAbR9x2/NDyBEFh0k5STgQ04TjO rbt0/LmFDIChfWK9qo22/ybiocE7CEGHF5PvTWtJ+UfcZqOlGNWars9VuG+5It+gVYcqHk s3NaCXrZd2xbqdhjIq4h12fXMujbiiXlxAynaEpH1mJqa+HcVSstsEwBAf7zTUZaB57psX dR0exhJVPCLRTUVbVhY2N7i+ozSjDGpfJDRAPaSOLeYtAFgVuHvAmX5QHWOg65cY1Ypn9I 7N7DyWrJ5t5aYud61KyzZbAsG/wtJ8b9nJ139oLG37v3AgVcpzdUF1nV/74McA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639707022; a=rsa-sha256; cv=none; b=D+EMwPQOk3oWpDHiFRhiF4DK/kgDggz1LTKb8Uh443rVauMwiydEsNhSboQLLsnWpTTO8p cPlwfnfXiVklhjKZ0eVzktt/uOmTV7qb3iPU0pjlJFdLqAsFpIX6jlUiDWJsUDtHU5HIEB 7o/BteG5+FV5h/wFUwRDRSU4p1ReWJT7OVwdKBcJyhNtEyaIh/goG5ZLotaRp07VnKpN4S /U0kp9jx7SHHNqFpeD/Y30AO7ckiv2MoThzD1UADjH9G0CDUIt5nfQKpMcCVqdg6NsMAHP 2txDrk3cjrYKFIAIaZJYg4QE63Ablu4UVtpXn2JU9TNT70KhMg8ijId44bagew== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=SMSB10jY; dmarc=none; spf=pass (aspmx2.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.49 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=SMSB10jY; dmarc=none; spf=pass (aspmx2.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: 5BB7635936 X-Spam-Score: -0.49 X-Migadu-Scanner: scn0.migadu.com X-TUID: TTeqS1R/2t6H * 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 412bb0a3bb..405bb92327 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -1152,3 +1152,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