Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 6A322200C73 for ; Wed, 10 May 2017 17:07:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 68E89160BB4; Wed, 10 May 2017 15:07:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id B97E3160B9C for ; Wed, 10 May 2017 17:07:09 +0200 (CEST) Received: (qmail 58971 invoked by uid 500); 10 May 2017 15:07:08 -0000 Mailing-List: contact dev-help@edgent.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@edgent.apache.org Delivered-To: mailing list dev@edgent.apache.org Received: (qmail 58960 invoked by uid 99); 10 May 2017 15:07:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 May 2017 15:07:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8CAF4C151C for ; Wed, 10 May 2017 15:07:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id bzZ6KmVMCL5S for ; Wed, 10 May 2017 15:07:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 96D3060D89 for ; Wed, 10 May 2017 15:07:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E103EE0630 for ; Wed, 10 May 2017 15:07:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1E08F21E0B for ; Wed, 10 May 2017 15:07:04 +0000 (UTC) Date: Wed, 10 May 2017 15:07:04 +0000 (UTC) From: "Dale LaBossiere (JIRA)" To: dev@edgent.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (EDGENT-411) enhance connectors.serial - missing things? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 10 May 2017 15:07:10 -0000 Dale LaBossiere created EDGENT-411: -------------------------------------- Summary: enhance connectors.serial - missing things? Key: EDGENT-411 URL: https://issues.apache.org/jira/browse/EDGENT-411 Project: Edgent Issue Type: Improvement Components: Connectors Reporter: Dale LaBossiere Serial connector seems to be adding a bit of structure for a cmd request/response protocol to a SerialDevice that's attached to a system via a SerialPort. It's hard to make sense of it until seeing it used in samples.connectors.elm327.Elm327Streams (and elm327.runtime) and sample.connectors.odb2.Obd2Streams - that is, a particular cmd request/response protocol to a device connected via a serial port. And there's no sample implementation of SerialDevice or SerialPort in the repo. At a high level it strikes me that the SerialConnector should offer a general SerialDeviceStreams at the conceptual level of the of Elm327Streams. And we really need some doc (or sample) of a SerialDevice/SerialPort. And what about a non-periodic (non-poll) form of non-static cmd list invocation? e.g., sending commands in a TStream - something like {{static TStream sendCommands(SerialDevice, TStream)}}. And maybe there are other forms of use of a serial device - e.g., maybe the device/port just emits records on its own, not a bounded response to a "cmd". -- This message was sent by Atlassian JIRA (v6.3.15#6346)