STM32LoRaWAN
|
Main header for the STM32LoRaWAN library. More...
#include "Arduino.h"
#include "STM32CubeWL/LoRaWAN/Mac/LoRaMac.h"
#include "BSP/mw_log_conf.h"
#include "BSP/timer_if.h"
#include "STM32RTC.h"
Go to the source code of this file.
Classes | |
class | STM32LoRaWAN |
Typedefs | |
using | _lora_class = DeviceClass_t |
using | LoRaModem = STM32LoRaWAN |
Enumerations | |
enum | _lora_band { AS923 = LORAMAC_REGION_AS923 , AU915 = LORAMAC_REGION_AU915 , CN470 = LORAMAC_REGION_CN470 , CN779 = LORAMAC_REGION_CN779 , EU433 = LORAMAC_REGION_EU433 , EU868 = LORAMAC_REGION_EU868 , KR920 = LORAMAC_REGION_KR920 , IN865 = LORAMAC_REGION_IN865 , US915 = LORAMAC_REGION_US915 , RU864 = LORAMAC_REGION_RU864 } |
enum | _rf_mode { RFO = 0 , PABOOST } |
Main header for the STM32LoRaWAN library.
API based on the MKRWAN / MKRWAN_v2 library.
Copyright (c) 2022 STMicroelectronics. All rights reserved.
Revised BSD License - https://spdx.org/licenses/BSD-3-Clause.html
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
using _lora_class = DeviceClass_t |
using LoRaModem = STM32LoRaWAN |
enum _lora_band |
Supported regions, to be passed to STM32LoRaWAN::begin() to select region-specific settings and frequency plan.
Enumerator | |
---|---|
AS923 | |
AU915 | |
CN470 | |
CN779 | |
EU433 | |
EU868 | |
KR920 | |
IN865 | |
US915 | |
RU864 |
enum _rf_mode |