OpenBeacon-Brn: Difference between revisions

From
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
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.
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=
=Whats needed=
Click can send paket to and receive from openbeacon-device over usb using the Openbeacon-Daemon (obd). The openbeacon doesn't send the paket.
1. Arm-Toolchain ([[OpenBeacon]])


=What's needed=
2. openbeacon-brn
1. Arm-Toolchain ([[OpenBeacon]])

2. openbeacon-brn
3. Click
3. Click

4. Install
4. Install


=OpenBeacon-BRN=
=OpenBeacon-BRN=
Line 15: Line 15:
Get it using the git-repository:
Get it using the git-repository:
git clone ssh://nfs-student/home/sombrutz/repository/openbeacon-brn.git
git clone ssh://nfs-student/home/sombrutz/repository/openbeacon-brn.git



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




=Install=
=Install=
==click==
==click==
cd click-brn
$ cd click-brn
$ sh ./brn-conf.sh userlevel
$ make
$ export PATH=$PATH:PATH_TO_CLICK/userlevel

==OpenBeacon-Firmware==
$ cd openbeacon-brn/firmware/openbeacon-brn-test
$ make
Make sure that modules are loaded:
$ rmmod usbserial
$ modprobe usbserial vendor=0x03EB product=0x6124
$ modprobe cdc_acm
Flash openbeacon:
$ ../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 obd===
$ cd openbeacon-brn/click/obd
$ ./obd

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

=Open Problems=

Paket is not send over the air (Wireless-part doesn't work).

Latest revision as of 12:43, 4 November 2009

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

Click can send paket to and receive from openbeacon-device over usb using the Openbeacon-Daemon (obd). The openbeacon doesn't send the paket.

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
$ export PATH=$PATH:PATH_TO_CLICK/userlevel

OpenBeacon-Firmware

$ cd openbeacon-brn/firmware/openbeacon-brn-test
$ make

Make sure that modules are loaded:

$ rmmod usbserial
$ modprobe usbserial vendor=0x03EB product=0x6124
$ modprobe cdc_acm

Flash openbeacon:

$ ../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 obd

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

Start Click

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

Open Problems

Paket is not send over the air (Wireless-part doesn't work).