User Tools

Site Tools


lora_dynamic_phy_layer_example

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
lora_dynamic_phy_layer_example [2021/07/06 17:57]
pesteve
lora_dynamic_phy_layer_example [2021/07/08 11:35] (current)
pesteve
Line 3: Line 3:
 This tutorial executes a LoRa transmission between a node and a gateway using docker in CorteXlab, transmitting dummy packets between them.  This tutorial executes a LoRa transmission between a node and a gateway using docker in CorteXlab, transmitting dummy packets between them. 
  
-It shows how to use the interface of a plug and play complete LoRa dynamic physical layer, that can be found inside the following [docker image](https://hub.docker.com/repository/docker/amauryparis/cxlb_lora_phy) or on this [GitHub repository](https://github.com/AmauryPARIS/LoRa_PHY_Cxlb/). It allows to connect any upper layer that will control the physical layer (message and parameters), and receive all the information it needs (SNR, message and noise energy levels, crc presence, coding rate, number of (corrected) errors...).+It shows how to use the interface of a plug and play complete LoRa dynamic physical layer, that can be found inside the following [docker image](https://hub.docker.com/repository/docker/amauryparis/cxlb_lora) or on this [GitHub repository](https://github.com/AmauryPARIS/LoRa_PHY_Cxlb/). It allows to connect any upper layer that will control the physical layer (message and parameters), and receive all the information it needs (SNR, message and noise energy levels, crc presence, coding rate, number of (corrected) errors...).
  
 This implementation stands on the original LoRa PHY version made by [[https://www.epfl.ch/labs/tcl/resources-and-sw/lora-phy/|EPFL]]. This implementation stands on the original LoRa PHY version made by [[https://www.epfl.ch/labs/tcl/resources-and-sw/lora-phy/|EPFL]].
Line 13: Line 13:
 ### Docker ### Docker
  
-In this tutorial, we will use the docker image available on [Dockerhub](https://hub.docker.com/r/amauryparis/cxlb_lora_phy), which includes the CorteXlab toolchain, alongside a [GitHub repository](https://github.com/AmauryPARIS/LoRa_PHY_Cxlb/) providing the LoRa physical layer properly configured and an upper layer example.+In this tutorial, we will use the docker image available on [Dockerhub](https://hub.docker.com/r/amauryparis/cxlb_lora), which includes the CorteXlab toolchain, alongside a [GitHub repository](https://github.com/AmauryPARIS/LoRa_PHY_Cxlb/) providing the LoRa physical layer properly configured and an upper layer example.
  
 Thanks to a docker image, it is possible to easily run on your local machine an environment suitable for CorteXlab, with gnuradio and needed software. Once your project is ready, you can use your upgraded docker image in the testbed. This will allow you to quickly transfer all of your project, files and environment, as in your local computer but to be used within the testbed on SDR nodes. Thanks to a docker image, it is possible to easily run on your local machine an environment suitable for CorteXlab, with gnuradio and needed software. Once your project is ready, you can use your upgraded docker image in the testbed. This will allow you to quickly transfer all of your project, files and environment, as in your local computer but to be used within the testbed on SDR nodes.
Line 51: Line 51:
   node14:   node14:
     container:     container:
-    - image: amauryparis/cxlb_lora_phy:stable+    - image: amauryparis/cxlb_lora:master
       command: /usr/sbin/sshd -p 2222 -D       command: /usr/sbin/sshd -p 2222 -D
  
   node16:   node16:
     container:     container:
-    - image: amauryparis/cxlb_lora_phy:stable+    - image: amauryparis/cxlb_lora:master
       command: /usr/sbin/sshd -p 2222 -D       command: /usr/sbin/sshd -p 2222 -D
 </code> </code>
Line 362: Line 362:
  
 <code> <code>
-you@yourpc:~$ docker pull amauryparis/cxlb_lora_phy:stable +you@yourpc:~$ docker pull amauryparis/cxlb_lora:master 
-you@yourpc:~$ docker run -dti --net=host --expose 2222 --privileged [--name CONTAINER_NAME] cxlb_lora_phy:stable+you@yourpc:~$ docker run -dti --net=host --expose 2222 --privileged [--name CONTAINER_NAME] amauryparis/cxlb_lora:master
 </code> </code>
  
Line 431: Line 431:
 ### Deploy the experiment on CorteXlab ### Deploy the experiment on CorteXlab
  
-In order to send this environment on CorteXlab, follow the same procedure as in subsections [[lora_dynamic_phy_layer_example#create_the_scenario|Create the scenario]] to [[lora_dynamic_phy_layer_example#setup|Setup]]. Just **change the docker image name in `scenario.yaml`** from `amauryparis/cxlb_lora_phy:stable` to `[DOCKER USERNAME]/[IMAGE NAME]`.+In order to send this environment on CorteXlab, follow the same procedure as in subsections [[lora_dynamic_phy_layer_example#create_the_scenario|Create the scenario]] to [[lora_dynamic_phy_layer_example#setup|Setup]]. Just **change the docker image name in `scenario.yaml`** from `amauryparis/cxlb_lora:master` to `[DOCKER USERNAME]/[IMAGE NAME]`.
  
 ### Results ### Results
lora_dynamic_phy_layer_example.txt · Last modified: 2021/07/08 11:35 by pesteve