-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmos.yml
64 lines (53 loc) · 1.5 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
55
56
57
58
59
60
61
62
63
64
author: mongoose-os
description: Implements DNS-SD protocol
type: lib
version: 1.1.0
includes:
- include
config_schema:
- ["dns_sd", "o", {title: "DNS-SD service discovery"}]
- ["dns_sd.enable", "b", false, {title: "Enable service discovery"}]
- ["dns_sd.adv_only", "b", false, {title: "Only advertise, do not join multicast group"}]
- ["dns_sd.host_name", "s", "mOS-??????", {title: "DNS-SD host name. '?' chars will be expanded with MAC address hex digits. If not set, uses device.id"}]
- ["dns_sd.txt", "s", "", {title: "Extra comma-separated key=value pairs to put into the TXT service record"}]
libs:
- location: https://github.com/mongoose-os-libs/mongoose
init_after:
- ethernet
- wifi
conds:
- when: mos.platform != "ubuntu"
apply:
sources:
- src/mongoose
cdefs:
MG_ENABLE_DNS: 1
MG_ENABLE_DNS_SERVER: 1
MGOS_DNS_SD_HIDE_ADDITIONAL_INFO: 0
- when: mos.platform == "ubuntu"
apply:
sources:
- src/avahi
- when: mos.platform == "esp32"
apply:
sources:
- src/lwip
config_schema:
- ["dns_sd.host_name", "mOS-esp32-??????"]
- when: mos.platform == "esp32c3"
apply:
sources:
- src/lwip
config_schema:
- ["dns_sd.host_name", "mOS-esp32c3-??????"]
- when: mos.platform == "esp8266"
apply:
sources:
- src/lwip
config_schema:
- ["dns_sd.host_name", "mOS-esp8266-??????"]
tags:
- c
- net
- docs:net:DNS-SD
manifest_version: 2017-09-29