deploying_lorawan
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
deploying_lorawan [2017/01/04 11:13] – [2.1. Single Channel Gateway] samer | deploying_lorawan [2017/01/05 11:44] – [2.1. Single Channel Gateway] samer | ||
---|---|---|---|
Line 15: | Line 15: | ||
The single channel gateway includes a LoRa transmission module (Dragino Shield) connected to a Raspberry Pi (2 or 3) as shown in Figure 1. Communication between the two modules is done over an SPI interface. | The single channel gateway includes a LoRa transmission module (Dragino Shield) connected to a Raspberry Pi (2 or 3) as shown in Figure 1. Communication between the two modules is done over an SPI interface. | ||
- | [{{ : | + | [{{ : |
In order to assemble the gateway, start by making the wire connections: | In order to assemble the gateway, start by making the wire connections: | ||
Line 37: | Line 37: | ||
</ | </ | ||
- | Now you can compile and run the packet forwarder | + | Compile |
<code bash> | <code bash> | ||
make all | make all | ||
- | nohup ./ | ||
</ | </ | ||
- | <codedoc toggle description> | + | For gcc version 4.6.3, a compilation error results in the following warning '' |
+ | <code> | ||
+ | CFLAGS = -std=c++0x -c -Wall -I include/ | ||
+ | </ | ||
+ | |||
+ | Now, you need to configure the single channel packet forwarder. This is done in the '' | ||
+ | |||
+ | <file | global_config.json> | ||
{ | { | ||
" | " | ||
Line 84: | Line 90: | ||
} | } | ||
} | } | ||
- | </codedoc> | + | </file> |
+ | |||
+ | Finally, you can run the packet forwarder as root! | ||
<code bash> | <code bash> | ||
- | gcc version 4.6.3 | + | nohup ./single_chan_pkt_fwd & |
- | unrecognized command line option ' | + | |
- | CFLAGS = -std=c++0x -c -Wall -I include/ | + | |
</ | </ | ||
==== -. Kerlink IoT Station ==== | ==== -. Kerlink IoT Station ==== |
deploying_lorawan.txt · Last modified: 2021/08/28 09:50 by samer