Skip to content

Add support for ENUMs as a ThingProperty type (ThingDataType?) #103

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

Closed
madb1lly opened this issue Feb 4, 2020 · 1 comment
Closed

Add support for ENUMs as a ThingProperty type (ThingDataType?) #103

madb1lly opened this issue Feb 4, 2020 · 1 comment

Comments

@madb1lly
Copy link

madb1lly commented Feb 4, 2020

Hi all,

I want to be able to define WebThings with enumerated types for their properties but the Arduino library doesn't currently support it. I'm assuming that it's not trivial to add this otherwise it might have already been done following discussion we had on this subject almost a year ago. I would still find it very helpful to be able to define ThingPropertys with enumerated types.

Cheers 🙂

@mrstegeman
Copy link
Contributor

They're actually already supported. See here and here for example usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants