LMIC ChisteraPi is the source code for LoraWAN transmissions with ChisteraPi.
ChisteraPi light LoRa : https://snootlab.com/shields-snootlab/1151-.html
ChisteraPi + accessories LorA : https://snootlab.com/shields-snootlab/1152-.html
Visit our specific forum at : http://forum.snootlab.com/viewforum.php?f=59
The LMIC library is a library of IBM with Eclipse Public License.
http://www.research.ibm.com/labs/zurich/ics/lrsc/lmic.html
The Raspberry Hardware Abstraction Library comes from ernstdevreede.
https://github.com/ernstdevreede/lmic_pi
Modification and example comes from Snootlab with GPLv2 license.
https://snootlab.com/72-03-iot-et-sans-fil
You have documentation on LMIC library and LoraWAN into the doc directory.
Plug the ChisteraPi on your RaspberryPi.
Power on and connect into your RaspberryPi with SSH.
Activation of the SPI :
sudo raspi-configThen select "9 - Advanced Options" then "A5 - SPI" and .
The lmic_chisterapi library need the external library : wiringpi. If you don't have the library do :
sudo apt-get update
sudo apt-get install wiringpiClone the repository :
git clone https://github.com/Snootlab/lmic_chisterapiGet into the repository and compile the example :
cd lmic_chisterapiModify APPEUI, DEVEUI and DEVKEY with yours :
nano src/OTAA_JoinAndTransmit.c
make all Execute the example :
sudo ./OTAA_JoinAndTransmit