
Lora Personalized device for Everynet
Dependencies: LMiCPersonalizedforEverynet SX1276Lib X_NUCLEO_IKS01A1 cantcoap lwip mbed-rtos mbed
Fork of LoRaWAN-test-10secs by
fwk.h
00001 /* 00002 * fwk.h 00003 * 00004 * Created on: 15 d�c. 2011 00005 * Author: Donatien 00006 */ 00007 00008 #ifndef FWK_H_ 00009 #define FWK_H_ 00010 00011 #include "config.h" 00012 00013 #include "string.h" 00014 //using namespace std; 00015 00016 #include "stdint.h" 00017 typedef unsigned int size_t; 00018 00019 #ifndef __cplusplus 00020 //boolean type compatibility 00021 typedef byte bool; 00022 #define true 1 00023 #define false 0 00024 #endif 00025 00026 #ifndef NULL 00027 #define NULL ((void*)0) 00028 #endif 00029 00030 #define CR '\x0D' 00031 #define LF '\x0A' 00032 #define GD '\x3E' 00033 #define BRK '\x1A' 00034 00035 //Custom utility classes 00036 //#include "IOStream.h" 00037 //#include "String.h" 00038 00039 //Error codes 00040 #include "errors.h" 00041 00042 //Debug 00043 #include "dbg.h" 00044 00045 //Utility macros 00046 #define MIN(x,y) (((x)<(y))?(x):(y)) 00047 #define MAX(x,y) (((x)>(y))?(x):(y)) 00048 00049 #endif /* FWK_H_ */
Generated on Wed Jul 13 2022 06:25:04 by
