This is a SLIP interface for the STM32F446RE Nucleo Board. It is designed to work specifically with the esp-link software for the ESP8266. The program is an example of a rest command.
STMClientCmd.h@12:0df73cbe5cbf, 2016-10-10 (annotated)
- Committer:
- ShaneKirkbride
- Date:
- Mon Oct 10 04:41:04 2016 +0000
- Revision:
- 12:0df73cbe5cbf
- Parent:
- 0:70a6082c1bf7
the latest;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ShaneKirkbride | 0:70a6082c1bf7 | 1 | // MiscSTMlaneous commands |
ShaneKirkbride | 0:70a6082c1bf7 | 2 | |
ShaneKirkbride | 0:70a6082c1bf7 | 3 | #ifndef _STM_CLIENT_CMD_H_ |
ShaneKirkbride | 0:70a6082c1bf7 | 4 | #define _STM_CLIENT_CMD_H_ |
ShaneKirkbride | 0:70a6082c1bf7 | 5 | |
ShaneKirkbride | 0:70a6082c1bf7 | 6 | #include "STMClient.h" |
ShaneKirkbride | 0:70a6082c1bf7 | 7 | #include "FP.h" |
ShaneKirkbride | 0:70a6082c1bf7 | 8 | |
ShaneKirkbride | 0:70a6082c1bf7 | 9 | class STMClientCmd { |
ShaneKirkbride | 0:70a6082c1bf7 | 10 | public: |
ShaneKirkbride | 0:70a6082c1bf7 | 11 | // Constructor |
ShaneKirkbride | 0:70a6082c1bf7 | 12 | STMClientCmd(STMClient* elc); |
ShaneKirkbride | 0:70a6082c1bf7 | 13 | // Get the current time in seconds since the epoch, 0 if the time is unknown |
ShaneKirkbride | 0:70a6082c1bf7 | 14 | uint32_t GetTime(); |
ShaneKirkbride | 0:70a6082c1bf7 | 15 | |
ShaneKirkbride | 0:70a6082c1bf7 | 16 | private: |
ShaneKirkbride | 0:70a6082c1bf7 | 17 | STMClient* _elc; |
ShaneKirkbride | 0:70a6082c1bf7 | 18 | }; |
ShaneKirkbride | 0:70a6082c1bf7 | 19 | #endif |