View Single Post
Old October 2nd, 2024   #1
Qasi_
Junior Member
 
Join Date: Sep 2024
Location: Germany Berlin
Posts: 6
Default E1.37-5 JSON LIST_TAGS GET not parsable

While implementing, i discoverd that LIST_TAGS is not pasable because the Format is missing.
Its not good to descripe how to parse the data in the Notes.
As well ther is a Typo in the notes

what i think would be a good solution is to change it to a StringType in a list
or add a Format, something like "utf8[]"
Indicating its an UTF-8 and its an array delimited by (char)0x00

Code:
{
  "name": "LIST_TAGS",
  "notes": "E1.37-5",
  "manufacturer_id": 0,
  "pid": 1617,
  "version": 1,
  "get_request_subdevice_range": [ "root", "subdevices" ],
  "get_request": [],
  "get_response": [
    {
      "name": "tags",
      "type": "bytes",
      "notes": "NUL-delimited."
    }
  ]
}

Last edited by Qasi_; October 2nd, 2024 at 04:37 AM.
Qasi_ is offline   Reply With Quote