Comments (5)
Try something like this:
- Add the Wakaama repo as submodule to your project.
- Include
wakaama.cmake
in your CMake project. - Call the CMake functions
target_sources_data
andtarget_sources_wakaama
on your target. - Implement the C functions listed under
Platform abstraction functions to be implemented by the user
inliblwm2m.h
somewhere in your project. - Implement a connection with your UDP socket. Get inspiration from the examples (
examples/shared/
). - Take a suitable example as basis for your code. And work from there.
Feel free to ask for help if you get stuck. Unfortunately, we did not manage yet to write a tutorial on how to get started with Wakaama.
from wakaama.
In the past, I started from the example (for example, the light client) and adapted the connection piece (socket) to replace the POSIX socket call with what is available for your target IP stack.
from wakaama.
Thanks for your reply @jvermillard
In my end device I've using the UDP socket for Communicate from the Leshan server for Light Control, Instead of I'm want to use the LWM2M Client in my Device for Light Control from the Server...
from wakaama.
Hi @LukasWoodtli ,
I'll try this in my code as your reference and Let you Know...
from wakaama.
Closing this issue due to no action lately.
@Hariprabhu13 feel free to reopen it if you need support.
from wakaama.
Related Issues (20)
- Documentation on how to use the library HOT 2
- 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
- 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
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.