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
LoRa MAC layer test function implementation
Functions | |
void | LoRaMacTestRxWindowsOn (bool enable) |
Enabled or disables the reception windows. | |
void | LoRaMacTestSetMic (uint16_t txPacketCounter) |
Enables the MIC field test. | |
void | LoRaMacTestSetDutyCycleOn (bool enable) |
Enabled or disables the duty cycle. |
Detailed Description
This module specifies the API implementation of test function of the LoRaMAC layer. The functions in this file are only for testing purposes only.
Function Documentation
void LoRaMacTestRxWindowsOn | ( | bool | enable ) |
Enabled or disables the reception windows.
This is a test function. It shall be used for testing purposes only. Changing this attribute may lead to a non-conformance LoRaMac operation.
- Parameters:
-
[IN] enable - Enabled or disables the reception windows
Disables/Enables the reception windows opening
- Parameters:
-
[IN] enable [true: enable, false: disable]
Definition at line 3804 of file LoRaMac.cpp.
void LoRaMacTestSetDutyCycleOn | ( | bool | enable ) |
Enabled or disables the duty cycle.
This is a test function. It shall be used for testing purposes only. Changing this attribute may lead to a non-conformance LoRaMac operation.
- Parameters:
-
[IN] enable - Enabled or disables the duty cycle
Disables/Enables the duty cycle enforcement (EU868)
- Parameters:
-
[IN] enable - Enabled or disables the duty cycle
Definition at line 3815 of file LoRaMac.cpp.
void LoRaMacTestSetMic | ( | uint16_t | txPacketCounter ) |
Enables the MIC field test.
This is a test function. It shall be used for testing purposes only. Changing this attribute may lead to a non-conformance LoRaMac operation.
- Parameters:
-
[IN] txPacketCounter - Fixed Tx packet counter value
Enables the MIC field test
- Parameters:
-
[IN] upLinkCounter Fixed Tx packet counter value
Definition at line 3809 of file LoRaMac.cpp.
Generated on Thu Jul 14 2022 07:48:32 by
