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.
Fork of LoRaWAN-lib by
Revision 5:2477c924494a, committed 2016-05-18
- Comitter:
- mluis
- Date:
- Wed May 18 11:17:33 2016 +0000
- Parent:
- 4:37c12dbc8dc7
- Child:
- 6:d7a34ded7c87
- Commit message:
- Removed the TxPower limitation for US band on LoRaMacMibSetRequestConfirm function.; The power will be limited anyway when the SendFrameOnChannel functions is called.
Changed in this revision
| LoRaMac.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/LoRaMac.cpp Fri May 13 14:51:50 2016 +0000
+++ b/LoRaMac.cpp Wed May 18 11:17:33 2016 +0000
@@ -3346,19 +3346,7 @@
if( ValueInRange( mibSet->Param.ChannelsTxPower,
LORAMAC_MAX_TX_POWER, LORAMAC_MIN_TX_POWER ) )
{
-#if defined( USE_BAND_915 ) || defined( USE_BAND_915_HYBRID )
- int8_t txPower = LimitTxPower( mibSet->Param.ChannelsTxPower );
- if( txPower == mibSet->Param.ChannelsTxPower )
- {
- ChannelsTxPower = mibSet->Param.ChannelsTxPower;
- }
- else
- {
- status = LORAMAC_STATUS_PARAMETER_INVALID;
- }
-#else
ChannelsTxPower = mibSet->Param.ChannelsTxPower;
-#endif
}
else
{
