Comments (4)
Note that LWM2M-v1.2.1@core§Table: 7.3.2.-1 class Attributes also says :
The behaviour of Notification class attributes MUST follow [Cond_Attr] unless stated otherwise in this specification.
And [Cond_Attr§ 3.1. Conditional Notification Attributes ] says :
Attribute | Name | Value |
---|---|---|
Greater Than | c.gt | xs:decimal |
Less Than | c.lt | xs:decimal |
Change Step | c.st | xs:decimal (>0) |
So it seems there is a contradiction between both specification.
from oma_lwm2m_for_developers.
Note there also a difference with pmin
, pmax
, epmin
and epmax
.
In LWM2M they are considered as Integer and in Cond_attr there are decimal.
from oma_lwm2m_for_developers.
As "c.gt" and "c.lt" IETF core conditional attributes that are supposed to be aligned with LWM2M attributes can be less than 0, can assume Table 7.3.2.1 in LwM2M spec needs to be updated to reflect this.
from oma_lwm2m_for_developers.
@mojanm thx for the answer, this really helps. 🙏
I will be able to update Leshan behavior.
What about pmin
, pmax
, epmin
and epmax
?
Attribute Name | CoRE Link param |
---|---|
Minimum Period | "pmin" "=" 1*DIGIT |
Maximum Period | "pmax" "=" 1*DIGIT |
Minimum Evaluation Period | "epmin" "=" 1*DIGIT |
Maximum Evaluation Period | "epmax" "=" 1*DIGIT |
(from LWM2M-v1.2.1@core§Table: 7.3.2.-1 class Attributes)
I guess it should be adapted too? Replacing 1*DIGIT
by 1*DIGIT ["." 1*DIGIT]
?
because :
Attribute | Name | Value |
---|---|---|
Minimum Period (s) | c.pmin | xs:decimal (>0) |
Maximum Period (s) | c.pmax | xs:decimal (>0) |
Minimum Evaluation Period (s) | c.epmin | xs:decimal (>0) |
Maximum Evaluation Period (s) | c.epmax | xs:decimal (>0) |
(from [Cond_Attr§ 3.2. Conditional Control Attributes ])
from oma_lwm2m_for_developers.
Related Issues (20)
- Queued mode operation, update and send operations clarification
- Registration lifetime, update and send operations HOT 7
- Any tooling needs around LWM2M or Leshan ?
- Object Versioning or Object and Object Instance Versioning? HOT 8
- Does deleting an object instance implicitly delete observations under the instance? HOT 1
- Change of resource type and instance number confirmation HOT 1
- Error in description of resource `DTLS/TLS Ciphersuite` of `Security` Object ? HOT 1
- Core Object implicit versioning between LwM2M patch releases HOT 8
- LWM2M object and resource definition questions HOT 1
- Does alternatePath be present in payload for SenML ?
- CORS origin issue faced while trying to pull XML response from JS based application HOT 4
- LWM2M Security: SNI with PSK - what does this mean? HOT 2
- Extend or clarify use cases for SenML timestamped values HOT 1
- Overlapped Ressource in Composite Operation HOT 6
- Proposition for more advanced notification class attributes gt and lt HOT 3
- Reporting no known location through the Location object (/6) HOT 21
- how to get the source code of version 1.2 HOT 1
- Does ["notification Storing" when Server is Disabled] really works ? HOT 2
- Report client "unbootstrap" or factory reset reason to the server HOT 3
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 oma_lwm2m_for_developers.