Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
1.8 KiB

  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. #ifdef __cplusplus
  39. extern "C"
  40. {
  41. #endif
  42. /*!
  43. * \brief Enabled or disables the duty cycle
  44. *
  45. * \details This is a test function. It shall be used for testing purposes only.
  46. * Changing this attribute may lead to a non-conformance LoRaMac operation.
  47. *
  48. * \param [IN] enable - Enabled or disables the duty cycle
  49. */
  50. void LoRaMacTestSetDutyCycleOn( bool enable );
  51. /*! \} defgroup LORAMACTEST */
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55. #endif // __LORAMACTEST_H__