Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

"Could Face" for Contiki devices (git submodule of contiki-projects)

Notifications You must be signed in to change notification settings

errordeveloper/contiki-cloud-face

Repository files navigation

The Cloud Face for Wireless Smart Objects


This repository is intended to hold all dependencies for any code that is required to build robust services and interfaces to what's now called "the cloud", also known as the WWW. The "Smart Objects" are refered to what is often titled "wireless sensor nodes" that leads to the term "Internet of Things". This said to explain why have I picked such a title - "The Cloud Face for Wireless Smart Objects".

In terms of what exactly is here, I have started by creating a separate repository for some of the things that have started to take shape in my contiki-projects repository. So I needed a separate place to put the JavaScript and Node.js stuff into, as I am intending to work on something which would integrate with my Contiki projects, however it's probably going to be a collection of different things.

Directories:

Installation:

This repository is currently intended to be installed as submodule of git://github.com/errordeveloper/contiki-projects.git as cloud-face in the top-level directory, while contiki-projects is intended as submodule of Contiki tree (as projects in top-level directory). To fetch all of the dependencies, please run make update.

Notes:

I might remove the word Contiki from the title, but it is currently my favourite OS for those "Smart Objects". Well, if I or anyone else gets around porting TinyOS to MC1322x platform, I could probably switch over.

Parts


lib_ui.js

A small JavaScript to use with tiny web servers, the idea is to pass a minimum size of HTML code to the browser, point it to a short URL with JavaScript source and call just one function that will pass a piece of JSON-formated data to the client which will generate a pretty page with extra features if desired.

I have started by trying out Handlebars, but now I have no plans for using any silly templates, I am currently working on a decent implementaion with JQuery.

nginx

Here will be a collection of nginx configs. One to start with is a IPv6 proxy for fake-local Pachube API server, that is to avoid tunnelling IPv6 over IPv4. Additionally it provides a local logging facility, which is very handy for any debugging or whatever. Perhaps we could also shorten URLs and do anything else whatever it is good for :)

I find it quite handy to have this line in the /etc/sudoers:

        errordeveloper    ALL=(ALL) NOPASSWD: /usr/sbin/nginx

I also define this alias (Csh syntax):

        alias nginx sudo /usr/sbin/nginx -p `pwd`/

About

"Could Face" for Contiki devices (git submodule of contiki-projects)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published