Code Monkey home page Code Monkey logo

Comments (5)

LukasWoodtli avatar LukasWoodtli commented on June 11, 2024 3

Try something like this:

  1. Add the Wakaama repo as submodule to your project.
  2. Include wakaama.cmake in your CMake project.
  3. Call the CMake functions target_sources_data and target_sources_wakaama on your target.
  4. Implement the C functions listed under Platform abstraction functions to be implemented by the user in liblwm2m.h somewhere in your project.
  5. Implement a connection with your UDP socket. Get inspiration from the examples (examples/shared/).
  6. 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.

jvermillard avatar jvermillard commented on June 11, 2024

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.

Hariprabhu13 avatar Hariprabhu13 commented on June 11, 2024

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.

Hariprabhu13 avatar Hariprabhu13 commented on June 11, 2024

Hi @LukasWoodtli ,
I'll try this in my code as your reference and Let you Know...

from wakaama.

LukasWoodtli avatar LukasWoodtli commented on June 11, 2024

Closing this issue due to no action lately.
@Hariprabhu13 feel free to reopen it if you need support.

from wakaama.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.