-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0dc1b3d
commit 7ea3964
Showing
5 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#pragma once | ||
|
||
#include <lwip/arch.h> | ||
|
||
#define SNTP_OPMODE_POLL 0 | ||
#define SNTP_OPMODE_LISTENONLY 1 | ||
|
||
void sntp_setoperatingmode(u8_t operating_mode); | ||
|
||
void sntp_init(); | ||
|
||
void sntp_stop(); | ||
|
||
void sntp_setservername(u8_t idx, const char* server); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
|
||
typedef uint8_t u8_t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#include <lwip/apps/sntp.h> | ||
|
||
void sntp_setoperatingmode(u8_t /*operating_mode*/) | ||
{ | ||
} | ||
|
||
void sntp_init() | ||
{ | ||
} | ||
|
||
void sntp_stop() | ||
{ | ||
} | ||
|
||
void sntp_setservername(u8_t idx, const char*/*server*/) | ||
{ | ||
} |