Code APP3
Dependencies: mbed EthernetInterface WebSocketClient mbed-rtos BufferedSerial
Fork of APP3_Lab by
parser.h
00001 /** 00002 * APP3 : Jean-Phillippe Fournier fouj1807 & Jean-Pascal McGee mcgj2701 00003 * parser.h - Lecture du fichier de configuration du coordinatuer 00004 */ 00005 00006 #include "mbed.h" 00007 00008 typedef struct{ 00009 long pan_id; 00010 char server_url[255]; 00011 } coordinator_config_t; 00012 00013 typedef struct { 00014 long pan_id; 00015 char refresh_freq; 00016 } router_config_t; 00017 00018 // Fonctions de lecture des fichiers de cconfig 00019 coordinator_config_t read_coordinator_config(); 00020 router_config_t read_router_config();
Generated on Sat Jul 30 2022 02:06:50 by 1.7.2