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.
Dependencies: LoRaWAN-lib mbed lib_mpl3115a2 lib_mma8451q lib_gps SX1272Lib
Dependents: LoRaWAN-NAMote72-BVS-confirmed-tester-0-7v1_copy
ComplianceTest.h
00001 /* 00002 / _____) _ | | 00003 ( (____ _____ ____ _| |_ _____ ____| |__ 00004 \____ \| ___ | (_ _) ___ |/ ___) _ \ 00005 _____) ) ____| | | || |_| ____( (___| | | | 00006 (______/|_____)_|_|_| \__)_____)\____)_| |_| 00007 (C)2015 Semtech 00008 00009 Description: Definition of parameters for Compliance Test 00010 00011 License: Revised BSD License, see LICENSE.TXT file include in the project 00012 00013 Maintainer: Miguel Luis and Gregory Cristian 00014 */ 00015 #ifndef __COMPLIANCE_H__ 00016 #define __COMPLIANCE_H__ 00017 00018 #include "mbed.h" 00019 #include "Common.h" 00020 #include "Config.h" 00021 #include "LoRaMac.h" 00022 #include "LoRaDeviceStateProc.h" 00023 00024 #define COMPLIANCE_TX_DUTYCYCLE 5000 // 5sec 00025 00026 struct ComplianceTest_s 00027 { 00028 bool Running; 00029 uint8_t State; 00030 bool IsTxConfirmed; 00031 uint8_t AppPort; 00032 uint8_t AppDataSize; 00033 uint8_t *AppDataBuffer; 00034 uint16_t DownLinkCounter; 00035 bool LinkCheck; 00036 uint8_t DemodMargin; 00037 uint8_t NbGateways; 00038 }; 00039 00040 extern ComplianceTest_s ComplianceTest; 00041 00042 void PrepareComplianceTestFrame( McpsIndication_t *mcpsIndication ); 00043 void RunComplianceTest( void ); 00044 void DisableComplianceTest( void ); 00045 00046 #endif // __COMPLIANCE_H__
Generated on Fri Jul 15 2022 22:53:35 by
