1. References

https://open5gs.org/open5gs/docs/guide/01-quickstart/

2. jFed and Fed4FIRE+ account

Register for a jfed account at the following URL. 

https://portal.fed4fire.eu/

3. Download jFed Framework

Download jFed client software to run the RSPEC file in the next section

https://jfed.ilabt.imec.be/downloads/ 

4. Rspec for Open5GS Core

<?xml version='1.0'?>
<rspec xmlns="http://www.geni.net/resources/rspec/3" type="request" generated_by="jFed RSpec Editor" generated="2021-04-20T11:50:02.287+01:00" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:delay="http://www.protogeni.net/resources/rspec/ext/delay/1" xmlns:jfed-command="http://jfed.iminds.be/rspec/ext/jfed-command/1" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:jfed-ssh-keys="http://jfed.iminds.be/rspec/ext/jfed-ssh-keys/1" xmlns:jfed="http://jfed.iminds.be/rspec/ext/jfed/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd ">
  <node client_id="Open5GS" exclusive="false" component_manager_id="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+authority+am">
    <sliver_type name="vm">
      <disk_image name="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+image+ubuntu-20.04-server"/>
      <flavor_type xmlns="http://iris-testbed.connectcentre.ie/rspec/ext/openstack/1" name="m1.oai.performance.7cpu-any.25gb-ram-100gb"/>
    </sliver_type>
    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1" x="415.0" y="173.0"/>
  </node>
</rspec>

 5. Jfed

 

restart.sh script

#!/bin/bash
sudo systemctl restart open5gs-mmed
sleep 2
sudo systemctl restart open5gs-sgwcd
sleep 2
sudo systemctl restart open5gs-smfd
sleep 2
sudo systemctl restart open5gs-amfd
sleep 2
sudo systemctl restart open5gs-sgwud
sleep 2
sudo systemctl restart open5gs-upfd
sleep 2
sudo systemctl restart open5gs-hssd
sleep 2
sudo systemctl restart open5gs-pcrfd
sleep 2
sudo systemctl restart open5gs-nrfd
sleep 2
sudo systemctl restart open5gs-ausfd
sleep 2
sudo systemctl restart open5gs-udmd
sleep 2
sudo systemctl restart open5gs-pcfd
sleep 2
sudo systemctl restart open5gs-nssfd
sleep 2
sudo systemctl restart open5gs-udrd
sleep 2
sudo systemctl restart open5gs-webui

To Execute:

chmod +x restart.sh

1. References

https://wiki.seeedstudio.com/Seeeduino_LoRAWAN/

2. jFed and Fed4FIRE+ account

Register for a jfed account at the following URL. You can use your student account at your institute, or alternatively request to join the "pervasivenation" project when registering

https://portal.fed4fire.eu/

3. Download jFed Framework

Download jFed client software to run the RSPEC file in the next section

https://jfed.ilabt.imec.be/downloads/ 

4. Rspec for Seeeduino LoRAWAN Board at Iris - Support for Pervasive Nation

Load the following rspec, with connected Seeeduino LoRaWAN Board  with  ubuntu 20.04 image.

<?xml version='1.0'?>
<rspec xmlns="http://www.geni.net/resources/rspec/3" type="request" generated_by="jFed RSpec Editor" generated="2021-02-18T19:38:43.096Z" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:delay="http://www.protogeni.net/resources/rspec/ext/delay/1" xmlns:jfed-command="http://jfed.iminds.be/rspec/ext/jfed-command/1" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:jfed-ssh-keys="http://jfed.iminds.be/rspec/ext/jfed-ssh-keys/1" xmlns:jfed="http://jfed.iminds.be/rspec/ext/jfed/1" xmlns:sharedvlan="http://www.protogeni.net/resources/rspec/ext/shared-vlan/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd ">
  <node client_id="Seeeduino_node" exclusive="false" component_manager_id="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+authority+am">
    <sliver_type name="vm">
      <disk_image name="urn:publicid:IDN+iris-open-testbed.connectcentre.ie+image+seeeduino-board"/>
      <flavor_type xmlns="http://iris-testbed.connectcentre.ie/rspec/ext/openstack/1" name="seeeduino-iot"/>
    </sliver_type>
    <location xmlns="http://jfed.iminds.be/rspec/ext/jfed/1" x="353.0" y="208.0"/>
  </node>
</rspec>

 5. Jfed

Make sure that Seeeduino board is connected to the VM at Iris, by running the following command. dmesg | grep Seeed - and if the board is there you should see the following information. 

iristest@seeeduino-node:~$ dmesg | grep Seeed
[    3.171580] usb 1-1.5: Product: Seeeduino LoRaWAN
[    3.174509] usb 1-1.5: Manufacturer: Seeed Studio
iristest@seeeduino-node:~$ 

 

6. Download the PN TheThingsNetwork GitHub code 

Clone the pervasive nation Seeeduino code or copy the contents of the file: https://github.com/pervasivenation/pn_seeed/blob/master/pn_seeed.ino

git clone https://github.com/pervasivenation/pn_seeed.git

 Start arduino if not already started

arduino

Open the pn_seeed.ino file 

Compile the file - using the "Verify" button

 

Use the "Upload" button to push the code to the board. 

 

Note, you can see debug information from the Serial Monitor

 

7. Install the Seeduino board

Open your Arudino IDE, click on File > Preferences, and copy below url to Additional Boards Manager URLs:

https://files.seeedstudio.com/arduino/package_seeeduino_boards_index.json

8. Install a board manager

Click on Toos > Board > Board Manager.

Now you can search the board by name "Seeduino" and install Seed SAMD Boards