Update to markdown
- Spellchecking - Update plain text to github markdown
This commit is contained in:
parent
f8edbbb8d2
commit
7b40a568a6
73 changed files with 1826 additions and 1574 deletions
|
@ -1,50 +0,0 @@
|
|||
Sensinode platform example and test applications
|
||||
- by Zach Shelby (zach@sensinode.com)
|
||||
|
||||
Some more examples by George Oikonomou - Loughborough University
|
||||
cc2431-location-engine, udp-ipv6, broadcast-rime
|
||||
blink-hello, event-post, timer-test
|
||||
<oikonomou@users.sourceforge.net>
|
||||
|
||||
This directory contains example and test applications for
|
||||
Sensinode CC2430 based devices. By default it is set to use the
|
||||
sensinode platform:
|
||||
|
||||
/platform/sensinode
|
||||
/cpu/cc2430
|
||||
|
||||
To build an application:
|
||||
|
||||
make [app_name]
|
||||
make hello_world
|
||||
|
||||
To build and upload an application using the Sensinode nano_programmer
|
||||
included under /tools (default /dev/ttyUSB0):
|
||||
|
||||
make [app_name].upload
|
||||
make hello_world.upload
|
||||
|
||||
To dump the serial port output (default /dev/ttyUSB0):
|
||||
|
||||
make sensinode.serialdump
|
||||
|
||||
To configure the hardware model, you can include a make option e.g. for
|
||||
the N601 (N100 is assumed by default):
|
||||
|
||||
make hello_world DEFINES=MODEL_N601
|
||||
|
||||
These make options are defined in /platform/sensinode/Makefile.sensinode
|
||||
|
||||
Descriptions of applications:
|
||||
udp-ipv6 UDP client-server example over uIPv6. Uses link-local and global
|
||||
addresses. Button 1 on the client will send an echo request.
|
||||
broadcast-rime Just a broadcast rime example, slightly modified
|
||||
sensors Demonstrating button and ADC functionality
|
||||
cc2431-location-engine
|
||||
Example demonstrating the usage cc2431 location engine (blind node)
|
||||
N.B. Not all sensinode devides have a cc2431
|
||||
event-post Demonstrating the interaction between two processes with custom events
|
||||
blink-hello Hello World with LED blinking.
|
||||
timer-test Same as clock_test above + testing the rtimer-arch code
|
||||
border-router 802.15.4 to SLIP bridge example. The node will forward packets
|
||||
from the 15.4 network to its UART (and thus a connected PC over SLIP)
|
60
examples/sensinode/README.markdown
Normal file
60
examples/sensinode/README.markdown
Normal file
|
@ -0,0 +1,60 @@
|
|||
Sensinode platform example and test applications
|
||||
================================================
|
||||
|
||||
by Zach Shelby <zach@sensinode.com>
|
||||
|
||||
Some more examples by George Oikonomou <oikonomou@users.sourceforge.net> -
|
||||
Loughborough University
|
||||
|
||||
cc2431-location-engine, udp-ipv6, broadcast-rime blink-hello, event-post,
|
||||
timer-test
|
||||
|
||||
This directory contains example and test applications for Sensinode CC2430
|
||||
based devices. By default it is set to use the sensinode platform:
|
||||
|
||||
/platform/sensinode
|
||||
/cpu/cc2430
|
||||
|
||||
To build an application:
|
||||
|
||||
make [app_name]
|
||||
make hello_world
|
||||
|
||||
To build and upload an application using the Sensinode nano_programmer included
|
||||
under /tools (default /dev/ttyUSB0):
|
||||
|
||||
make [app_name].upload
|
||||
make hello_world.upload
|
||||
|
||||
To dump the serial port output (default /dev/ttyUSB0):
|
||||
|
||||
make sensinode.serialdump
|
||||
|
||||
To configure the hardware model, you can include a make option e.g. for the
|
||||
N601 (N100 is assumed by default):
|
||||
|
||||
make hello_world DEFINES=MODEL_N601
|
||||
|
||||
These make options are defined in /platform/sensinode/Makefile.sensinode
|
||||
|
||||
Descriptions of applications:
|
||||
|
||||
- udp-ipv6: UDP client-server example over uIPv6. Uses link-local and global
|
||||
addresses. Button 1 on the client will send an echo request.
|
||||
|
||||
- broadcast-rime: Just a broadcast rime example, slightly modified
|
||||
|
||||
- sensors: Demonstrating button and ADC functionality
|
||||
|
||||
- cc2431-location-engine: Example demonstrating the usage cc2431 location
|
||||
engine (blind node) N.B. Not all sensinode devides have a cc2431
|
||||
|
||||
- event-post: Demonstrating the interaction between two processes with custom
|
||||
events
|
||||
|
||||
- blink-hello: Hello World with LED blinking.
|
||||
|
||||
- timer-test: Same as clock_test above + testing the rtimer-arch code
|
||||
|
||||
- border-router: 802.15.4 to SLIP bridge example. The node will forward packets
|
||||
from the 15.4 network to its UART (and thus a connected PC over SLIP)
|
|
@ -1,16 +0,0 @@
|
|||
border-router example for sensinode devices.
|
||||
|
||||
This example is meant to be used with tunslip6 in tools/
|
||||
|
||||
- Build the code and load it onto your node
|
||||
- Connect your node to your PC over USB
|
||||
- run:
|
||||
sudo ./tunslip6 <address v6>/<prefix>
|
||||
|
||||
This will setup tun0 on your PC over device /dev/ttyUSBx. The address
|
||||
argument should contain the v6 address that you want to assign to tun0
|
||||
The node will use this address to obtain the network prefix
|
||||
|
||||
for example:
|
||||
sudo ./tunslip6 aaaa::1/64
|
||||
This will use aaaa:: / 64 as the prefix for the 15.4 network.
|
20
examples/sensinode/border-router/README.markdown
Normal file
20
examples/sensinode/border-router/README.markdown
Normal file
|
@ -0,0 +1,20 @@
|
|||
border-router example for sensinode devices
|
||||
===========================================
|
||||
|
||||
This example is meant to be used with tunslip6 in tools/
|
||||
|
||||
- Build the code and load it onto your node
|
||||
- Connect your node to your PC over USB
|
||||
- run:
|
||||
|
||||
sudo ./tunslip6 <address v6>/<prefix>
|
||||
|
||||
This will setup tun0 on your PC over device /dev/ttyUSBx. The address argument
|
||||
should contain the v6 address that you want to assign to tun0 The node will use
|
||||
this address to obtain the network prefix
|
||||
|
||||
For example:
|
||||
|
||||
sudo ./tunslip6 aaaa::1/64
|
||||
|
||||
This will use aaaa:: / 64 as the prefix for the 15.4 network.
|
|
@ -1,9 +1,10 @@
|
|||
A very simple sniffer for sensinode devices.
|
||||
============================================
|
||||
|
||||
The cc2430 RF driver supports outputting all captured packets in hexdump
|
||||
format. We turn this on, and turn everything else off. We use a stub RDC
|
||||
driver to make sure no incoming packet ever goes up the stack and no packet is
|
||||
ever sent out.
|
||||
format. We turn this on, and turn everything else off. We use a stub RDC driver
|
||||
to make sure no incoming packet ever goes up the stack and no packet is ever
|
||||
sent out.
|
||||
|
||||
We only initialise the radio driver instead of the entire stack by over-riding
|
||||
the default netstack.c with the one in this directory.
|
Loading…
Add table
Add a link
Reference in a new issue