-
Notifications
You must be signed in to change notification settings - Fork 57
Arduino port zeroconf neighborhood
##Prerequisites
- Arduino toolchain.
The Wiring library provided with the Arduino environment is too big for usage with Wiselib, so you'll need to use my fork.
git clone git://github.com/ibr-alg/Arduino.git
cd Arduino
git checkout lite
- Arduino Zeroconf library.
git clone git://github.com/rraf/EthernetBonjour.git
cd EthernetBonjour
git checkout wiselib-zeroconf
For compilation you will also need an AVR GCC and the AVR libc (package names are e.g. avr-gcc and avr-libc in Arch linux)
##Testing
You can change the MAC, IP, netmask, gateway settings for the Arduino board in wiselib.testing/external_interface/arduino/arduino_types.h
Make sure your Wiselib is up to date, and you're using the master
branch.
git checkout master
cd apps/arduino_apps
Update the paths in the Makefile
and make sure your Arduino board is connected and the right PORT
is set.
On your Linux machine you can use nc -lu 1337
to listen to Radio->send() calls from the Arduino board.
To browse Zeroconf services published by the Arduino board use avahi-browse -a
.