Skip to content

lauritsbonde/nebulastream-ed-runtime-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

License

NebulaStream End Device Runtime

An implementation of: NebulaStream End Device Runtime in C

How to Build

The project is written as a RIOT OS application and uses the RIOT build system. Building requires a copy of the RIOT codebase either locally (linux only), in a docker container or on a virtual machine.

To build the binary you must set the following variables in the Makefile

  • RIOTBASE The path to you RIOT code base
  • BOARD The specific board that riot should build for. List of boards supported by RIOT. By default this is set to native which will build the executable for linux.
  • DEVEUI, APPEUIand APPKEY. Settings for your specific LoRaWAN connection

To build the application, flash to a device, and open a terminal to the flashed device, run:

$ make flash term

If you wish to flash using an alternative programming tool than the default for your board, this can be done by setting the PROGRAMMER macro. For instance, to flash to the Nucleo-WL55JC using the cpy2remed (copy to removable media) script, use:

$ make BOARD=nucleo-wl55jc PROGRAMMER=cpy2remed flash

For more information see documentation on The riot build system.

LoRaWAN

The application can connect to The Things Network (TTN) over LoRaWAN. The following steps are required to set this up:

  • Login to TTN and open console.
  • Create a new application.
  • Register an end device.
  • Note the DEVEUI, JOINEUI (APPEUI) and APPKEY.
  • Enter those values in the corresponding makefile macros

Contributors

Laurits Bonde & Markus Johansen for our Bachelor Thesis @ ITU

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published