Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
9:ef0ca2f8a8a6
Parent:
7:c0c03193612d
Child:
15:a6ee32969e8e
--- a/inc/global.h	Tue Sep 06 21:40:04 2016 +0000
+++ b/inc/global.h	Tue Sep 06 22:09:39 2016 +0000
@@ -49,4 +49,18 @@
 extern void func_cb_ntopt(int argc, char **argv);
 extern mDot *GLOBAL_mdot;
 
+struct ModbusRegister {
+    std::string name;
+    std::string units;
+    double min;
+    double max;
+    int node;
+    int reg;
+    int rtype;
+    int type;
+    std::string fmt;
+};
+
+ extern std::map<std::string,ModbusRegister> ModbusRegisterMap;
+
 #endif
\ No newline at end of file