docs(gw): add gateway comment
This commit is contained in:
parent
1f067d6f3b
commit
5a08fa6a03
|
@ -53,26 +53,40 @@ namespace() -> gateway.
|
||||||
roots() -> [gateway].
|
roots() -> [gateway].
|
||||||
|
|
||||||
fields(gateway) ->
|
fields(gateway) ->
|
||||||
[{stomp, sc(ref(stomp),
|
[{stomp,
|
||||||
#{ nullable => {true, recursively}
|
sc(ref(stomp),
|
||||||
, desc => "The Stomp Gateway configuration."
|
#{ nullable => {true, recursively}
|
||||||
})},
|
, desc =>
|
||||||
{mqttsn, sc(ref(mqttsn),
|
"The Stomp Gateway configuration.<br>
|
||||||
#{ nullable => {true, recursively}
|
This gateway supports v1.2/1.1/1.0"
|
||||||
, desc => "The MQTT-SN Gateway configuration"
|
})},
|
||||||
})},
|
{mqttsn,
|
||||||
{coap, sc(ref(coap),
|
sc(ref(mqttsn),
|
||||||
#{ nullable => {true, recursively}
|
#{ nullable => {true, recursively}
|
||||||
, desc => "The CoAP Gateway configuration"
|
, desc =>
|
||||||
})},
|
"The MQTT-SN Gateway configuration.<br>
|
||||||
{lwm2m, sc(ref(lwm2m),
|
This gateway only supports the v1.2 protocol"
|
||||||
#{ nullable => {true, recursively}
|
})},
|
||||||
, desc => "The LwM2M Gateway configuration"
|
{coap,
|
||||||
})},
|
sc(ref(coap),
|
||||||
{exproto, sc(ref(exproto),
|
#{ nullable => {true, recursively}
|
||||||
#{ nullable => {true, recursively}
|
, desc =>
|
||||||
, desc => "The Extension Protocol configuration"
|
"The CoAP Gateway configuration.<br>
|
||||||
})}
|
This gateway is implemented based on RFC-7252 and
|
||||||
|
https://core-wg.github.io/coap-pubsub/draft-ietf-core-pubsub.html"
|
||||||
|
})},
|
||||||
|
{lwm2m,
|
||||||
|
sc(ref(lwm2m),
|
||||||
|
#{ nullable => {true, recursively}
|
||||||
|
, desc =>
|
||||||
|
"The LwM2M Gateway configuration.<br>
|
||||||
|
This gateway only supports the v1.0.1 protocol"
|
||||||
|
})},
|
||||||
|
{exproto,
|
||||||
|
sc(ref(exproto),
|
||||||
|
#{ nullable => {true, recursively}
|
||||||
|
, desc => "The Extension Protocol configuration"
|
||||||
|
})}
|
||||||
];
|
];
|
||||||
|
|
||||||
fields(stomp) ->
|
fields(stomp) ->
|
||||||
|
|
Loading…
Reference in New Issue