-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmos.yml
46 lines (37 loc) · 1.63 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
author: philibl
description: On-Off Power Communication Protocol Implementation
version: 1.0
manifest_version: 2017-06-16
libs_version: ${mos.version}
modules_version: ${mos.version}
mongoose_os_version: ${mos.version}
config_schema:
- ["onpc", "o", {"title": "ONPC settings"}]
- ["onpc.delay", "i", 5, {"title": "Number of seconds to delay starting ONPC"}]
- ["onpc.symbols", "i", 3, {"title": "Number of symbols to transmit"}]
- ["onpc.status_led", "i", 2, {"title": "LED used for ONPC status"}]
- ["onpc.symbol", "i", 1, {"title": Which symbol to transmit"}]
- ["onpc.disconnect_duration", "i", 30, {"title": "The amount of time being disconnected before running ONPC (s) -- Only used if MAC is disabled"}]
- ["onpc.tx_power", "i", 82, {"title": "TX power (0-82)"}]
- ["onpc.mac", "o", {"title": "ONPC MAC settings"}]
- ["onpc.mac.enable", "b", false, {"title": "Enable ONPC MAC"}]
- ["onpc.mac.disconnect_duration_min", "i", 1, {"title": "The minimum amount of time being disconnected before running ONPC (s)"}]
- ["onpc.mac.disconnect_duration_max", "i", 60, {"title": "The maximum amount of time being disconnected before running ONPC (s)"}]
- ["mqtt.enable", true]
- ["mqtt.server", "192.168.1.120:1883"]
- ["mqtt.pub", "s", "/status", {title: "Publish topic"}]
- ["wifi.sta.enable", true]
- ["wifi.sta.ssid", "dd-wrt"]
- ["wifi.sta.pass", "onpc_rocks"]
- ["wifi.ap.enable", false]
includes:
- include
sources:
- src
libs:
- origin: https://github.com/mongoose-os-libs/mqtt
- origin: https://github.com/mongoose-os-libs/rpc-uart
- origin: https://github.com/mongoose-os-libs/wifi
tags:
- wifi
- onpc