TBD
TBD
No matter which transceiver module you use, you have to install Raspbian on your Raspberry Pi. An instruction how to do that can be found here and here.
After installing Raspian you have to enable the support for IEEE 802.15.4/LoWPAN devices.
Before enabling the support let's connect the transceiver to the Raspberry Pi in order to be able to test, if enabling the support was successful.
Note: Always shutdown the Raspberry Pi when you are dis-/connecting hardware from/to the Raspberry Pi's GPIOs.
TODO: Add image where to plug transceiver into Raspberry Pi
To enable the support for IEEE 802.15.4/LoWPAN devices follow this.
To install and setup all tools needed, just execute ./install.sh
in <Projet-Root>/scripts/
.
In order to avoid create/adjusting all the config files yourself you can just use the ones provided within this repository.
You do not even need to know where to put them, it is all done by dotbot.
You only need to execute following command in the root directory of this project, in order to copy the config files in the right directory: sudo ./install
Note: Be aware that there is a default password for the wlan hotspot in etc/hostapd/hostapd.conf
-> Adjust the config file
- The Raspberry Pi does not get a global IPv6 address assigned by Radvd (this might be possible, but is not configured) ->
Add an IPv6 address by executingsudo ip -6 addr add fd51:42f8:caae:d922::1/64 dev wlan0
- When an
esp
connects with the Raspberry Pi via Wifi, no global IPv6 address is assigned automatically -> To trigger assignment just remove the Pi's global IPv6 by executingsudo ip -6 addr del fd51:42f8:caae:d922::1/64 dev wlan0
and the readd it by executingsudo ip -6 addr add fd51:42f8:caae:d922::1/64 dev wlan0
(the interfacewlan0
might be named differently. check that withip link
).