[riot-notifications] [RIOT-OS/RIOT] SAUL: Introduce undefined value (#11446)

Juan I Carrano notifications at github.com
Thu Apr 25 16:24:13 CEST 2019

Mmmm... the problem with this approach it that is assumes that there always exists a specific value that can be used to represent "undefined", which may not be the case. Also, how can a device signal that it does not support and undefined value? This is important because for some devices it may be necessary to keep a local copy of the state to be able to do partial updates and this may be undesirable for reasons of complexity, code size and RAM usage.

Maybe this could be solved by presenting the same physical device as multiple SAUL devices. For example, a 3-color LED would appear 4 times: as a 3-channel device and as 3 one-channel devices.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190425/e0d789af/attachment.html>

More information about the notifications mailing list