I recommend following requirements for the expected objectlist to be documented for the user, to ensure the SOES works properly.
Requirements for objectlist array "SDOobjects":
- Objects are in ascending order of their index.
- For last element, a dummy object with index 0xFFFF is provided.
Requirements for elements of an object:
- "name" points to a NUL-terminated cstring. 'NULL' is not allowed.
Requirements for objectdescriptions of an object within "SDOobjects":
- Elements are in ascending order of their subindex.
- The first element's subindex equals 0.
- The last element's subindex equals object's maxsub value.
Requirements for elements of an (subindex-)objectdescription:
- "name" points to a NUL-terminated cstring. 'NULL' is not allowed.