Converted led code to support non rgb/strip. Some clean up of network comp. Clean up of provider and client. Base test for client
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
idf_component_register(SRCS "network.cpp"
|
||||
INCLUDE_DIRS "." "../shared"
|
||||
PRIV_REQUIRES esp_eth esp_wifi esp_netif driver)
|
||||
PRIV_REQUIRES esp_eth esp_wifi esp_netif driver led)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
version: "1.0.0"
|
||||
description: "CalendarInk Shared Network Component"
|
||||
description: "Calendink Shared Network Component"
|
||||
|
||||
dependencies:
|
||||
idf:
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
|
||||
// Project includes
|
||||
#include "network.hpp"
|
||||
#include "led.hpp"
|
||||
|
||||
// Forward declarations
|
||||
#if CONFIG_CALENDINK_BLINK_IP
|
||||
internal esp_err_t get_ip_info(esp_netif_ip_info_t *ip_info);
|
||||
internal void led_blink_number(int n, uint8_t r, uint8_t g, uint8_t b);
|
||||
internal void blink_last_ip_octet();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user