Co-authored-by: kbx81 <kbx81x@gmail.com> Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick+github@koston.org>
15 lines
462 B
C++
15 lines
462 B
C++
#pragma once
|
|
#include "esphome/core/defines.h"
|
|
#if defined(USE_NETWORK) && defined(USE_ESP32)
|
|
#include "esphome/core/component.h"
|
|
|
|
namespace esphome::network {
|
|
class NetworkComponent : public Component {
|
|
public:
|
|
void setup() override;
|
|
// AFTER_BLUETOOTH: BLE controller must initialize before esp_netif_init per IDF guidance.
|
|
float get_setup_priority() const override { return setup_priority::AFTER_BLUETOOTH; }
|
|
};
|
|
} // namespace esphome::network
|
|
#endif
|