|
Sentinel
|
Network Status Task Implementation. More...
#include "tasks/networkStatusTask.h"#include "config.h"#include "network/network.h"#include "utils/threadsafe_serial.h"#include <Arduino.h>Macros | |
| #define | NETWORK_CONNECTED_BIT BIT0 |
| Network connected event bit. | |
| #define | SYSTEM_READY_BIT BIT1 |
| System ready event bit. | |
Functions | |
| void | networkStatusTask (void *pvParameters) |
| Network Status Task function. | |
Variables | |
| EventGroupHandle_t | networkEventGroup |
| SemaphoreHandle_t | networkEventMutex |
| Network | network |
Network Status Task Implementation.
This file implements the networkStatusTask function, which is responsible for managing the network connection status. It checks for system readiness, maintains the WiFi and LTE connections, and updates the network event group accordingly.
| void networkStatusTask | ( | void * | pvParameters | ) |
Network Status Task function.
| pvParameters |
This function runs in a FreeRTOS task and manages the network connection status.