# LoRaWAN endpoint stack implementation and example projects
______ _
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013-2018 Semtech
___ _____ _ ___ _ _____ ___ ___ ___ ___
/ __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __|
\__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _|
|___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___|
embedded.connectivity.solutions===============
## Introduction
The aim of this project is to show an example of the endpoint LoRaWAN stack implementation.
This LoRaWAN stack implements all regions defined in "LoRaWAN Regional Parameters v1.0.2rB" document. Class A and Class C endpoint implementation
is fully compatible with "LoRaWAN specification 1.0.2".
Each LoRaWAN application example includes the LoRaWAN certification protocol implementation.
SX1272/76 radio drivers are also provided.
In case only point to point links are required a Ping-Pong application is provided as example.
*The LoRaWAN stack API documentation can be found at: http://stackforce.github.io/LoRaMac-doc/*
## System schematic and definitions
The available supported hardware platforms schematics can be found in the Doc directory.
## Acknowledgments
The mbed (https://mbed.org/) project was used at the beginning as source of
inspiration.
This program uses the AES algorithm implementation (http://www.gladman.me.uk/) by Brian Gladman.
This program uses the CMAC algorithm implementation
(http://www.cse.chalmers.se/research/group/dcs/masters/contikisec/) by Lander Casado, Philippas Tsigas.
## Dependencies
This program depends on specific hardware platforms. Currently the supported
platforms are:
* LoRaMote
* **MCU** : STM32L151CB - 128K FLASH, 10K RAM, Timers, SPI, I2C,
USART,
USB 2.0 full-speed device/host/OTG controller,
DAC, ADC, DMA
* **RADIO** : SX1272
* **ANTENNA** : Printed circuit antenna
* **BUTTONS** : No
* **LEDS** : 3
* **SENSORS** : Proximity, Magnetic, 3 axis Accelerometer, Pressure, Temperature
* **GPS** : Yes, UP501 module
* **EXTENSION HEADER** : Yes, 20 pins
* **REMARK** : The MCU and Radio are on an IMST iM880A module
* MoteII
* **MCU** : STM32L051C8 - 64K FLASH, 8K RAM, Timers, SPI, I2C,
USART,
USB 2.0 full-speed device/host/OTG controller (Not used),
DAC, ADC, DMA
* **RADIO** : SX1272
* **ANTENNA** : Printed circuit antenna
* **BUTTONS** : 3
* **LEDS** : 3
* **SENSORS** : Magnetic, 3 axis Accelerometer, Pressure, Temperature
* **GPS** : Yes, PAM7Q module
* **Display** : OLED
* **ST-Link** : Yes, MBED like
* **EXTENSION HEADER** : Yes, 20 pins
* **REMARK** : The MCU and Radio are on an IMST iM881A module
* NAMote72
* **MCU** : STM32L152RC - 256K FLASH, 32K RAM, Timers, SPI, I2C,
USART,
USB 2.0 full-speed device/host/OTG controller (Not used),
DAC, ADC, DMA
* **RADIO** : SX1272
* **ANTENNA** : Printed circuit antenna
* **BUTTONS** : No
* **LEDS** : 4
* **SENSORS** : Magnetic, 3 axis Accelerometer, Pressure, Temperature
* **GPS** : Yes, SIM39EA module
* **Display** : No
* **ST-Link** : Yes, MBED like
* **EXTENSION HEADER** : Yes, Arduino connectors
* **REMARK** : None
* SAML21
* [SAML21 platform documentation](Doc/SAML21-platform.md)
* SensorNode
* **MCU** : STM32L151CBU6 - 128K FLASH, 16K RAM, Timers, SPI, I2C,
USART,
USB 2.0 full-speed device/host/OTG controller,
DAC, ADC, DMA
* **RADIO** : SX1276
* **ANTENNA** : Printed circuit antenna
* **BUTTONS** : Power ON/OFF, General purpose button
* **LEDS** : 3
* **SENSORS** : Proximity, Magnetic, 3 axis Accelerometer, Pressure, Temperature
* **GPS** : Yes, SIM39EA module
* **EXTENSION**: No
* **REMARK** : None
* SK-iM880A ( IMST starter kit )
* **MCU** : STM32L151CB - 128K FLASH, 10K RAM, Timers, SPI, I2C,
USART,
USB 2.0 full-speed device/host/OTG controller,
DAC, ADC, DMA
* **RADIO** : SX1272
* **ANTENNA** : Connector for external antenna
* **BUTTONS** : 1 Reset, 3 buttons + 2 DIP-Switch
* **LEDS** : 3
* **SENSORS** : Potentiometer
* **GPS** : Possible through pin header GPS module connection
* **SDCARD** : No
* **EXTENSION HEADER** : Yes, all IMST iM880A module pins
* **REMARK** : None
## Usage
A CMAKE building system is used in order to generate the right set of files to compile and debug the different projects.
Further information can be found in [Development environment](Doc/development-environment.md) document.
## Changelog
### 2018-03-07, V4.4.1
* General
1. Release based on "LoRaWAN specification 1.0.2" and "LoRaWAN Regional Parameters v1.0.2rB"
2. Added SX126x radio support.
3. Added NucleoL073 and NucleoL152 board platforms support.
4. Added Microchip/Atmel SAML21 Xplained Pro hardware platform support.
5. Added CMAKE build system support
6. Removed CoIDE projects support
7. Removed Keil projects support
* LoRaWAN
1. GitHub reported issues corrections. Please refer to [Release Version 4.4.1](https://github.com/Lora-net/LoRaMac-node/milestone/1)
**LoRaWAN certification results**
| Region | Verdict | # Test houses | Comments |
| ------------- |:-------------:|:-------------:|:--------------|
| EU868 | <font color='green'>PASS</font> | 0 | - |
| US915 | <font color='green'>PASS</font> | 0 | - |
| CN779 | <font color='green'>PASS</font> | 0 | No certification specification - tests based on EU868 certification |
| EU433 | <font color='orange'>Not tested</font> | 0 | No certification specification - tests based on EU868 certification |
| AU915 | <font color='green'>PASS</font> | 0 | No certification specification - tests based on US915 certification |
| CN470 | <font color='orange'>Not tested</font> | 0 | No certification specification |
| AS923 | <font color='green'>PASS</font> | 0 | - |
| KR920 | <font color='green'>PASS</font> | 0 | - |
| IN865 | <font color='green'>PASS</font> | 0 | - |
### 2017-09-08, V4.4.0
* General
1. First release based on "LoRaWAN specification 1.0.2" and "LoRaWAN Regional Parameters v1.0.2rB"
2. This version has passed the LoRa-Alliance compliance tests for the regions shown in the below table.
3. GitHub reported issues corrections.
4. Updated radio driver to perform the LBT carrier sense continuously for a given period of time.
* LoRaWAN
1. GitHub reported issues corrections.
2. Updated implementation to support 1.0.2 specification additions.
3. Added the support for all "LoRaWAN Regional Parameters v1.0.2rB" document defined regions.
**LoRaWAN certification results**
| Region | Verdict | # Test houses | Comments |
| ------------- |:-------------:|:-------------:|:--------------|
| EU868 | <font color='green'>PASS</font> | 2 | - |
| US915 | <font color='green'>PASS</font> | 2 | - |
| CN779 | <font color='orange'>Partial PASS</font> | 1 | No certification specification - tests based on EU868 certification - All tests PASS except 1. Join Accept Rx2 parameters not being applied (under investigation) |
| EU433 | <font color='green'>PASS</font>
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
LoraWAN终端源码! (992个子文件)
stm32l1xx_hal_i2c.c 167KB
stm32l1xx_hal_tim.c 159KB
stm32l0xx_hal_tim.c 158KB
stm32l0xx_hal_i2c.c 128KB
LoRaMac.c 112KB
stm32l1xx_hal_sd.c 107KB
stm32l1xx_hal_rtc_ex.c 104KB
stm32l0xx_hal_adc.c 81KB
stm32l1xx_hal_adc.c 80KB
stm32l0xx_hal_spi.c 79KB
hpl_sercom.c 79KB
stm32l0xx_hal_cryp.c 71KB
stm32l1xx_hal_cryp.c 71KB
stm32l1xx_hal_spi.c 69KB
stm32l0xx_hal_smbus.c 69KB
stm32l0xx_hal_rtc_ex.c 66KB
stm32l1xx_hal_flash_ex.c 66KB
stm32l0xx_hal_uart.c 66KB
stm32l1xx_hal_usart.c 65KB
sx1276.c 64KB
stm32l1xx_hal_uart.c 64KB
stm32l0xx_hal_usart.c 58KB
sx1272.c 57KB
stm32l0xx_hal_lptim.c 52KB
stm32l1xx_hal_irda.c 52KB
stm32l0xx_hal_rtc.c 51KB
stm32l1xx_hal_rcc.c 51KB
stm32l0xx_hal_rcc.c 50KB
Region.c 50KB
stm32l0xx_hal_i2s.c 49KB
stm32l1xx_hal_i2s.c 48KB
stm32l0xx_hal_irda.c 48KB
stm32l1xx_hal_smartcard.c 46KB
stm32l0xx_hal_smartcard.c 46KB
stm32l1xx_hal_opamp.c 45KB
stm32l1xx_ll_adc.c 41KB
stm32l0xx_hal_flash_ex.c 39KB
stm32l1xx_hal_pcd.c 38KB
stm32l0xx_hal_rcc_ex.c 38KB
stm32l0xx_hal_pcd.c 38KB
radio.c 37KB
stm32l0xx_hal_dac_ex.c 37KB
stm32l1xx_hal_opamp_ex.c 36KB
stm32l1xx_hal_adc_ex.c 36KB
stm32l1xx_hal_dac.c 34KB
stm32l1xx_hal_nor.c 34KB
main.c 33KB
stm32l1xx_ll_rtc.c 33KB
RegionAS923.c 33KB
main.c 33KB
main.c 33KB
stm32l1xx_ll_tim.c 33KB
stm32l0xx_ll_rtc.c 33KB
stm32l0xx_ll_tim.c 33KB
aes.c 32KB
stm32l1xx_hal_rtc.c 31KB
usbd_dfu.c 31KB
RegionIN865.c 31KB
RegionEU868.c 31KB
RegionKR920.c 31KB
RegionEU433.c 30KB
RegionCN779.c 30KB
RegionUS915-Hybrid.c 30KB
stm32l1xx_hal_dma.c 29KB
stm32l1xx_hal_comp.c 29KB
display-board.c 29KB
stm32l0xx_ll_adc.c 29KB
stm32l0xx_hal_comp.c 29KB
main.c 29KB
main.c 29KB
usbd_cdc.c 29KB
main.c 29KB
main.c 29KB
main.c 29KB
main.c 29KB
main.c 28KB
main.c 28KB
main.c 28KB
stm32l0xx_hal_pwr.c 28KB
screen.c 27KB
screen.c 27KB
screen.c 27KB
stm32l1xx_hal_pwr.c 27KB
stm32l0xx_hal_dac.c 27KB
stm32l0xx_hal_flash.c 27KB
RegionUS915.c 27KB
RegionAU915.c 26KB
main.c 26KB
main.c 26KB
main.c 26KB
main.c 26KB
main.c 26KB
main.c 26KB
stm32l0xx_hal_tsc.c 25KB
main.c 25KB
main.c 25KB
main.c 25KB
main.c 25KB
stm32l0xx_hal_dma.c 25KB
main.c 25KB
共 992 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10
资源评论
- qq_230048032018-12-25看看 有何利用价值
weixin_43305657
- 粉丝: 2
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功