Skip to content

Commit

Permalink
Merge pull request #242 from TheThingsIndustries/feature/sensors_lora…
Browse files Browse the repository at this point in the history
…wan_se

app:  Add sensors_lorawan_se example app
  • Loading branch information
azerimaker authored Aug 4, 2022
2 parents 96d5278 + c21e2a2 commit ffea1fb
Show file tree
Hide file tree
Showing 29 changed files with 4,158 additions and 9 deletions.
1 change: 1 addition & 0 deletions Software/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ set (APP_LIST
"secure_element_lorawan"
"basic_azurertos"
"sensors_lorawan"
"sensors_lorawan_se"
"basic_fuota")
#-------------------
# MCU Setup
Expand Down
2 changes: 1 addition & 1 deletion Software/app/basic_fuota/conf/radio_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" {
/**
* @brief voltage of vdd tcxo.
*/
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_1_7V
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_3_0V

#ifndef CRITICAL_SECTION_BEGIN
/**
Expand Down
2 changes: 1 addition & 1 deletion Software/app/basic_lorawan/conf/radio_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" {
/**
* @brief voltage of vdd tcxo.
*/
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_1_7V
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_3_0V

#ifndef CRITICAL_SECTION_BEGIN
/**
Expand Down
2 changes: 1 addition & 1 deletion Software/app/freefall_lorawan/conf/radio_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" {
/**
* @brief voltage of vdd tcxo.
*/
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_1_7V
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_3_0V

#ifndef CRITICAL_SECTION_BEGIN
/**
Expand Down
2 changes: 1 addition & 1 deletion Software/app/freertos_lorawan/conf/radio_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" {
/**
* @brief voltage of vdd tcxo.
*/
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_1_7V
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_3_0V

#ifndef CRITICAL_SECTION_BEGIN
/**
Expand Down
2 changes: 1 addition & 1 deletion Software/app/secure_element_lorawan/conf/radio_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" {
/**
* @brief voltage of vdd tcxo.
*/
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_1_7V
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_3_0V

#ifndef CRITICAL_SECTION_BEGIN
/**
Expand Down
6 changes: 4 additions & 2 deletions Software/app/sensors_lorawan/conf/app_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#ifndef APP_CONF_H
#define APP_CONF_H

#define GNSE_ADVANCED_TRACER_ENABLE 1
#define GNSE_ADVANCED_TRACER_ENABLE 0

/* if ON (=1) it enables the debugger plus 4 dbg pins */
/* if OFF (=0) the debugger is OFF (lower consumption) */
Expand All @@ -42,7 +42,7 @@
#define SENSORS_DOWNLINK_CONF_PORT 1

/* Default, max, and min time interval of the TX dutycycle window in seconds */
#define SENSORS_TX_DUTYCYCLE_DEFAULT_S 10
#define SENSORS_TX_DUTYCYCLE_DEFAULT_S 60
#define SENSORS_DUTYCYCLE_CONF_MAX_S 8640
#define SENSORS_DUTYCYCLE_CONF_MIN_S 5

Expand All @@ -58,6 +58,8 @@
#define DEVEUI 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
#define APPKEY 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00



/**
* sequencer definitions
*/
Expand Down
2 changes: 1 addition & 1 deletion Software/app/sensors_lorawan/conf/radio_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ extern "C" {
/**
* @brief voltage of vdd tcxo.
*/
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_1_7V
#define TCXO_CTRL_VOLTAGE TCXO_CTRL_3_0V

#ifndef CRITICAL_SECTION_BEGIN
/**
Expand Down
202 changes: 202 additions & 0 deletions Software/app/sensors_lorawan_se/.cproject

Large diffs are not rendered by default.

Loading

0 comments on commit ffea1fb

Please sign in to comment.