![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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@0:70a6082c1bf7, 2016-07-14 (annotated)
- Committer:
- ShaneKirkbride
- Date:
- Thu Jul 14 20:38:18 2016 +0000
- Revision:
- 0:70a6082c1bf7
first commit. Rest example working
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 |