Comments (2)
LWM2M TS V1_0 20160308, 5.2.2.1
„In this mode, the LWM2M Client has been configured with the necessary Bootstrap Information prior to deployment of the device.“
If the client has been configured prior to deployment, I'm not sure, why "lwm2m_configure" should be called before.
May be the term "factory bootstrap" could be interpreted in different ways. But if you want a clarification on that, just use
the OMA issue page (https://github.com/OpenMobileAlliance/OMA-LwM2M-Public-Review/issues).
Mit freundlichen Grüßen / Best regards
Achim Kraus
Bosch Software Innovations GmbH
Communications (INST/ESY1)
Stuttgarter Straße 130
71332 Waiblingen
GERMANY
www.bosch-si.de
www.blog.bosch-si.com
Registered office: Berlin, Register court: Amtsgericht Charlottenburg, HRB 148411 B
Executives: Dr.-Ing. Rainer Kallenbach; Michael Hahn
Von: David Gräff [mailto:[email protected]]
Gesendet: Dienstag, 29. März 2016 12:53
An: eclipse/wakaama
Betreff: [eclipse/wakaama] Manually "bootstraping" after security object is registered (#129)
According to http://dev_devtoolkit.openmobilealliance.org/IoT/LWM2M10/doc/TS/index.html#!Documents/bootstrapmodes.htm a client may bootstrap itself by using a boostrap server, a smartcard or using factory bootstrap information.
In the examples this is done by setting up the server address in the security object and calling lwm2m_configure.
If you have to wait for factory bootstrap information to be available for one or another reason,
what is the correct way to provide it to wakaama, after lwm2m_configure has been called?
The AwaLWM2M implementation provides a AwaStaticClient_SetFactoryBootstrapInformation in https://github.com/FlowM2M/AwaLWM2M/blob/master/api/include/awa/static.h#L299 for exactly this case. It that already possible or should wakaama support something similar, too?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
from wakaama.
Keep in mind wakaama is not multi-threaded.
When calling lwm2m_step(), if you do not have any server information (bootstrap or LWM2M server), the internal state machine will stay in STATE_BOOTSTRAP_REQUIRED and lwm2m_step() will return COAP_503_SERVICE_UNAVAILABLE.
When factory bootstrap information are available, wakaama will retrieve them from the Security Object lwm2m_object_t.
In your case, it is only a matter of handling the return code of lwm2m_step() accordingly.
Regards,
from wakaama.
Related Issues (20)
- SonarCloud and CodeQL jobs failed HOT 1
- Question: Why failed registration update goes into STATE_BOOTSTRAP_REQUIRED immediately? HOT 1
- [ANSWER] Which LWM2M version Wakaama Client supports? HOT 24
- Block-wise transfer on observe response? HOT 1
- How should we document Wakaama HOT 9
- server write operation , response COAP_400_BAD_REQUEST HOT 2
- Moving from Master to Main HOT 4
- Election of new committer HOT 9
- Option to transfer the Wakaama repository to its own organisation HOT 8
- How to use the wakaama library for Espressif HOT 5
- Question regarding the appropriate license for this project HOT 1
- Support of send operation for single resource data with TLV format ? HOT 10
- Is Leshan ready for production usage ? HOT 2
- Inquiry about CoAP Fetch Functionality Implementation HOT 3
- Client SEND operation does not use fragmentation leading to oversized CoAP packets
- Fixed buffer size in senml_json_serialize limits handling of multiple resources HOT 1
- Build Fails if LWM2M_RAW_BLOCK1_REQUESTS set HOT 4
- Compile server&client example with DTLS HOT 1
- Include other libraries in examples HOT 1
- Wakaama logs arbitrary bytes to stdout
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 wakaama.