1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-17 15:26:01 +00:00

[api] Split frame helper implementation into protocol-specific files (#9746)

This commit is contained in:
J. Nick Koston
2025-07-20 15:10:08 -10:00
committed by GitHub
parent 46da075226
commit a45a45c688
8 changed files with 1046 additions and 947 deletions

View File

@@ -1,5 +1,11 @@
#include "api_connection.h"
#ifdef USE_API
#ifdef USE_API_NOISE
#include "api_frame_helper_noise.h"
#endif
#ifdef USE_API_PLAINTEXT
#include "api_frame_helper_plaintext.h"
#endif
#include <cerrno>
#include <cinttypes>
#include <utility>