User Tools

Site Tools


wiki:loraloc

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:loraloc [2016/04/15 15:51]
mch [Usage]
— (current)
Line 1: Line 1:
-====== LoRaLoc modem ====== 
- 
- 
-===== HALv2 (Loraloc / sx1301 array) ===== 
- 
-The HAL provided by Kerlink is based on new Semtech HAL **lora_gateway_v2**. \\ 
-Main modifications aim to adapt HAL to Kerlink boards: 
-  * Multi-board support 
-  * Calibration parameters can now be parsed as an overload config file (similarly to local_conf.json) named /​tmp/​calib_loraloc.json 
- 
- 
-As Loraloc architecture is much more complex, this HAL is quite different from HAL v1. \\ 
- 
-==== Compilation ==== 
- 
-To compile it, please use following commands: 
-<code bash> 
-cd lora_gateway_v2 
-source /​opt/​toolchains/​loraV2/​environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 
-make SPI_HOST=imx 
-</​code>​ 
- 
-To simplify deployment on board, Kerlink provides a script called **deploy.sh**. \\ 
-This tool script make all tools and prepare a directory including them. 
- 
-==== Usage ==== 
- 
-The main modification in tools since HALv1 is the '​-d'​ argument. \\ 
-As this HAL is mainly designed to handle multiple RF chips, this optional argument allows to specify which spidevice to use. 
- 
-Kerlink provides a automatic discovery script at startup to handle correctly plugged boards. 
- 
-By default, if a WAN module is provided, loraloc modules are mapped from slot 2. 
- 
-So to use tools with this Loraloc module, please specify on tool's command-line **-d /​dev/​slot/​2/​spidev0**. \\ 
-For example: 
-<code bash> 
-./​pkt_logger -d /​dev/​slot/​2/​spidev0 
-</​code>​ 
  
wiki/loraloc.1460728304.txt.gz · Last modified: 2019/01/17 10:01 (external edit)