diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/.project b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/.project new file mode 100644 index 0000000..59a3247 --- /dev/null +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/.project @@ -0,0 +1,11 @@ + + + B-L072Z-LRWAN1 + + + + + + + + diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/inc/Commissioning.h b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/inc/Commissioning.h index 566ca21..c759b9b 100755 --- a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/inc/Commissioning.h +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/inc/Commissioning.h @@ -108,23 +108,28 @@ * \remark see STATIC_DEVICE_EUI comments */ #define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x01, 0x01, 0x01, 0x01, 0x01 } +//#define LORAWAN_DEVICE_EUI { IEEE_OUI, 0x7E, 0xD0, 0x05, 0xE7, 0x57 } +//70B3D57ED005E757 /*! * App/Join server IEEE EUI (big endian) */ #define LORAWAN_JOIN_EUI { 0x70, 0xB3, 0xD5, 0x7E, 0xD0, 0x00, 0x98, 0x5F } +//70B3D57ED000985F /*! * Application root key * WARNING: NOT USED FOR 1.0.x DEVICES */ -#define LORAWAN_APP_KEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } - +//#define LORAWAN_APP_KEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } +#define LORAWAN_APP_KEY { 0xE5, 0xDE, 0xE0, 0xE4, 0xA3, 0xFF, 0x22, 0x91, 0x29, 0x68, 0x6A, 0x09, 0xCD, 0xDF, 0x9B, 0xB3 } + //E5 DE E0 E4 A3 FF 22 91 29 68 6A 09 CD DF 9B B3 /*! * Network root key * WARNING: FOR 1.0.x DEVICES IT IS THE \ref LORAWAN_APP_KEY */ -#define LORAWAN_NWK_KEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } +//#define LORAWAN_NWK_KEY { 0x2B, 0x7E, 0x15, 0x16, 0x28, 0xAE, 0xD2, 0xA6, 0xAB, 0xF7, 0x15, 0x88, 0x09, 0xCF, 0x4F, 0x3C } +#define LORAWAN_NWK_KEY { 0xE5, 0xDE, 0xE0, 0xE4, 0xA3, 0xFF, 0x22, 0x91, 0x29, 0x68, 0x6A, 0x09, 0xCD, 0xDF, 0x9B, 0xB3 } #if( OVER_THE_AIR_ACTIVATION == 0 ) diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/src/main.c b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/src/main.c index bd2553f..0db36ba 100755 --- a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/src/main.c +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/LoRaWAN/App/src/main.c @@ -29,6 +29,8 @@ /* Private typedef -----------------------------------------------------------*/ /* Private define ------------------------------------------------------------*/ +#define REGION_AS923 1 +#define USE_B_L072Z_LRWAN1 1 /*! * CAYENNE_LPP is myDevices Application server. */ @@ -42,7 +44,8 @@ /*! * Defines the application data transmission duty cycle. 5s, value in [ms]. */ -#define APP_TX_DUTYCYCLE 10000 +//#define APP_TX_DUTYCYCLE 10000 +#define APP_TX_DUTYCYCLE 120000 /*! * LoRaWAN Adaptive Data Rate * @note Please note that when ADR is enabled the end-device should be static @@ -259,42 +262,52 @@ static void Send( void* context ) TimerStart( &TxLedTimer ); #endif - BSP_sensor_Read( &sensor_data ); + //BSP_sensor_Read( &sensor_data ); #ifdef CAYENNE_LPP - uint8_t cchannel=0; + uint8_t cchannel=3; //temperature = ( int16_t )( sensor_data.temperature * 10 ); /* in �C * 10 */ - pressure = ( uint16_t )( sensor_data.pressure * 100 / 10 ); /* in hPa / 10 */ - humidity = ( uint16_t )( sensor_data.humidity * 2 ); /* in %*2 */ + //pressure = ( uint16_t )( sensor_data.pressure * 100 / 10 ); /* in hPa / 10 */ + //humidity = ( uint16_t )( sensor_data.humidity * 2 ); /* in %*2 */ + //temperature = 0x255; + pressure = 2; + humidity = 3; uint32_t i = 0; - uint16_t temperatureDegreeC = HW_GetTemperatureLevel(); - uint16_t temperatureDegreeC_Int= (temperatureDegreeC)>>8; - uint16_t temperatureDegreeC_Frac= ((temperatureDegreeC-(temperatureDegreeC_Int<<8))*100)>>8; - temperature = ( int16_t )( temperatureDegreeC_Int* 10 + temperatureDegreeC_Frac/10); - batteryLevel = HW_GetBatteryLevel( ); /* 1 (very low) to 254 (fully charged) */ + //uint16_t temperatureDegreeC = HW_GetTemperatureLevel(); + //uint16_t temperatureDegreeC = temperature; + //uint16_t temperatureDegreeC_Int= (temperatureDegreeC)>>8; + //uint16_t temperatureDegreeC_Frac= ((temperatureDegreeC-(temperatureDegreeC_Int<<8))*100)>>8; + //temperature = ( int16_t )( temperatureDegreeC_Int* 10 + temperatureDegreeC_Frac/10); + //temperature = 0x255; + temperature = 0x100; + //batteryLevel = HW_GetBatteryLevel( ); /* 1 (very low) to 254 (fully charged) */ + batteryLevel = 200; AppData.Port = LPP_APP_PORT; - +/* AppData.Buff[i++] = cchannel++; AppData.Buff[i++] = LPP_DATATYPE_BAROMETER; AppData.Buff[i++] = ( pressure >> 8 ) & 0xFF; AppData.Buff[i++] = pressure & 0xFF; +*/ AppData.Buff[i++] = cchannel++; AppData.Buff[i++] = LPP_DATATYPE_TEMPERATURE; AppData.Buff[i++] = ( temperature >> 8 ) & 0xFF; AppData.Buff[i++] = temperature & 0xFF; - AppData.Buff[i++] = cchannel++; - AppData.Buff[i++] = LPP_DATATYPE_HUMIDITY; - AppData.Buff[i++] = humidity & 0xFF; + //AppData.Buff[i++] = cchannel++; + //AppData.Buff[i++] = LPP_DATATYPE_HUMIDITY; + //AppData.Buff[i++] = humidity & 0xFF; #if defined( REGION_US915 ) || defined ( REGION_AU915 ) /* The maximum payload size does not allow to send more data for lowest DRs */ #else +/* AppData.Buff[i++] = cchannel++; AppData.Buff[i++] = LPP_DATATYPE_DIGITAL_INPUT; AppData.Buff[i++] = batteryLevel*100/254; AppData.Buff[i++] = cchannel++; AppData.Buff[i++] = LPP_DATATYPE_DIGITAL_OUTPUT; AppData.Buff[i++] = AppLedStateOn; +*/ #endif /* REGION_XX915 */ #else /* not CAYENNE_LPP */ diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/MDK-ARM/Lora.uvprojx b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/MDK-ARM/Lora.uvprojx index a645f9b..61a4bbf 100755 --- a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/MDK-ARM/Lora.uvprojx +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/MDK-ARM/Lora.uvprojx @@ -335,7 +335,7 @@ 0 --C99 - STM32L072xx,USE_B_L072Z_LRWAN1,USE_HAL_DRIVER, REGION_EU868 + STM32L072xx,USE_B_L072Z_LRWAN1,USE_HAL_DRIVER, REGION_AS923 ..\LoRaWAN\App\inc;..\Core\inc;..\..\..\..\..\..\Drivers\BSP\CMWX1ZZABZ-0xx;..\..\..\..\..\..\Drivers\STM32L0xx_HAL_Driver\Inc;..\..\..\..\..\..\Drivers\CMSIS\Device\ST\STM32L0xx\Include;..\..\..\..\..\..\Drivers\CMSIS\Include;..\..\..\..\..\..\Middlewares\Third_Party\LoRaWAN\Crypto;..\..\..\..\..\..\Middlewares\Third_Party\LoRaWAN\Mac;..\..\..\..\..\..\Middlewares\Third_Party\LoRaWAN\Phy;..\..\..\..\..\..\Middlewares\Third_Party\LoRaWAN\Utilities;..\..\..\..\..\..\Middlewares\Third_Party\LoRaWAN\Core;..\..\..\..\..\..\Drivers\BSP\Components\Common;..\..\..\..\..\..\Drivers\BSP\Components\hts221;..\..\..\..\..\..\Drivers\BSP\Components\lps22hb;..\..\..\..\..\..\Drivers\BSP\Components\lps25hb;..\..\..\..\..\..\Drivers\BSP\Components\sx1276;..\..\..\..\..\..\Drivers\BSP\X_NUCLEO_IKS01A1;..\..\..\..\..\..\Drivers\BSP\X_NUCLEO_IKS01A2;..\..\..\..\..\..\Drivers\BSP\B-L072Z-LRWAN1;..\..\..\..\..\..\Middlewares\Third_Party\LoRaWAN\Mac\region diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject index 8a46d3b..3847d4d 100755 --- a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject @@ -1,8 +1,8 @@ - - + + @@ -14,25 +14,35 @@ - - - - - - + + @@ -108,25 +128,35 @@ - - - - @@ -194,7 +230,7 @@ - + @@ -210,4 +246,4 @@ - + \ No newline at end of file diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject_org b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject_org new file mode 100644 index 0000000..275d465 --- /dev/null +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.cproject_org @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project index 6106e41..15a4f18 100755 --- a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project @@ -1,7 +1,7 @@ - + mlm32l07x01 - + @@ -20,411 +20,410 @@ org.eclipse.cdt.core.cnature - org.eclipse.cdt.managedbuilder.core.managedBuildNature org.eclipse.cdt.managedbuilder.core.ScannerConfigNature - fr.ac6.mcu.ide.core.MCUProjectNature + com.st.stm32cube.ide.mcu.MCUSW4STM32ConvertedProjectNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature - - Application/SW4STM32/startup_stm32l072xx.s - 1 - PARENT-1-PROJECT_LOC/startup_stm32l072xx.s - - - Projects/End_Node/mlm32l0xx_it.c + + B-L072Z-LRWAN1/b-l072z-lrwan1.c 1 - PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_it.c + PARENT-7-PROJECT_LOC/Drivers/BSP/B-L072Z-LRWAN1/b-l072z-lrwan1.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_cortex.c + + Doc/readme.txt 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c + PARENT-2-PROJECT_LOC/readme.txt - - Projects/End_Node/debug.c + + Application/SW4STM32/startup_stm32l072xx.s 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/debug.c + PARENT-1-PROJECT_LOC/startup_stm32l072xx.s - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_adc_ex.c + + Drivers/CMSIS/system_stm32l0xx.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.c + PARENT-7-PROJECT_LOC/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c - - Middlewares/LoRaWAN/Mac/Regions/RegionCommon.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCommon.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c - - Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_pressure.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_adc.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_pressure.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.c - - Drivers/BSP/Components/sx1276.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_adc_ex.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/sx1276/sx1276.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.c - - B-L072Z-LRWAN1/b-l072z-lrwan1.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_cortex.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/B-L072Z-LRWAN1/b-l072z-lrwan1.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c - - Drivers/BSP/Components/LPS22HB_Driver.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_dma.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps22hb/LPS22HB_Driver.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c - - Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_gpio.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c - - Middlewares/LoRaWAN/Crypto/cmac.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_i2c.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c - - Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_temperature.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_pwr.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_temperature.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c - - Projects/End_Node/mlm32l0xx_hal_msp.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_pwr_ex.c 1 - PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_hal_msp.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_dma.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rcc.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c - - Projects/End_Node/vcom.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rcc_ex.c 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/vcom.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c - - Drivers/CMSIS/system_stm32l0xx.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rtc.c 1 - PARENT-7-PROJECT_LOC/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_uart.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rtc_ex.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c - - Middlewares/LoRaWAN/Utilities/utilities.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_spi.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_spi.c - - Middlewares/LoRaWAN/Mac/Regions/RegionAU915.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_tim.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionAU915.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c - - Middlewares/LoRaWAN/Mac/LoRaMacClassB.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_tim_ex.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacClassB.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c - - Middlewares/LoRaWAN/Mac/Regions/RegionUS915.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_uart.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionUS915.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c - - Middlewares/LoRaWAN/Mac/Regions/RegionKR920.c + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_uart_ex.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionKR920.c + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c - - Middlewares/LoRaWAN/Mac/LoRaMacCommands.c + + Projects/End_Node/bsp.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacCommands.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/bsp.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_adc.c + + Projects/End_Node/debug.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/debug.c - - Middlewares/LoRaWAN/Mac/Regions/RegionCN779.c + + Projects/End_Node/hw_gpio.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCN779.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_gpio.c - - Middlewares/LoRaWAN/Mac/Regions/RegionEU868.c + + Projects/End_Node/hw_rtc.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionEU868.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_rtc.c - - Middlewares/LoRaWAN/Mac/LoRaMacParser.c + + Projects/End_Node/hw_spi.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacParser.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_spi.c - - Drivers/BSP/Components/LPS22HB_Driver_HL.c + + Projects/End_Node/main.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps22hb/LPS22HB_Driver_HL.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/main.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_i2c.c + + Projects/End_Node/mlm32l0xx_hal_msp.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c + PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_hal_msp.c - - Projects/End_Node/main.c + + Projects/End_Node/mlm32l0xx_hw.c 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/main.c + PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_hw.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_gpio.c + + Projects/End_Node/mlm32l0xx_it.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c + PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_it.c - - Drivers/BSP/Components/HTS221_Driver.c + + Projects/End_Node/vcom.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/hts221/HTS221_Driver.c + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/vcom.c - - Middlewares/LoRaWAN/Mac/LoRaMacConfirmQueue.c + + Drivers/BSP/CMWX1ZZABZ-0xx/mlm32l07x01.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacConfirmQueue.c + PARENT-7-PROJECT_LOC/Drivers/BSP/CMWX1ZZABZ-0xx/mlm32l07x01.c - - Middlewares/LoRaWAN/Mac/LoRaMac.c + + Drivers/BSP/Components/HTS221_Driver.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMac.c + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/hts221/HTS221_Driver.c - - Middlewares/LoRaWAN/Mac/LoRaMacCrypto.c + + Drivers/BSP/Components/HTS221_Driver_HL.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacCrypto.c + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/hts221/HTS221_Driver_HL.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_spi.c + + Drivers/BSP/Components/LPS22HB_Driver.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_spi.c + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps22hb/LPS22HB_Driver.c - - Middlewares/LoRaWAN/Utilities/low_power_manager.c + + Drivers/BSP/Components/LPS22HB_Driver_HL.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/low_power_manager.c + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps22hb/LPS22HB_Driver_HL.c - - Doc/readme.txt + + Drivers/BSP/Components/LPS25HB_Driver.c 1 - PARENT-2-PROJECT_LOC/readme.txt + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps25hb/LPS25HB_Driver.c - - Middlewares/LoRaWAN/Utilities/systime.c + + Drivers/BSP/Components/LPS25HB_Driver_HL.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/systime.c + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps25hb/LPS25HB_Driver_HL.c - - Projects/End_Node/bsp.c + + Drivers/BSP/Components/sx1276.c 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/bsp.c + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/sx1276/sx1276.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal.c + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c - - Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.c + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c - - Drivers/BSP/Components/HTS221_Driver_HL.c + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_pressure.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/hts221/HTS221_Driver_HL.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_pressure.c - - Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_temperature.c + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_temperature.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_temperature.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_temperature.c - - Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_humidity.c + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_humidity.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rtc.c + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_humidity.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_humidity.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rcc.c + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_pressure.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_pressure.c - - Projects/End_Node/hw_rtc.c + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_temperature.c 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_rtc.c + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_temperature.c - + Middlewares/LoRaWAN/Core/lora-test.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Core/lora-test.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Core/lora-test.c - - Middlewares/LoRaWAN/Utilities/trace.c + + Middlewares/LoRaWAN/Core/lora.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/trace.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Core/lora.c - - Middlewares/LoRaWAN/Mac/LoRaMacAdr.c + + Middlewares/LoRaWAN/Crypto/aes.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacAdr.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/aes.c - - Projects/End_Node/hw_gpio.c + + Middlewares/LoRaWAN/Crypto/cmac.c 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_gpio.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c - - Projects/End_Node/hw_spi.c + + Middlewares/LoRaWAN/Crypto/soft-se.c 1 - PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_spi.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c - - Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_pressure.c + + Middlewares/LoRaWAN/Mac/LoRaMac.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_pressure.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMac.c - - Middlewares/LoRaWAN/Mac/Regions/RegionRU864.c + + Middlewares/LoRaWAN/Mac/LoRaMacAdr.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionRU864.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacAdr.c - - Drivers/BSP/Components/LPS25HB_Driver_HL.c + + Middlewares/LoRaWAN/Mac/LoRaMacClassB.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps25hb/LPS25HB_Driver_HL.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacClassB.c - - Drivers/BSP/Components/LPS25HB_Driver.c + + Middlewares/LoRaWAN/Mac/LoRaMacCommands.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps25hb/LPS25HB_Driver.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacCommands.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_tim.c + + Middlewares/LoRaWAN/Mac/LoRaMacConfirmQueue.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacConfirmQueue.c - - Middlewares/LoRaWAN/Mac/Regions/RegionIN865.c + + Middlewares/LoRaWAN/Mac/LoRaMacCrypto.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionIN865.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacCrypto.c - + Middlewares/LoRaWAN/Mac/LoRaMacFCntHandler.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacFCntHandler.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacFCntHandler.c - - Middlewares/LoRaWAN/Mac/LoRaMacSerializer.c + + Middlewares/LoRaWAN/Mac/LoRaMacParser.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacSerializer.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacParser.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_uart_ex.c + + Middlewares/LoRaWAN/Mac/LoRaMacSerializer.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacSerializer.c - - Middlewares/LoRaWAN/Mac/Regions/Region.c + + Middlewares/LoRaWAN/Utilities/low_power_manager.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/Region.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/low_power_manager.c - + Middlewares/LoRaWAN/Utilities/queue.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/queue.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/queue.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_pwr_ex.c + + Middlewares/LoRaWAN/Utilities/systime.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/systime.c - - Projects/End_Node/mlm32l0xx_hw.c + + Middlewares/LoRaWAN/Utilities/timeServer.c 1 - PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_hw.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/timeServer.c - - Middlewares/LoRaWAN/Mac/Regions/RegionEU433.c + + Middlewares/LoRaWAN/Utilities/trace.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionEU433.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/trace.c - - Middlewares/LoRaWAN/Crypto/soft-se.c + + Middlewares/LoRaWAN/Utilities/utilities.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_pwr.c + + Middlewares/LoRaWAN/Mac/Regions/Region.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/Region.c - - Middlewares/LoRaWAN/Core/lora.c + + Middlewares/LoRaWAN/Mac/Regions/RegionAS923.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Core/lora.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionAS923.c - + + Middlewares/LoRaWAN/Mac/Regions/RegionAU915.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionAU915.c + + Middlewares/LoRaWAN/Mac/Regions/RegionCN470.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCN470.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCN470.c - - Middlewares/LoRaWAN/Crypto/aes.c + + Middlewares/LoRaWAN/Mac/Regions/RegionCN779.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/aes.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCN779.c - - Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c + + Middlewares/LoRaWAN/Mac/Regions/RegionCommon.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCommon.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_tim_ex.c + + Middlewares/LoRaWAN/Mac/Regions/RegionEU433.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionEU433.c - - Drivers/BSP/CMWX1ZZABZ-0xx/mlm32l07x01.c + + Middlewares/LoRaWAN/Mac/Regions/RegionEU868.c 1 - PARENT-7-PROJECT_LOC/Drivers/BSP/CMWX1ZZABZ-0xx/mlm32l07x01.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionEU868.c - - Middlewares/LoRaWAN/Utilities/timeServer.c + + Middlewares/LoRaWAN/Mac/Regions/RegionIN865.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/timeServer.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionIN865.c - - Middlewares/LoRaWAN/Mac/Regions/RegionAS923.c + + Middlewares/LoRaWAN/Mac/Regions/RegionKR920.c 1 - PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionAS923.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionKR920.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rtc_ex.c + + Middlewares/LoRaWAN/Mac/Regions/RegionRU864.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionRU864.c - - Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rcc_ex.c + + Middlewares/LoRaWAN/Mac/Regions/RegionUS915.c 1 - PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionUS915.c - diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project_org b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project_org new file mode 100644 index 0000000..6106e41 --- /dev/null +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.project_org @@ -0,0 +1,430 @@ + + + mlm32l07x01 + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + fr.ac6.mcu.ide.core.MCUProjectNature + + + + Application/SW4STM32/startup_stm32l072xx.s + 1 + PARENT-1-PROJECT_LOC/startup_stm32l072xx.s + + + Projects/End_Node/mlm32l0xx_it.c + 1 + PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_it.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_cortex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_cortex.c + + + Projects/End_Node/debug.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/debug.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_adc_ex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc_ex.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionCommon.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCommon.c + + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_pressure.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_pressure.c + + + Drivers/BSP/Components/sx1276.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/sx1276/sx1276.c + + + B-L072Z-LRWAN1/b-l072z-lrwan1.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/B-L072Z-LRWAN1/b-l072z-lrwan1.c + + + Drivers/BSP/Components/LPS22HB_Driver.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps22hb/LPS22HB_Driver.c + + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_humidity.c + + + Middlewares/LoRaWAN/Crypto/cmac.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c + + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_temperature.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_temperature.c + + + Projects/End_Node/mlm32l0xx_hal_msp.c + 1 + PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_hal_msp.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_dma.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_dma.c + + + Projects/End_Node/vcom.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/vcom.c + + + Drivers/CMSIS/system_stm32l0xx.c + 1 + PARENT-7-PROJECT_LOC/Drivers/CMSIS/Device/ST/STM32L0xx/Source/Templates/system_stm32l0xx.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_uart.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart.c + + + Middlewares/LoRaWAN/Utilities/utilities.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionAU915.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionAU915.c + + + Middlewares/LoRaWAN/Mac/LoRaMacClassB.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacClassB.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionUS915.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionUS915.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionKR920.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionKR920.c + + + Middlewares/LoRaWAN/Mac/LoRaMacCommands.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacCommands.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_adc.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_adc.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionCN779.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCN779.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionEU868.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionEU868.c + + + Middlewares/LoRaWAN/Mac/LoRaMacParser.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacParser.c + + + Drivers/BSP/Components/LPS22HB_Driver_HL.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps22hb/LPS22HB_Driver_HL.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_i2c.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_i2c.c + + + Projects/End_Node/main.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/main.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_gpio.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_gpio.c + + + Drivers/BSP/Components/HTS221_Driver.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/hts221/HTS221_Driver.c + + + Middlewares/LoRaWAN/Mac/LoRaMacConfirmQueue.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacConfirmQueue.c + + + Middlewares/LoRaWAN/Mac/LoRaMac.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMac.c + + + Middlewares/LoRaWAN/Mac/LoRaMacCrypto.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacCrypto.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_spi.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_spi.c + + + Middlewares/LoRaWAN/Utilities/low_power_manager.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/low_power_manager.c + + + Doc/readme.txt + 1 + PARENT-2-PROJECT_LOC/readme.txt + + + Middlewares/LoRaWAN/Utilities/systime.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/systime.c + + + Projects/End_Node/bsp.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/bsp.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal.c + + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.c + + + Drivers/BSP/Components/HTS221_Driver_HL.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/hts221/HTS221_Driver_HL.c + + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_temperature.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_temperature.c + + + Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_humidity.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A2/x_nucleo_iks01a2_humidity.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rtc.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rcc.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc.c + + + Projects/End_Node/hw_rtc.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_rtc.c + + + Middlewares/LoRaWAN/Core/lora-test.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Core/lora-test.c + + + Middlewares/LoRaWAN/Utilities/trace.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/trace.c + + + Middlewares/LoRaWAN/Mac/LoRaMacAdr.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacAdr.c + + + Projects/End_Node/hw_gpio.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_gpio.c + + + Projects/End_Node/hw_spi.c + 1 + PARENT-2-PROJECT_LOC/LoRaWAN/App/src/hw_spi.c + + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_pressure.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1_pressure.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionRU864.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionRU864.c + + + Drivers/BSP/Components/LPS25HB_Driver_HL.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps25hb/LPS25HB_Driver_HL.c + + + Drivers/BSP/Components/LPS25HB_Driver.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/Components/lps25hb/LPS25HB_Driver.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_tim.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionIN865.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionIN865.c + + + Middlewares/LoRaWAN/Mac/LoRaMacFCntHandler.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacFCntHandler.c + + + Middlewares/LoRaWAN/Mac/LoRaMacSerializer.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/LoRaMacSerializer.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_uart_ex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_uart_ex.c + + + Middlewares/LoRaWAN/Mac/Regions/Region.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/Region.c + + + Middlewares/LoRaWAN/Utilities/queue.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/queue.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_pwr_ex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr_ex.c + + + Projects/End_Node/mlm32l0xx_hw.c + 1 + PARENT-2-PROJECT_LOC/Core/src/mlm32l0xx_hw.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionEU433.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionEU433.c + + + Middlewares/LoRaWAN/Crypto/soft-se.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_pwr.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_pwr.c + + + Middlewares/LoRaWAN/Core/lora.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Core/lora.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionCN470.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionCN470.c + + + Middlewares/LoRaWAN/Crypto/aes.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Crypto/aes.c + + + Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/X_NUCLEO_IKS01A1/x_nucleo_iks01a1.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_tim_ex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_tim_ex.c + + + Drivers/BSP/CMWX1ZZABZ-0xx/mlm32l07x01.c + 1 + PARENT-7-PROJECT_LOC/Drivers/BSP/CMWX1ZZABZ-0xx/mlm32l07x01.c + + + Middlewares/LoRaWAN/Utilities/timeServer.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Utilities/timeServer.c + + + Middlewares/LoRaWAN/Mac/Regions/RegionAS923.c + 1 + PARENT-7-PROJECT_LOC/Middlewares/Third_Party/LoRaWAN/Mac/region/RegionAS923.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rtc_ex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c + + + Drivers/STM32L0xx_HAL_Driver/stm32l0xx_hal_rcc_ex.c + 1 + PARENT-7-PROJECT_LOC/Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rcc_ex.c + + + + diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.settings/language.settings.xml b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.settings/language.settings.xml index 1f496b9..ae1031e 100644 --- a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.settings/language.settings.xml +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/.settings/language.settings.xml @@ -1,25 +1,25 @@ - + - + - + - + - + \ No newline at end of file diff --git a/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/mlm32l07x01_converter.log b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/mlm32l07x01_converter.log new file mode 100644 index 0000000..bad9d56 --- /dev/null +++ b/examples/devices/stm32/Projects/B-L072Z-LRWAN1/Applications/LoRa/End_Node/SW4STM32/mlm32l07x01/mlm32l07x01_converter.log @@ -0,0 +1,14 @@ +Project: mlm32l07x01 +Converter: ST System Workbench for STM32 project converter +Date: 20230716 + +Unknown value type "" for id gnu.c.link.option.libs on tool fr.ac6.managedbuild.tool.gnu.cross.c.linker +Unknown value type "" for id gnu.c.link.option.paths on tool fr.ac6.managedbuild.tool.gnu.cross.c.linker +Option fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.noexceptions is no longer supported +Option fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.nortti is no longer supported +Unknown value type "" for id gnu.both.asm.option.include.paths on tool fr.ac6.managedbuild.tool.gnu.cross.assembler +Unknown value type "" for id gnu.c.link.option.libs on tool fr.ac6.managedbuild.tool.gnu.cross.c.linker +Unknown value type "" for id gnu.c.link.option.paths on tool fr.ac6.managedbuild.tool.gnu.cross.c.linker +Option fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.noexceptions is no longer supported +Option fr.ac6.managedbuild.tool.gnu.cross.cpp.linker.nortti is no longer supported +Unknown value type "" for id gnu.both.asm.option.include.paths on tool fr.ac6.managedbuild.tool.gnu.cross.assembler diff --git a/examples/dummy-devices/start.sh b/examples/dummy-devices/start.sh index d86d9fb..c228e52 100644 --- a/examples/dummy-devices/start.sh +++ b/examples/dummy-devices/start.sh @@ -1,7 +1,8 @@ ##!/usr/bin/env bash #start stack -docker compose up -d +#docker compose up -d +docker-compose up -d # wait service to be up wait=0 diff --git a/examples/dummy-devices/stop.sh b/examples/dummy-devices/stop.sh index eb1c24e..c987787 100644 --- a/examples/dummy-devices/stop.sh +++ b/examples/dummy-devices/stop.sh @@ -9,4 +9,5 @@ curl --location --request DELETE 'localhost:4041/iot/devices/myDevice' \ --header 'fiware-service: smartgondor' \ --header 'fiware-servicepath: /environment' -docker compose down -v +#docker compose down -v +docker-compose down -v diff --git a/examples/stm32_ttn_tutorial/docker-compose.yml b/examples/stm32_ttn_tutorial/docker-compose.yml index d6b6629..72eef7d 100644 --- a/examples/stm32_ttn_tutorial/docker-compose.yml +++ b/examples/stm32_ttn_tutorial/docker-compose.yml @@ -37,7 +37,8 @@ services: - orion entrypoint: bin/iotagent-lora docker/config-docker.js hostname: iotagent-lora - image: ioeari/iotagent-lora + #image: ioeari/iotagent-lora + image: iot-agent:latest ports: - "4061:4041" stdin_open: true diff --git a/lib/applicationServers/ttnAppService.js b/lib/applicationServers/ttnAppService.js index b8b8d65..25a3c9b 100644 --- a/lib/applicationServers/ttnAppService.js +++ b/lib/applicationServers/ttnAppService.js @@ -101,6 +101,7 @@ class TtnAppService extends appService.AbstractAppService { preProcessMessage(mqttTopic, message) { regenerateTransid(mqttTopic); config.getLogger().info(context, 'New message in topic', mqttTopic); + config.getLogger().info(context, 'New message in topic22222', mqttTopic); const splittedMqttTopic = mqttTopic.split('/'); if (splittedMqttTopic.length !== 5) { const errorMessage = 'Bad format for a TTN topic'; @@ -130,10 +131,20 @@ class TtnAppService extends appService.AbstractAppService { } if (dataModel === 'application_server' && message.payload_fields) { + config.getLogger().info(context, 'debug: message.payload_fields'); intoTrans(localContext, this.messageHandler)(this, deviceId, deviceEui, message.payload_fields); } else if (message.payload_raw) { + config.getLogger().info(context, 'debug: message.payload_raw)'); intoTrans(localContext, this.messageHandler)(this, deviceId, deviceEui, message.payload_raw); + } else if (message.uplink_message && message.uplink_message.frm_payload) { + config.getLogger().info(context, 'debug: message.uplink_message.frm_payload'); + intoTrans(localContext, this.messageHandler)( + this, deviceId, + deviceEui, + message.uplink_message.frm_payload + ); } else if (message.uplink_message && message.uplink_message.decoded_payload) { + config.getLogger().info(context, 'debug: message.uplink_message.decoded_payload'); intoTrans(localContext, this.messageHandler)( this, deviceId,