dsf
Dependencies: BLE_API mbed nRF51822
CmdEnums.hpp@0:b5906c81772b, 2017-02-05 (annotated)
- Committer:
- stoicancristi
- Date:
- Sun Feb 05 16:31:58 2017 +0000
- Revision:
- 0:b5906c81772b
BLE
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
stoicancristi | 0:b5906c81772b | 1 | #ifndef CMDENUMS_H |
stoicancristi | 0:b5906c81772b | 2 | #define CMDENUMS_H |
stoicancristi | 0:b5906c81772b | 3 | |
stoicancristi | 0:b5906c81772b | 4 | enum SysObj { |
stoicancristi | 0:b5906c81772b | 5 | CONTROLLER = 0x01, |
stoicancristi | 0:b5906c81772b | 6 | MONITOR = 0x02 |
stoicancristi | 0:b5906c81772b | 7 | }; |
stoicancristi | 0:b5906c81772b | 8 | |
stoicancristi | 0:b5906c81772b | 9 | enum SysObjTypes { |
stoicancristi | 0:b5906c81772b | 10 | P = 0x11, |
stoicancristi | 0:b5906c81772b | 11 | PI = 0x12, |
stoicancristi | 0:b5906c81772b | 12 | PID = 0x13, |
stoicancristi | 0:b5906c81772b | 13 | RST = 0x14 |
stoicancristi | 0:b5906c81772b | 14 | }; |
stoicancristi | 0:b5906c81772b | 15 | |
stoicancristi | 0:b5906c81772b | 16 | enum Actions { |
stoicancristi | 0:b5906c81772b | 17 | CREATE = 0x20, |
stoicancristi | 0:b5906c81772b | 18 | START = 0x21, |
stoicancristi | 0:b5906c81772b | 19 | UPDATE = 0x22, |
stoicancristi | 0:b5906c81772b | 20 | STOP = 0x23 |
stoicancristi | 0:b5906c81772b | 21 | }; |
stoicancristi | 0:b5906c81772b | 22 | |
stoicancristi | 0:b5906c81772b | 23 | enum Separators { |
stoicancristi | 0:b5906c81772b | 24 | LT = 0x3c, |
stoicancristi | 0:b5906c81772b | 25 | GT = 0x3e, |
stoicancristi | 0:b5906c81772b | 26 | USCORE = 0x5f |
stoicancristi | 0:b5906c81772b | 27 | }; |
stoicancristi | 0:b5906c81772b | 28 | |
stoicancristi | 0:b5906c81772b | 29 | #endif |