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

sources:
  - src
includes:
  - include

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

build_vars:
  MGOS_ENABLE_UPDATER: 1

manifest_version: 2017-09-29