TS-0010 : Issues with the MQTT binding specification
A couple of issues in TS-0010. Though the specification describes only the binding there are some errors that can only be detected and/or handled during this phase in the handling of requests.
- What shall be the behaviour in case the "from" (originator) parameter of a request is different to the
"<originator>"
element in the topic? Is this a "bad request" and shall an error response be returned? Or is it ignored? What has precedence, this value in the request or the topic (actually, there should never be a situation where there is such a decision needed)? - What is the expected behaviour when a "reg_req" (registration) MQTT message body contains a request other than a CREATE of an for an initial registration (no re-registration). Is this an error?
- In many places the (ie. the serialisation type, like "json") is missing from the topic specification. It is mandatory, though, and so very confusing when reading the text.