-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Efficient formats for TD #885
Comments
I would like to add a structure based on the devices and/or use-cases pointing to the aforementioned levels. Why an efficient TD format might make sense:
|
SensorML may give us some insights into issues related to Things with limited resources. In particular, it has an encoding examples for EXI and CBOR. |
In March 27th TD telecon (minutes here):
|
Not sure how the W3C working groups operates. Just to give you some insights for constrained devices. I contribute to RIOT OS. We mostly use CBOR for efficient and flexible data exchange. Zephyr OS also uses cbor. Same goes for Amazon FreeRTOS. They all don't have an integration for EXI. Never heard about a use-case with EXI or EXI4JSON. Either it is CBOR or JSON. |
defer this topic to TD 2.0 |
For example, WebAssembly uses LLVM which is a platform-independent intermediate code as the efficient format. It is likely the case that EXI or CBOR does not help WebAssembly a lot.
Similarly. when we think about "Efficient format" for TD, I think we need to step back and think about one or two plausible use cases, and any possible approaches to efficient format should cater to the use cases.
There are also consideration of levels.
There are multiple levels from bytes, syntax (token/grammar), data model, information model.
The higher in the levels, it is more useful for the processing at the high layer because the information is exchanged at the high level directly without going through the lower level processing. However, such a format is not useful for software expecting lower level processing. For example, WoT client that processes TD as pure JSON may not be able to process TDs encoded at RDF level.
Therefore, I suggest we start looking at the use case(s) first.
The text was updated successfully, but these errors were encountered: