-
Notifications
You must be signed in to change notification settings - Fork 14
/
coap_config.yaml
71 lines (49 loc) · 1.99 KB
/
coap_config.yaml
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
65
66
67
68
69
# An example COAP config file
# Syntax is YAML
# Protocol section
# The default CoAP port for normal CoAP communication (not secure).
defaultPort: 5683
# The default CoAP port for secure CoAP communication (coaps).
defaultSecurePort: 5684
# The default CoAP port for HTTP.(Not currently supported)
httpPort: 8080
# The initial time (ms) for a CoAP message.
ackTimeout: 3000
# The initial timeout time is multiplied by this random number.
ackRandomFactor: 1.5
# The retransmission timeout is multiplied by this factor.
ackTimeoutScale: 2.0
# The maximum times that a message would be retransmitted.
maxRetransmit: 8
# Maximum size of a block-wise message.
maxMessageSize: 1024
# Default block size used for block-wise transfers.
preferredBlockSize: 512
# Timeout(ms) for block-wise transfers.
blockwiseStatusLifetime: 60000
# Randomises endpoint id generation if true, starts from 0 if false.
useRandomIDStart: true
# Notification parameters used in observability processing.
notificationMaxAge: 128000 # ms
notificationCheckIntervalTime: 86400000 # ms
notificationCheckIntervalCount: 100 # ms
notificationReregistrationBackoff: 2000 # ms
# The deduplication algorithm to use.
# MarkAndSweep for a Mark and Sweep deduplication.
# CropRotation for a Crop Rotation deduplication.
# Noop for no deduplication(not recommended, use only if you are sure).
deduplicator: "MarkAndSweep"
# Crop rotation period(ms) for Crop Rotation deduplication.
cropRotationPeriod: 2000
# Lifetime(ms) of messages before Mark and Sweep deduplication removes them.
exchangeLifetime: 1247000 # 20.783 minutes.
# Interval(ms) between successive Mark and Sweep deduplication runs.
markAndSweepInterval: 10000
# Maximum packet size for a receive channel(not currently used).
channelReceivePacketSize: 2048
# DTLS section
dtls:
backend: null # Not used
verify: false # Verify certificate chains
withTrustedRoots: false # Use trusted roots
ciphers: null # A list of ciphers, see the [OpenSSL documentation] for more information on this.