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 9FABB200C0D for ; Tue, 31 Jan 2017 19:44:34 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 9E5B7160B52; Tue, 31 Jan 2017 18:44:34 +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 E79D3160B36 for ; Tue, 31 Jan 2017 19:44:33 +0100 (CET) Received: (qmail 61858 invoked by uid 500); 31 Jan 2017 18:44:32 -0000 Mailing-List: contact general-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: general@incubator.apache.org Delivered-To: mailing list general@incubator.apache.org Received: (qmail 61839 invoked by uid 99); 31 Jan 2017 18:44:32 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2017 18:44:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 1CB491A04EC for ; Tue, 31 Jan 2017 18:44:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tsPIYln0psqh for ; Tue, 31 Jan 2017 18:44:31 +0000 (UTC) Received: from mail-lf0-f43.google.com (mail-lf0-f43.google.com [209.85.215.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 858EE5F30D for ; Tue, 31 Jan 2017 18:44:30 +0000 (UTC) Received: by mail-lf0-f43.google.com with SMTP id n124so215835936lfd.2 for ; Tue, 31 Jan 2017 10:44:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=vZ0xmB2iVDveFUovdvvmfWPznb7fHSe9tdAirC1sYck=; b=AWTp+X6z9vHhxD908MHgXUol59jXA8+vNpdd4HEjb7NurwGqu7702aEY1SmhDLMEfE 2gRCTsHtSSu+pC/hsJlZyhh5ezRQIdbB8DN8s64hG98O+bTLOyXgUGYzL2l7K2d1N1T2 +UrBdDGhYgdnpVJN7aN7yzoV0OIrXhEmBsSIsHZmT3J5KTbacdCZvSewXgQFvYTZoZh4 ZRCXuIFQ8qD6bCOJNr210SJMu8QLdjB0rBBa/Ws4bP5btvcqq4Fm6EWFSBYXssv0VgjT gkwfA8thoiXJKHKWAL3aa8knsCJuUFW2RIhiD4+tDe7JvypvxB91zGB9eJyROPi+MKqY YYxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=vZ0xmB2iVDveFUovdvvmfWPznb7fHSe9tdAirC1sYck=; b=uOoOUKjYo8dURdPlJvmPIrmDBtKNlfhnYizbMChVjozHoOkjGYL9/4eLMtKK2Sj2+B y54Cfgyc4Fmlh5tG6vE0wiEvwbTzEAe13054i4CPu5UuLwqf2sgkr03RxdER4+OWgkr6 +uoxeIp2c4UFYbfgG117GJKK9+orZqYv7gqhr/xw1nzGgKs+69b79VnEBUXdhxZpmIPp Qu1NgmaW0Ix9Wx/VZPNmgjgmmmqBYCZOZ6WORDueVYzcg6kcmo5WoXGoDVZMG4JhOj6q qNKAUoaT0vjs47KL3AuhqbNzW+9FDdOROvL2/KoCDGp/Fc5RSCqf/kItgvixu3hQMuOp qNqw== X-Gm-Message-State: AIkVDXJ0nFYatiZbvn3y9gqkRPHGiqaTKGOA4+v1wVf+mm8meGBl/zZO7mnQbjX88J+tbul/0MyU8AUWhgO07A== X-Received: by 10.25.18.218 with SMTP id 87mr8461271lfs.128.1485888269042; Tue, 31 Jan 2017 10:44:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.17.65 with HTTP; Tue, 31 Jan 2017 10:44:28 -0800 (PST) In-Reply-To: References: From: Edward Capriolo Date: Tue, 31 Jan 2017 13:44:28 -0500 Message-ID: Subject: Re: [DISCUSS] new incubator project Apache IOT To: general@incubator.apache.org, davidb@apache.org Content-Type: multipart/alternative; boundary=001a1140650273cc21054768523c archived-at: Tue, 31 Jan 2017 18:44:34 -0000 --001a1140650273cc21054768523c Content-Type: text/plain; charset=UTF-8 On Tue, Jan 31, 2017 at 11:40 AM, wrote: > Hi all, > > Sounds quite interesting :) It might also be an idea to provide a home for > implementations of other hardware that can drive GPIO pins and can control > similar sensors and other devices. I'm thinking of an Arduino, or something > like an ESP8266. These are devices that are much simpler (and cheaper) than > a Raspberry Pi, but if you are just building a sensor or a simple switch > they are often quite useful. > > Would that fit with a project like this as well? > > Cheers, > > David > David, It is my understanding that what this project would produce would be device independent. In Unix operating systems devices are files. For the I2C bus the device id would /dev/i2c-0.(I do not believe this would be different on a PI vs and Arduino). My goal is to produce Apache licensed libraries like this here: https://blogs.oracle.com/acaicedo/resource/RPi-HOL/GPIOTest.java Namely: final GpioController gpio = GpioFactory.getInstance(); final GpioPinDigitalOutput led1 = gpio.provisionDigitalOutputPin(RaspiPin.GPIO_00); // continuously blink the led every 1/2 second for 15 seconds led1.blink(500, 15000); However, if people are open to device driver implementations (I would assume these would be BSD drivers) I think that is an interesting direction and I know of some FreeBSD user groups that might be interested in getting involved. Thanks, Edward --001a1140650273cc21054768523c--