bthnycl / tinyos-main

Automatically exported from code.google.com/p/tinyos-main
0 stars 0 forks source link

Enhancement: Coap Resources for controlling TelosB GIOs #128

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Attached you'll find two CoAP resources I've written, that allow you to control 
the GIO pins of TelosB platform.

The "CoapDevResource" allows you to control a single pin (the one you wire it 
with in CoapBlipC).

The "CoapGIOResource" allows you to control GIO0, GIO1, GIO2 and GIO3 
all-together via a bitmask (similarly to the way "CoapLedResource" is 
controlled)

Find attached the following:
CoapBlipC, CoapBlipP, CoapDevResourceC, CoapDevResourceP,
CoapGIOResourceC, CoapGIOResourceP, Makefile for CoapBlipC application and the 
tinyos_coap_resources.h

Original issue reported on code.google.com by aggel...@gmail.com on 20 Mar 2012 at 7:37

Attachments:

GoogleCodeExporter commented 9 years ago
This actually an enhancement, not a defect. Apologies for bad use of Google 
Code; new to it..

Original comment by aggel...@gmail.com on 20 Mar 2012 at 7:40

GoogleCodeExporter commented 9 years ago
I fixed some bugs. The main change is that instead of using .Port20 for GIO0
and .Port21 for GIO1, now .Port63 and .Port62 are used
correspondingly.

Attached you can find all relevant source files.

Original comment by aggel...@gmail.com on 23 Mar 2012 at 3:34

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by marku...@gmail.com on 23 Mar 2012 at 5:36

GoogleCodeExporter commented 9 years ago

Original comment by marku...@gmail.com on 25 Mar 2012 at 11:32

GoogleCodeExporter commented 9 years ago
Some preliminary code is available in 
http://www.comnets.uni-bremen.de/~mab/git/tinyos-main.git, which will get 
merged after 2.1 is out the door.

Original comment by marku...@gmail.com on 25 Mar 2012 at 12:55