Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

main.h

Committer:
FCH_31
Date:
2018-10-22
Revision:
41:5a436163dddf
Parent:
20:b0281e8a375a
Child:
38:9b43b2415093

File content as of revision 41:5a436163dddf:

/*
 * MISNet   
 *
 *  Main 
 *
 *  Created on: August 17, 2018
 *      Author: Francis CHATAIN
 *
 */
 
#ifndef __MAIN_H__
#define __MAIN_H__

#include "Context.h"

#ifndef TEST_ENVIRONMENT
#include "mbed.h"
#endif


#define FIRMWARE_VERSION            1.0

#define ID_TERMINAL                 111 
#define ID_GATEWAY                  55  

//DigitalOut  led2        ( LED2 );

/*  mbed-os only 
typedef struct {
    uint8_t   channel   ; 
    uint16_t  typeValue ; 
    uint8_t   P1 ; 
    uint16_t  P2 ; 
    float     F1 ; 
    float     F2 ;   
    float     F3 ;   
} message_t;

//MemoryPool<message_t, 32> mpool;
//Queue<message_t, 32> queue;
*/


#endif // __MAIN_H__