1 /*! 2 * \file LoRaMacTest.h 3 * 4 * \brief LoRa MAC layer test function implementation 5 * 6 * \copyright Revised BSD License, see section \ref LICENSE. 7 * 8 * \code 9 * ______ _ 10 * / _____) _ | | 11 * ( (____ _____ ____ _| |_ _____ ____| |__ 12 * \____ \| ___ | (_ _) ___ |/ ___) _ \ 13 * _____) ) ____| | | || |_| ____( (___| | | | 14 * (______/|_____)_|_|_| \__)_____)\____)_| |_| 15 * (C)2013-2017 Semtech 16 * 17 * ___ _____ _ ___ _ _____ ___ ___ ___ ___ 18 * / __|_ _/_\ / __| |/ / __/ _ \| _ \/ __| __| 19 * \__ \ | |/ _ \ (__| ' <| _| (_) | / (__| _| 20 * |___/ |_/_/ \_\___|_|\_\_| \___/|_|_\\___|___| 21 * embedded.connectivity.solutions=============== 22 * 23 * \endcode 24 * 25 * \author Miguel Luis ( Semtech ) 26 * 27 * \author Gregory Cristian ( Semtech ) 28 * 29 * \author Daniel Jaeckle ( STACKFORCE ) 30 * 31 * \defgroup LORAMACTEST LoRa MAC layer test function implementation 32 * This module specifies the API implementation of test function of the LoRaMAC layer. 33 * The functions in this file are only for testing purposes only. 34 * \{ 35 */ 36 #ifndef __LORAMACTEST_H__ 37 #define __LORAMACTEST_H__ 38 39 #ifdef __cplusplus 40 extern "C" 41 { 42 #endif 43 44 /*! 45 * \brief Enabled or disables the duty cycle 46 * 47 * \details This is a test function. It shall be used for testing purposes only. 48 * Changing this attribute may lead to a non-conformance LoRaMac operation. 49 * 50 * \param [IN] enable - Enabled or disables the duty cycle 51 */ 52 void LoRaMacTestSetDutyCycleOn( bool enable ); 53 54 /*! \} defgroup LORAMACTEST */ 55 56 #ifdef __cplusplus 57 } 58 #endif 59 60 #endif // __LORAMACTEST_H__ 61