Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

main.h

Committer:
patrick_duc
Date:
2018-08-27
Revision:
13:5414193da1de
Parent:
10:1b37e3b41947
Child:
20:b0281e8a375a

File content as of revision 13:5414193da1de:

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

#include "mbed.h"


#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 // __MISNet_H__