CBOR Gateway DM Node Wirepas Parameters
Legacy documentation
This page is preserved from the previous knowledge base and describes older Treon products and manual configuration workflows. It is kept for reference and is not maintained against current Treon Connect releases.
Caution! Article for developersInformation on this page is intended particularly for users with advanced technical knowledge.
CBOR Gateway DM Node Wirepas Parameters
; COSE encrypt payload?
wp-params-tagged = #6.400(wp-params)
wp-response-tagged = #6.401(wp-response)
wp-responses-tagged = #6.402(wp-responses)
; Node wirepas parameters
wp-params = {
"remote-command": {
; target-addresses and target-ids mutually exclusive
?"target-addresses": [*uint],
; Target ids as hex strings
?"target-ids": [*str]
?"target-id-type": (0: Treon Inustrial Node and Treon Inustrial Node 6/)
?"feature-lock-key": bstr .size 16,
; Execute delay in seconds 10-32767
"execute-delay": uint,
; Timeout for execution in seconds
"execute-timeout": uint
},
"new-parameters": {
?"network-id": uint,
?"network-ch": uint,
?"node-role": uint
?"node-address": uint,
?"authentication-key": bstr .size 16,
?"cipher-key": bstr .size 16,
?"feature-lock-key": bstr .size 16,
?"feature-lock-bits": bstr .size 4
}
}
wp-responses = {
; Initial state complete, status of previous request
"status": (0:complete)/(1:ongoing)/(2:timeout)
"node-responses": [*wp-response]
}
wp-response = {
"address": uint,
?"id": str,
; Remote api status
; 0=success, others from wirepas remote error codes
"status": uint
}