Supporting bitmaps #1930
Labels
Defer to TD 2.0
Has Use Case Potential
The use case can be extracted and explained
Needs discussion
more discussion is needed before getting to a solution
There is a need to represent bitmaps, i.e. a list/array of bits, where each bit corresponds to a boolean value like alarm 1, alarm 2 or status like
in-alarm
(bit 0),fault
(bit 1),overridden
(bit 2),out-of-service
(bit 3). This is very common in Modbus and BACnet and possibly other protocols.The big question is how this looks in the data schema. This relates a lot to the recent discussions we had about uri variables in BACnet and HTTP (also slides from @lu-zero in TPAC23). My initial thought is that it should be an array or an object and then we map this to specific bits via forms.
Note: This is split from w3c/wot-binding-templates#101 and w3c/wot#119 (comment) . By splitting that binding template issue into multiple smaller ones, I will close that.
The text was updated successfully, but these errors were encountered: