Semtech stack for ELMO - ver. 4.1.0.
Fork of LoRaWAN_Semtech_stack_v4.1 by
mac/LoRaMacTest.h@5:cbb921e2a03b, 2016-04-22 (annotated)
- Committer:
- mleksio
- Date:
- Fri Apr 22 07:37:04 2016 +0000
- Revision:
- 5:cbb921e2a03b
- Parent:
- 1:2be292bd43f9
Removed unused files.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mleksio | 1:2be292bd43f9 | 1 | /*! |
mleksio | 1:2be292bd43f9 | 2 | * \file LoRaMacTest.h |
mleksio | 1:2be292bd43f9 | 3 | * |
mleksio | 1:2be292bd43f9 | 4 | * \brief LoRa MAC layer test function implementation |
mleksio | 1:2be292bd43f9 | 5 | * |
mleksio | 1:2be292bd43f9 | 6 | * \copyright Revised BSD License, see section \ref LICENSE. |
mleksio | 1:2be292bd43f9 | 7 | * |
mleksio | 1:2be292bd43f9 | 8 | * \code |
mleksio | 1:2be292bd43f9 | 9 | * ______ _ |
mleksio | 1:2be292bd43f9 | 10 | * / _____) _ | | |
mleksio | 1:2be292bd43f9 | 11 | * ( (____ _____ ____ _| |_ _____ ____| |__ |
mleksio | 1:2be292bd43f9 | 12 | * \____ \| ___ | (_ _) ___ |/ ___) _ \ |
mleksio | 1:2be292bd43f9 | 13 | * _____) ) ____| | | || |_| ____( (___| | | | |
mleksio | 1:2be292bd43f9 | 14 | * (______/|_____)_|_|_| \__)_____)\____)_| |_| |
mleksio | 1:2be292bd43f9 | 15 | * (C)2013 Semtech |
mleksio | 1:2be292bd43f9 | 16 | * |
mleksio | 1:2be292bd43f9 | 17 | * ___ _____ _ ___ _ _____ ___ ___ ___ ___ |
mleksio | 1:2be292bd43f9 | 18 | * / __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __| |
mleksio | 1:2be292bd43f9 | 19 | * \__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _| |
mleksio | 1:2be292bd43f9 | 20 | * |___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___| |
mleksio | 1:2be292bd43f9 | 21 | * embedded.connectivity.solutions=============== |
mleksio | 1:2be292bd43f9 | 22 | * |
mleksio | 1:2be292bd43f9 | 23 | * \endcode |
mleksio | 1:2be292bd43f9 | 24 | * |
mleksio | 1:2be292bd43f9 | 25 | * \author Miguel Luis ( Semtech ) |
mleksio | 1:2be292bd43f9 | 26 | * |
mleksio | 1:2be292bd43f9 | 27 | * \author Gregory Cristian ( Semtech ) |
mleksio | 1:2be292bd43f9 | 28 | * |
mleksio | 1:2be292bd43f9 | 29 | * \author Daniel Jäckle ( STACKFORCE ) |
mleksio | 1:2be292bd43f9 | 30 | * |
mleksio | 1:2be292bd43f9 | 31 | * \defgroup LORAMACTEST LoRa MAC layer test function implementation |
mleksio | 1:2be292bd43f9 | 32 | * This module specifies the API implementation of test function of the LoRaMAC layer. |
mleksio | 1:2be292bd43f9 | 33 | * The functions in this file are only for testing purposes only. |
mleksio | 1:2be292bd43f9 | 34 | * \{ |
mleksio | 1:2be292bd43f9 | 35 | */ |
mleksio | 1:2be292bd43f9 | 36 | #ifndef __LORAMACTEST_H__ |
mleksio | 1:2be292bd43f9 | 37 | #define __LORAMACTEST_H__ |
mleksio | 1:2be292bd43f9 | 38 | |
mleksio | 1:2be292bd43f9 | 39 | /*! |
mleksio | 1:2be292bd43f9 | 40 | * \brief Enabled or disables the reception windows |
mleksio | 1:2be292bd43f9 | 41 | * |
mleksio | 1:2be292bd43f9 | 42 | * \details This is a test function. It shall be used for testing purposes only. |
mleksio | 1:2be292bd43f9 | 43 | * Changing this attribute may lead to a non-conformance LoRaMac operation. |
mleksio | 1:2be292bd43f9 | 44 | * |
mleksio | 1:2be292bd43f9 | 45 | * \param [IN] enable - Enabled or disables the reception windows |
mleksio | 1:2be292bd43f9 | 46 | */ |
mleksio | 1:2be292bd43f9 | 47 | void LoRaMacTestRxWindowsOn( bool enable ); |
mleksio | 1:2be292bd43f9 | 48 | |
mleksio | 1:2be292bd43f9 | 49 | /*! |
mleksio | 1:2be292bd43f9 | 50 | * \brief Enables the MIC field test |
mleksio | 1:2be292bd43f9 | 51 | * |
mleksio | 1:2be292bd43f9 | 52 | * \details This is a test function. It shall be used for testing purposes only. |
mleksio | 1:2be292bd43f9 | 53 | * Changing this attribute may lead to a non-conformance LoRaMac operation. |
mleksio | 1:2be292bd43f9 | 54 | * |
mleksio | 1:2be292bd43f9 | 55 | * \param [IN] txPacketCounter - Fixed Tx packet counter value |
mleksio | 1:2be292bd43f9 | 56 | */ |
mleksio | 1:2be292bd43f9 | 57 | void LoRaMacTestSetMic( uint16_t txPacketCounter ); |
mleksio | 1:2be292bd43f9 | 58 | |
mleksio | 1:2be292bd43f9 | 59 | /*! |
mleksio | 1:2be292bd43f9 | 60 | * \brief Enabled or disables the duty cycle |
mleksio | 1:2be292bd43f9 | 61 | * |
mleksio | 1:2be292bd43f9 | 62 | * \details This is a test function. It shall be used for testing purposes only. |
mleksio | 1:2be292bd43f9 | 63 | * Changing this attribute may lead to a non-conformance LoRaMac operation. |
mleksio | 1:2be292bd43f9 | 64 | * |
mleksio | 1:2be292bd43f9 | 65 | * \param [IN] enable - Enabled or disables the duty cycle |
mleksio | 1:2be292bd43f9 | 66 | */ |
mleksio | 1:2be292bd43f9 | 67 | void LoRaMacTestSetDutyCycleOn( bool enable ); |
mleksio | 1:2be292bd43f9 | 68 | |
mleksio | 1:2be292bd43f9 | 69 | /*! \} defgroup LORAMACTEST */ |
mleksio | 1:2be292bd43f9 | 70 | |
mleksio | 1:2be292bd43f9 | 71 | #endif // __LORAMACTEST_H__ |