Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EthernetInterface mbed-rtos mbed NTPClient
Diff: Headers/Settings.h
- Branch:
- feature-logs
- Revision:
- 7:a227636d7908
- Parent:
- 2:628a25bb5d62
- Child:
- 20:54e8563fb78c
--- a/Headers/Settings.h Thu Mar 26 23:09:38 2015 -0300 +++ b/Headers/Settings.h Fri Mar 27 02:41:52 2015 +0000 @@ -102,6 +102,9 @@ //Delay time (ms) after Send (post) static int m_DelaySend; + // Control the marks behavior in log file + static bool m_logMarks; + static int m_logMarksInterval; public: @@ -204,6 +207,12 @@ static int get_DelaySend() { return m_DelaySend; } static void set_DelaySend(int value) { m_DelaySend = value; } + + // Control the marks behavior in log file + static bool get_LogMarks() { return m_logMarks; } + static void set_LogMarks(bool value) { m_logMarks = value; } + static int get_LogMarksInterval() { return m_logMarksInterval; } + static void set_LogMarksInterval(int value) { m_logMarksInterval = value; } static void ReadFile(); //Read the config file and places the values in the internal variables static void LoadDefaults();