OpenBeacon-Brn

From
Revision as of 11:09, 5 May 2009 by Sombrutz (talk | contribs)
Jump to navigation Jump to search

Idea

Openbeacon and Click work together. Create packets using click and sent them using the openbeacon-device. OpenBeacon makes it (hopefully) possible to implement new MAC-protocols.

Status

Openbeacon-device sends 1 paket (1000 Bytes) after request (send "fire\n" to device). Openbeacon-Daemon (obd) receives paket and send them to a socket. Click reads pakets from socket and prints them.

What's needed

1. Arm-Toolchain (OpenBeacon)
2. openbeacon-brn
3. Click
4. Install

OpenBeacon-BRN

Get it using the git-repository: git clone ssh://nfs-student/home/sombrutz/repository/openbeacon-brn.git

Click-BRN

Also in the git-repo: git clone ssh://nfs-student/home/sombrutz/repository/click-brn/.git

Install

click

$ cd click-brn
$ sh ./brn-conf.sh userlevel
$ make

OpenBeacon-Firmware

$ cd openbeacon-brn/firmware/openbeacon-brn-test
$ make
$ ../at91flash/at91flash ./openbeacon-brn-test.bin

OpenBeacon-Daemon

The Openbeacon-Daemon connects the Openbeacon-Device and Click using /dev/ttyACM0 for the openbeacon and a socket for click.

Build

$ cd openbeacon-brn/click/obd
$ make

Start Click

$ cd openbeacon-brn/click/config
$ click-align from_socket.click | click

Start obd

$ cd openbeacon-brn/click/obd
$ ./obd

Open Problems

A packet is sent twice.