Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: ChannelPlan.h
- Revision:
- 70:0c5b5b02d17b
- Parent:
- 69:e22889c7eaa9
- Child:
- 72:b1e07ec1c30d
--- a/ChannelPlan.h Thu Aug 29 12:21:51 2019 -0500 +++ b/ChannelPlan.h Fri Nov 08 09:29:29 2019 -0600 @@ -77,7 +77,7 @@ * ChannelPlan destructor */ virtual ~ChannelPlan(); - + /** * Checks that at least one channel exist for the data rate */ @@ -565,7 +565,7 @@ virtual void DefaultLBT(); virtual bool ListenBeforeTalk(); - + /** * use to clear downlink channels on join */ @@ -595,6 +595,11 @@ * Get default number of channels for a plan */ virtual uint8_t GetNumDefaultChans(); + + /* + * Search enabled channels for lowest available datarate + */ + virtual uint8_t GetMinEnabledDatarate(); protected: SxRadio* GetRadio(); //!< Get pointer to the SxRadio object or assert if it is null @@ -639,7 +644,7 @@ uint8_t _numChans125k; //!< Number of 125K channels in plan uint8_t _numChans500k; //!< Number of 500K channels in plan uint8_t _numDefaultChans; //!< Number of default channels in plan - + uint16_t _LBT_TimeUs; //!< Sample time in us for LBT int8_t _LBT_Threshold; //!< Threshold in dBm for LBT