wikiroute

networking recipes

User Tools

Site Tools


deploying_lorawan

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
deploying_lorawan [2017/01/05 10:27] – [2.1. Single Channel Gateway] samerdeploying_lorawan [2017/01/05 11:44] – [2.1. Single Channel Gateway] samer
Line 42: Line 42:
 </code> </code>
  
-For gcc version 4.6.3, a compilation error results in the following warning ''unrecognized command line option '-std=c++11'''. Replace in the Makefile '-std=c++11' by ''-std=c++0x'' as in the following and recompile:+For gcc version 4.6.3, a compilation error results in the following warning ''unrecognized command line option '-std=c++11'''. Replace ''-std=c++11'' by ''-std=c++0x'' in the Makefile and recompile:
 <code> <code>
 CFLAGS = -std=c++0x -c -Wall -I include/ CFLAGS = -std=c++0x -c -Wall -I include/
 </code> </code>
  
-Now, you need to configure the single channel packet forwarder. This is done in the ''global_conf.json'' configuration file.+Now, you need to configure the single channel packet forwarder. This is done in the ''global_conf.json'' configuration file. Particularly, you need to choose the channel, the spreading factor, the pins for SPI communication, and the address of the backend server. Note that you can specify multiple backends for testing purposes.
  
-<file global_config.json>+<file global_config.json>
 { {
   "SX127x_conf":   "SX127x_conf":
Line 92: Line 92:
 </file> </file>
  
-and run the packet forwarder as root.+Finally, you can run the packet forwarder as root!
  
 <code bash> <code bash>
deploying_lorawan.txt · Last modified: 2021/08/28 09:50 by samer