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: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
main.h
- Committer:
- patrick_duc
- Date:
- 2018-09-02
- Revision:
- 20:b0281e8a375a
- Parent:
- 13:5414193da1de
- Child:
- 38:9b43b2415093
File content as of revision 20:b0281e8a375a:
/* * 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__