-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from es-ude/fix_http_lib
Fix HTTP GET
- Loading branch information
Showing
15 changed files
with
220 additions
and
107 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,6 @@ | ||
add_library(time_interface INTERFACE) | ||
target_sources(time_interface INTERFACE ${CMAKE_CURRENT_LIST_DIR}/Time.c) | ||
target_include_directories(time_interface INTERFACE ${CMAKE_CURRENT_LIST_DIR}/include) | ||
target_link_libraries(time_interface INTERFACE | ||
pico_time | ||
pico_stdlib) |
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,32 @@ | ||
#define SOURCE_FILE "NETWORK-CHECK-TEST" | ||
|
||
#include "Common.h" | ||
#include "FreeRtosTaskWrapper.h" | ||
#include "HardwaretestHelper.h" | ||
#include "Network.h" | ||
|
||
/*! | ||
* Tries to connect to the network which is specified in NetworkSettings.h. When successful the | ||
* connection is closed and the process repeats. | ||
*/ | ||
|
||
extern networkCredentials_t credentials; | ||
|
||
_Noreturn void networkTask() { | ||
connectToNetwork(); | ||
|
||
PRINT("=== STARTING TEST ===") | ||
|
||
while (1) { | ||
networkcheckConnection(); | ||
freeRtosTaskWrapperTaskSleep(3000); | ||
} | ||
} | ||
|
||
int main() { | ||
initHardwareTest(); | ||
|
||
freeRtosTaskWrapperRegisterTask(enterBootModeTaskHardwareTest, "enterBootModeTask"); | ||
freeRtosTaskWrapperRegisterTask(networkTask, "networkTask"); | ||
freeRtosTaskWrapperStartScheduler(); | ||
} |
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
Oops, something went wrong.