Re: [6lowapp] Really we need for HTTP on smart devices?

"Don Sturek" <d.sturek@att.net> Fri, 30 October 2009 13:13 UTC

Return-Path: <d.sturek@att.net>
X-Original-To: 6lowapp@core3.amsl.com
Delivered-To: 6lowapp@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A3C743A681A for <6lowapp@core3.amsl.com>; Fri, 30 Oct 2009 06:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.229
X-Spam-Level: *
X-Spam-Status: No, score=1.229 tagged_above=-999 required=5 tests=[AWL=0.555, BAYES_05=-1.11, IP_NOT_FRIENDLY=0.334, MSGID_MULTIPLE_AT=1.449, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h5OXSBWbONE2 for <6lowapp@core3.amsl.com>; Fri, 30 Oct 2009 06:13:47 -0700 (PDT)
Received: from smtp104.sbc.mail.gq1.yahoo.com (smtp104.sbc.mail.gq1.yahoo.com [67.195.15.63]) by core3.amsl.com (Postfix) with SMTP id CC0323A6817 for <6lowapp@ietf.org>; Fri, 30 Oct 2009 06:13:47 -0700 (PDT)
Received: (qmail 81595 invoked from network); 30 Oct 2009 13:14:02 -0000
Received: from adsl-69-224-190-125.dsl.sndg02.pacbell.net (d.sturek@69.224.190.125 with login) by smtp104.sbc.mail.gq1.yahoo.com with SMTP; 30 Oct 2009 06:14:02 -0700 PDT
X-Yahoo-SMTP: fvjol_aswBAraSJvMLe2r1XTzhBhbFxY8q8c3jo-
X-YMail-OSG: gZz3l6MVM1mOt5Nm.4e35Y4Fp3DYww7aAfsNKwn9vDo5lOParpOCC4UytKOYclAYMWojYQzyRRN8s05v7GO4iN1mqf8W7RK6Glwb.pToF6SaTKHtAKk2VkxEJDUbt_.n.Wr.6K.nGalNZVtJL.65dLSd9lFxvSZj_JFgd_ROta6Ti5gDAbj56RHuk6qOyjPfzFfxZ.X7z5T9Cpz4VD_RNpTaeQOU8EN_1NMAi._yBjK5FWz7HU3z4.2EMlfZMZjh0QDa9TZ2QAeX2v9hok_9339y63Ig2wqDJvlhqnHJ1MmXTLotyfI-
X-Yahoo-Newman-Property: ymail-3
From: "Don Sturek" <d.sturek@att.net>
To: "'Adriano Pezzuto \(apezzuto\)'" <apezzuto@cisco.com>, <6lowapp@ietf.org>
References: <0D212BD466921646B58854FB79092CEC8E8644@XMB-AMS-106.cisco.com>
In-Reply-To: <0D212BD466921646B58854FB79092CEC8E8644@XMB-AMS-106.cisco.com>
Date: Fri, 30 Oct 2009 06:13:58 -0700
Message-ID: <007501ca5962$d7e3d460$87ab7d20$@sturek@att.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AcpZWODfOIlfPZ/8SOKnR5dwHmOf1wACWbIg
Content-Language: en-us
Subject: Re: [6lowapp] Really we need for HTTP on smart devices?
X-BeenThere: 6lowapp@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: d.sturek@att.net
List-Id: Application protocols for constrained nodes and networks <6lowapp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lowapp>
List-Post: <mailto:6lowapp@ietf.org>
List-Help: <mailto:6lowapp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lowapp>, <mailto:6lowapp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Oct 2009 13:13:48 -0000

Hi Adriano,

We spent some time looking at the options for message exchange in Smart
Energy V2.  We knew we would be using self describing data (XML most likely)
and looked at the technologies that would allow the best integration with
existing internet/web solutions (basically trying to avoid a proprietary
binary protocol if we could).

I agree full HTTP would be too heavy on a small device.  However, using a
minimal set of HTTP features and a REST data exchange paradigm seemed to be
the most elegant solution.  I don't expect each device to host a web server
but I would expect some devices to do so  It just seemed that if we could
align on a known, deployed standard, adapted for small devices, we would
gain a lot in adoption.

Don


-----Original Message-----
From: 6lowapp-bounces@ietf.org [mailto:6lowapp-bounces@ietf.org] On Behalf
Of Adriano Pezzuto (apezzuto)
Sent: Friday, October 30, 2009 5:03 AM
To: 6lowapp@ietf.org
Subject: [6lowapp] Really we need for HTTP on smart devices?

Hello,
there is a lot effort to push HTTP and REST interfaces on smart objects
assuming that smart devices (sensor/actuators/readers) should act as Web
providers. On the other side, 6lowpan and other wireless sensor networks
are made by resource-constrained embedded devices so HTTP looks like too
resource expensive.

We are seeing a lot of proxying and gatewaying solutions to bring HTTP
and REST on the 6lowpan devices. But working with gateways and proxies
are always struggling especially at application level. My question here
is why we need to bring HTTP on smart objects?

Smart objects interact with the Internet as they like (and can) as
humans do. Humans type on a computer keyboard or play in front of the
iPhone camera while Things send sensing data or get commands to act on
the real world. Humans do not have an embedded HTTP server even if the
results of their actions (i.e. typing on a keyboard and playing in front
of a camera) are available as Web resources. In the same way, Things do
not need for an embedded HTTP server. Things interact with the Internet
using a lightweight protocol while the results of their interaction are
available on the Web as resources. It is a sort of "information shadow"
data that Things have on the Web. This data will be collected in a
suitable manner for the resource-constrained embedded devices and make
available as Web resource with HTTP and REST interfaces.

What do you think about it?

Regards,
Adriano


_______________________________________________
6lowapp mailing list
6lowapp@ietf.org
https://www.ietf.org/mailman/listinfo/6lowapp