FastLED 3.9.15
Loading...
Searching...
No Matches

◆ begin()

bool fl::net::OTA::begin ( const char * hostname,
const char * password )

Start OTA services only (network already configured)

Parameters
hostnameDevice hostname (used for mDNS)
passwordPassword for OTA authentication
Returns
true if setup successful, false otherwise
Note
Use this when you've already configured Wi-Fi or Ethernet yourself
For Ethernet users: Call ETH.begin() first, then use this method

Definition at line 31 of file ota.cpp.hpp.

31 {
32 if (!mImpl) {
33 mImpl = platforms::IOTA::create();
34 }
35 return mImpl->begin(hostname, password);
36}
fl::shared_ptr< fl::platforms::IOTA > mImpl
Definition ota.h:211

References mImpl.