Refactoring and other updates

Dependencies:   BLE_API mbed nRF51822

Fork of nRF51822_SimpleChat by Cristi Stoican

Revision:
3:b6e4e5529a52
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CmdEnums.hpp	Mon May 08 13:05:45 2017 +0000
@@ -0,0 +1,29 @@
+#ifndef CMDENUMS_H
+#define CMDENUMS_H
+
+enum SysObj {
+	CONTROLLER = 0x01,
+	MONITOR	= 0x02
+};
+
+enum SysObjTypes {
+	P = 0x11,
+	PI = 0x12,
+	PID = 0x13,
+	RST = 0x14
+};
+
+enum Actions {
+	CREATE = 0x20,
+	START = 0x21,
+	UPDATE = 0x22,
+	STOP = 0x23
+};
+
+enum Separators {
+	LT = 0x3c,
+	GT = 0x3e,
+	USCORE = 0x5f
+};
+
+#endif