Lora Personalized device for Everynet

Dependencies:   LMiCPersonalizedforEverynet SX1276Lib X_NUCLEO_IKS01A1 cantcoap lwip mbed-rtos mbed

Fork of LoRaWAN-test-10secs by Alcatel-Lucent IoT Development

core/fwk.h

Committer:
pnysten
Date:
2016-09-23
Revision:
14:acbcd0b888ca
Parent:
4:5e274bf85bf0

File content as of revision 14:acbcd0b888ca:

/*
 * fwk.h
 *
 *  Created on: 15 d�c. 2011
 *      Author: Donatien
 */

#ifndef FWK_H_
#define FWK_H_

#include "config.h"

#include "string.h"
//using namespace std;

#include "stdint.h"
typedef unsigned int size_t;

#ifndef __cplusplus
//boolean type compatibility
typedef byte bool;
#define true 1
#define false 0
#endif

#ifndef NULL
#define NULL ((void*)0)
#endif

#define CR '\x0D'
#define LF '\x0A'
#define GD '\x3E'
#define BRK '\x1A'

//Custom utility classes
//#include "IOStream.h"
//#include "String.h"

//Error codes
#include "errors.h"

//Debug
#include "dbg.h"

//Utility macros
#define MIN(x,y) (((x)<(y))?(x):(y))
#define MAX(x,y) (((x)>(y))?(x):(y))

#endif /* FWK_H_ */