Comments (4)
updated both Device and DeviceModel..
And the documentation in six languages as well
Best
from datamodel.device.
You were right.
From my point of view this one (with additional parenthesis) and removed the extra character is more correct/complete
^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$
I guess that the extra character between elements of the mac address '?' (potentially a space) is somehow incorrect to get accepted. So I have removed it as well.
Thanks a lot.
from datamodel.device.
ok, if it helps it is quite equivalent.
from datamodel.device.
Could you please change the macAddress pattern from
^([[A-Fa-f0-9]]{2}[:.-]?){5}[[A-Fa-f0-9]]{2}$
to
^([A-Fa-f0-9]{2}[:.-]?){5}[A-Fa-f0-9]{2}$
?
At the moment I receive a "Invalid regular expression" error.
Thanks and best regards,
Christian
from datamodel.device.
Related Issues (13)
- rssi property should be expressed as dBm or renamed to be Normalized rssi HOT 3
- Several quantitative values with different time stamps HOT 3
- Attributes controlledProperty and category are no longer defined HOT 4
- Issues with definition of the 'category' attribute HOT 1
- Some examples swapped between normalized/keyvalues format HOT 1
- Device schema is invalid: data/properties/controlledProperty/items/enum must NOT have duplicate items HOT 1
- Device schema cannot be used in OpenAPI 3.0 projects since const and version keywords are not supported HOT 11
- Questions/Extensions to the Camera Data Model HOT 2
- Device: Non NGSI-LD conform example for controlledAsset HOT 1
- Device examples do not include configuration property HOT 1
- Parent-child relationship HOT 1
- Schema Error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datamodel.device.