| 29 | } |
| 30 | |
| 31 | bool OTA::begin(const char* hostname, const char* password) { |
| 32 | if (!mImpl) { |
| 33 | mImpl = platforms::IOTA::create(); |
| 34 | } |
| 35 | return mImpl->begin(hostname, password); |
| 36 | } |
| 37 | |
| 38 | bool OTA::enableApFallback(const char* ap_ssid, const char* ap_pass) { |
| 39 | if (!mImpl) { |