-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmos.yml
54 lines (45 loc) · 2.04 KB
/
mos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# mos build --platform esp8266
# mos flash --platform esp8266 --esp-flash-params "dio,32m,80m" --port COM8 --esp-baud-rate 0 --esp-erase-chip --esp-rom-baud-rate 115200
author: mongoose-os
description: Setup WiFi via Web UI
version: 1.0
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
# for esp8266 1M
build_vars:
FLASH_SIZE: 1048576
filesystem:
- fs
config_schema:
- ["wifi.ap.ssid", "Den Trai Tim 2"]
- ["wifi.ap.pass", "anhyeuem"]
- ["app", "o", {title: "My settings"}]
- ["app.pinIn", "i", 5, {title: "GPIO pin in"}]
- ["app.pinOut", "i", 13, {title: "GPIO pin out"}]
# mqtt
- ["mqtt.enable", "b", true, {title: "Enable MQTT"}]
- ["mqtt.server", "s", "test.mosquitto.org:1883", {title: "MQTT server"}]
- ["mqtt1.server", "s", "test.mosquitto.org:1883", {title: "MQTT server"}]
- ["mqtt.user", "s", "", {title: "User name"}]
- ["mqtt.pass", "s", "", {title: "Password"}]
- ["mqtt.reconnect_timeout_min", "d", 2.0, {title: "Starting reconnect timeout"}]
- ["mqtt.reconnect_timeout_max", "d", 60.0, {title: "Maximum reconnect timeout"}]
- ["mqtt.clean_session", "b", true, {title: "Clean Session"}]
- ["mqtt.keep_alive", "i", 60, {title: "Keep alive interval"}]
- ["mqtt.max_qos", "i", 2, {title: "Limit QoS of outgoing messages to at most this"}]
- ["mqtt.recv_mbuf_limit", "i", 3072, {title: "Limit recv buffer size"}]
libs:
# - origin: https://github.com/mongoose-os-libs/ca-bundle # https
- origin: https://github.com/mongoose-os-libs/http-server
- origin: https://github.com/mongoose-os-libs/rpc-service-config
# - origin: https://github.com/mongoose-os-libs/rpc-service-fs # edit file with mos ui
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/wifi
- origin: https://github.com/mongoose-os-libs/rpc-service-wifi
- origin: https://github.com/mongoose-os-libs/mjs
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/pwm
tags:
- wifi
manifest_version: 2017-05-18