esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value Also to make the initialization code more consistent.
Simple OTA example
This example is based on esp_https_ota component's APIs.
Configuration
Refer README.md in the parent directory for setup details