Comments (10)
OMA-TS-LightweightM2M-V1_0-20160407-C, 5.3.1
Still mentions the alternative path
, and the bootstrap still doesn't cover that feature!
from oma_lwm2m_for_developers.
For example a device registers with:
</lwm2m>;rt="oma.lwm2m", < /1/1>, < /1/2>, < /2/0>, < /2/1>, < /2/2>, < /3/0>,< /4/0>,< /5>
so the URI accessing the LWM2M device object instance would be </lwm2m/3/0>
and </3/0>
is not valid on that device or may point to a different (none LWM2M) resouce.
If such a device executes a bootstrap, how should the bootstrap server know, that </lwm2m/3/0>
MUST be used and not </3/0>
?
from oma_lwm2m_for_developers.
I think we have the same issue with the LWM2M version and maybe the list of Objects supported and Object Instances available on the LWM2M Client.
Such information are probably needed by the bootstrap server too.
Maybe a solution could be to add this parameters to the BOOTSTRAP REQUEST
, but this means that the bootstrap server initiated should be changed or dropped.
from oma_lwm2m_for_developers.
Maybe, a server initated bootstrap
just triggers the client to do a client initiated bootstrap
(with the added required informations).
from oma_lwm2m_for_developers.
If "trigger" means "send a coap request to the client on a specific resource". This resource should not be under the client rootpath (as we don't know it). This will be a bit strange, isn't it ? (but maybe there is no other solution)
from oma_lwm2m_for_developers.
Your right, it's strange :-).
from oma_lwm2m_for_developers.
The last OMA-TS-LightweightM2M-V1_0-20161031-D TS say :
"When using the Bootstrap Interface, the LWM2M Bootstrap-Server MUST use CoAP paths only in the form /{Object ID}/{Object Instance ID}/{Resource ID}. It is the responsibility of the LWM2M Client to map these paths to its alternate path."
It seems to be a tentative to partially fix this issue, but this not fix the LWM2M version and supported object issue.
Am I the only one which consider a bit strange that the LWM2M client was able to translate automagically CoAP URI for bootstrap server but was not able to do that for DM server ?
This means two different way to handle alternate path for implementation.
I still prefer adding parameter on boostrap request (like register request) and adding a trigger for server initiated like boaks proposed
from oma_lwm2m_for_developers.
In the scope of LWM2M 1.0, version is not an issue. Regarding supported Object, either the Bootstrap Server has out-of-band knowledge or it sould stick to Objects 0, 1 and 2.
from oma_lwm2m_for_developers.
In the scope of LWM2M 1.0, version is not an issue. Regarding supported Object, either the Bootstrap Server has out-of-band knowledge or it sould stick to Objects 0, 1 and 2.
it sounds ok for LWM2M 1.0, this means that for LWM2M 1.1 this part will change a lot.
The solution exposed above allow to get a similar behavior for bootstrap server and dm server and could be reused for LWM2M 1.1.
from oma_lwm2m_for_developers.
OMA-TS-LightweightM2M-V1_0-20170208-A, 8.2.2.
When using the Bootstrap Interface, the LwM2M Bootstrap-Server MUST use CoAP paths only in the form /{Object ID}/{Object Instance ID}/{Resource ID}. It is the responsibility of the LwM2M Client to map these paths to its alternate path.
OK, may be not as I would like it but defined.
from oma_lwm2m_for_developers.
Related Issues (20)
- NSTART-1 for QueueMode ?
- Ask about confirmation for base64 encoding. HOT 4
- 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
- Using negative value in write attributes ? HOT 4
- 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
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.