#pragma once #include #include #include "freertos/FreeRTOS.h" #include "freertos/queue.h" namespace Networking { struct EspNowEvent { enum : std::uint8_t { MSG_RECEIVED, MSG_SEND_COMPLETE } type; std::size_t rx_length; }; using MacAddress = std::array; void setupWifi(); [[nodiscard]] QueueHandle_t setupEspNow(); void sendData(const std::array& buffer, const std::size_t length); const std::array& getRxBuffer(); }// namespace App