end node on synchronous star LoRa network.

Dependencies:   SX127x sx12xx_hal TSL2561

Embed: (wiki syntax)

« Back to documentation index

LoRa MAC layer test function implementation

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.
void LoRaMacTestSetChannel (uint8_t channel)
 Sets the channel index.

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

Definition at line 2552 of file LoRaMacSingle.cpp.

void LoRaMacTestSetChannel ( uint8_t  channel )

Sets the channel index.

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]channel - Channel index

Definition at line 2563 of file LoRaMacSingle.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
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

Definition at line 2557 of file LoRaMacSingle.cpp.