f24e7c2171790e44d6c9fdfb2d675aabb968f943
Tech-dat/Network-dat/RF-dat/LORA-DAT/Lora-SDK-dat/Lora-SDK-dat.md
| ... | ... | @@ -1,33 +1,34 @@ |
| 1 | - |
|
| 2 | 1 | # Lora-SDK-dat |
| 3 | 2 | |
| 4 | -## stm32 code |
|
| 3 | +## stm32 code |
|
| 5 | 4 | |
| 6 | 5 |  |
| 7 | 6 | |
| 8 | -路径:LR_driversrc中的文件就是lora的驱动,该驱动为在semtech下载的驱动文件,仅做了对STM32F103适配HAL库的修改,其他未做改动。 |
|
| 7 | +Path: The files in LR_driversrc are the LoRa drivers. These drivers are downloaded from Semtech and only modified to adapt to the STM32F103 HAL library; no other changes have been made. |
|
| 8 | + |
|
| 9 | +The sx126xhal.c file is used for direct data interaction and control with the LoRa module. In theory, to port to a new IC, you only need to modify this part. |
|
| 9 | 10 | |
| 10 | -其中的sx126xhal.c文件为直接与LORA模组进行数据交互和控制的文件,移植时理论上只要修改这一部分即可适配到新的IC上。 |
|
| 11 | +Path: The UserConfig.c file in LR_driver is a common file generated when adapting the IC driver. It includes some configurations such as SPI, dio1 pins, etc. Modify it as needed during porting. |
|
| 11 | 12 | |
| 12 | -路径:LR_driver下的UserConfig.c/文件是在适配IC驱动时产生的公共文件,包括一些SPl,dio1引脚等的一些配置,移植时进行修改即可使用。 |
|
| 13 | +- Core: Core files extracted from the SDK for easier modification |
|
| 14 | +- Driver: User-written peripheral driver files |
|
| 15 | +- LR_driver: LoRa (LLCC68, SX1262 shared) RF driver files, currently downloaded from Semtech's official website |
|
| 16 | +- Main: Main function file and configuration files |
|
| 17 | +- Project: Project files, including target binary files |
|
| 18 | +- queue: This file is a queue SPI interface. Add the path and include it to use. The demo is used for UART data processing |
|
| 19 | +- SDK: CMSIS and HAL libraries, only the used libraries are included. Add other peripheral libraries as needed |
|
| 20 | +- Readme.txt: Project description file |
|
| 13 | 21 | |
| 14 | -- Core:从SDK抽取的核心文件,方便修改 |
|
| 15 | -- Driver:用户编写的外设驱动文件 |
|
| 16 | -- LR_driver:lora(LLCC68,SX1262公用)射频驱动文件,当前为Semtech官网下载 |
|
| 17 | -- Main:主函数文件,及配置文件 |
|
| 18 | -- Project:工程文件,包含目标二进制文件 |
|
| 19 | -- queue:该文件为队列spi接口,添加路径和引l用即可调用,demo用于UART的数据处理 |
|
| 20 | -- SDK:CMSIS和HAL库,只包含用到的库,添加其它外设需要添加相应库 |
|
| 21 | -- Readme.txt:工程说明文件 |
|
| 22 | 22 | |
| 23 | 23 | |
| 24 | -## code |
|
| 24 | + |
|
| 25 | +## code |
|
| 25 | 26 | |
| 26 | 27 | - info for EE22, EE32, EE2 == https://github.com/Edragon/lora |
| 27 | 28 | - lora2 designs == https://github.com/Edragon/Lora2 |
| 28 | 29 | - https://github.com/Edragon/alios-asr-lora |
| 30 | +- E:\Git-category\git-lora |
|
| 29 | 31 | |
| 30 | - |
|
| 31 | -## ref |
|
| 32 | +## ref |
|
| 32 | 33 | |
| 33 | 34 | - [[lora-dat]] |
| ... | ... | \ No newline at end of file |
Tech-dat/Network-dat/RF-dat/LORA-DAT/Lora-dat.md
| ... | ... | @@ -114,6 +114,16 @@ LoRa devices and networks (such as LoRaWAN) enable smart IoT applications to hel |
| 114 | 114 | | HF | 850~930 MHz | Europe, America, Oceania | |
| 115 | 115 | | LF | 410~510 MHz | Asia, Europe | |
| 116 | 116 | |
| 117 | +LoRa工作在不同地区的频段范围如下: |
|
| 118 | + |
|
| 119 | +- 中国:470mhz |
|
| 120 | +- 美国:902-928mhz |
|
| 121 | +- 印度:865-867MHz |
|
| 122 | +- 欧洲:863-870/873MHz |
|
| 123 | +- 澳大利亚:915MHz |
|
| 124 | +- 韩国:920-923MHz |
|
| 125 | +- 部分亚洲地区:923MHz |
|
| 126 | + |
|
| 117 | 127 | |
| 118 | 128 | ## common configuration |
| 119 | 129 | |
| ... | ... | @@ -123,7 +133,7 @@ LoRa devices and networks (such as LoRaWAN) enable smart IoT applications to hel |
| 123 | 133 | | Bandwidth | 0: 125KHz | 1: 250KHz, 2: 500KHz | |
| 124 | 134 | | Coding Rate | 4/5 | 4/5, 4/6, 4/7, 4/8 | |
| 125 | 135 | | Transmit Power | 22dBm | 10~22dBm | |
| 126 | -| Network ID | 0 | 0~255 | |
|
| 136 | +| **Network ID** | 0 | 0~255 | |
|
| 127 | 137 | | LBT (Listen Before Talk) | 0: Disabled | 1: Enabled | |
| 128 | 138 | | **Working Mode** | 1: Stream Mode | 2: Packet Mode, 3: Relay Mode | |
| 129 | 139 | | **TX Channel (HF)** | 18 (868MHz) | 0~80 (850~930MHz or 410~490MHz) | |
| ... | ... | @@ -142,6 +152,8 @@ LoRa devices and networks (such as LoRaWAN) enable smart IoT applications to hel |
| 142 | 152 | - [[RFM92-dat]] |
| 143 | 153 | |
| 144 | 154 | |
| 155 | +## demo code |
|
| 156 | + |
|
| 145 | 157 | |
| 146 | 158 | |
| 147 | 159 |