Bleeding edge development version of the xDot library for mbed 5. This version of the library is not guaranteed to be stable or well tested and should not be used in production or deployment scenarios.

Dependents:   Dot-Examples Dot-AT-Firmware Dot-Examples TEST_FF1705 ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ChannelPlan_AS923_Japan.h Source File

ChannelPlan_AS923_Japan.h

00001 /**   __  ___     ____  _    ______        __     ____         __                  ____
00002  *   /  |/  /_ __/ / /_(_)__/_  __/__ ____/ /    / __/_ _____ / /____ __ _  ___   /  _/__  ____
00003  *  / /|_/ / // / / __/ /___// / / -_) __/ _ \  _\ \/ // (_-</ __/ -_)  ' \(_-<  _/ // _ \/ __/ __
00004  * /_/  /_/\_,_/_/\__/_/    /_/  \__/\__/_//_/ /___/\_, /___/\__/\__/_/_/_/___/ /___/_//_/\__/ /_/
00005  * Copyright (C) 2015 by Multi-Tech Systems        /___/
00006  *
00007  *
00008  * @author Mike Fiore
00009  * @date   5-16-2017
00010  * @brief  lora::ChannelPlan provides an interface for LoRaWAN channel schemes
00011  *
00012  * @details
00013  *
00014  */
00015 
00016 #ifndef __CHANNEL_PLAN_AS923_JAPAN_H__
00017 #define __CHANNEL_PLAN_AS923_JAPAN_H__
00018 
00019 #include "ChannelPlan_AS923.h"
00020 
00021 namespace lora {
00022 
00023     class ChannelPlan_AS923_Japan: public lora::ChannelPlan_AS923 {
00024         public:
00025             /**
00026              * ChannelPlan constructor
00027              * @param radio SxRadio object used to set Tx/Rx config
00028              * @param settings Settings object
00029              */
00030             ChannelPlan_AS923_Japan();
00031             ChannelPlan_AS923_Japan(Settings* settings);
00032             ChannelPlan_AS923_Japan(SxRadio* radio, Settings* settings);
00033 
00034             /**
00035              * ChannelPlan destructor
00036              */
00037             virtual ~ChannelPlan_AS923_Japan();
00038 
00039             /**
00040              * Initialize channels, datarates and duty cycle bands according to current channel plan in settings
00041              */
00042             virtual void Init();
00043 
00044             /**
00045              * Set LBT time and threshold to defaults
00046              */
00047             virtual void DefaultLBT();
00048     };
00049 }
00050 
00051 #endif //__CHANNEL_PLAN_AS923JAPAN_H__