author: mongoose-os
description: Implements Mongoose OS OTA HTTP client
type: lib
version: 1.0

sources:
  - src

includes:
  - include

libs:
  - origin: https://github.com/mongoose-os-libs/ota-common

config_schema:
  - ["update.url", "s", {title : "Fetch updates form here"}]
  - ["update.interval", "i", {title : "Check for updates this often"}]

    # Default CA bundle for updating from mongoose-os.com (and any other site that uses LetsEncrypt) and S3.
  - ["update.ssl_ca_file", "s", "ca.pem", {title : "TLS CA file"}]
  - ["update.ssl_client_cert_file", "s", {title: "TLS client cert file"}]
  - ["update.ssl_server_name", "s", {title : "TLS Server Name"}]

tags:
  - c
  - ota
  - http
  - rpc
  - docs:net:OTA via HTTP GET

manifest_version: 2017-09-29