Code Monkey home page Code Monkey logo

Comments (12)

yogpan01 avatar yogpan01 commented on August 16, 2024

Hi, there isn't any porting guide for mbed-client-c. mbed-client-c is used by mbed-client API to provide LWM2M feature set. Its an internal library and doesn't contain any logic for connectivity or managing L2M2M resources.

from mbed-client-c.

rajbatra avatar rajbatra commented on August 16, 2024

so that means it is mostly device independent and can be ported easily to other platforms like FreeRTOS?
Do you have any example on how to use it and any API documentation available.

from mbed-client-c.

yogpan01 avatar yogpan01 commented on August 16, 2024

Hi, Can you define your use case ? Is there any issue in using mbed Client APIs.

from mbed-client-c.

rajbatra avatar rajbatra commented on August 16, 2024

Actually we would like to use mbed-client-c libraries to FreeRTOS so we just wanted to know if there are any interdependencies need to be taken care.

from mbed-client-c.

yogpan01 avatar yogpan01 commented on August 16, 2024

You can use mbed-client-c if you are planning to handle all the other platform dependencies yourself.
Otherwise you can port mbed Client C++ APIs for freeRTOS just like those are available for Linux and mbed OS currently.

from mbed-client-c.

rajbatra avatar rajbatra commented on August 16, 2024

We will handle the rest of the dependencies.However we need some documentation over the API's.Can you please provide the link for the API's documentation

from mbed-client-c.

ciarmcom avatar ciarmcom commented on August 16, 2024

ARM Internal Ref: IOTCLT-704

from mbed-client-c.

shanmugav avatar shanmugav commented on August 16, 2024

Can you tell me how to run the mbed-client-c test example: multithread-linux-test? How to view the result in mbed cloud server like we see it for mbed-client C++ linux test example?

from mbed-client-c.

yogpan01 avatar yogpan01 commented on August 16, 2024

mbed-client-c is an independent module which doesn't connect to mbed cloud server because its not supporting DTLS connectivity. Applications using mbed-client-c must implement their own connectivity and secure connection logic.

from mbed-client-c.

shanmugav avatar shanmugav commented on August 16, 2024

Can you share detailed steps on how to test mbed-client-c. I understand that mbed-client-c doesn't have DTLS support.

My assumption is

  1. Add openssl (or some other SSL) support
  2. do a SSL connect with security key obtained from my account in mbed.
  3. Now the status should show active on the server in my web page and we are ready to go.

I would like to add support on the same, please confirm and elaborate more if there is any ambiguity.

from mbed-client-c.

shanmugav avatar shanmugav commented on August 16, 2024

Another question just came into picture is, do we need DTLS or is TLS alone is sufficient? like open-ssl and do a SSL-TCP connect using TLS.

from mbed-client-c.

yogpan01 avatar yogpan01 commented on August 16, 2024

Hi,
The steps you mentioned for adding ssl and connectivity to add on top of mbed-client-c are correct.
As for using SSL-TCP and TLS, it can be done but then since mbed-client-c is based on CoAP (which in turn in based on UDP) , you would need to do some additional data-header length shiming before you can have a successful TCP pipe. You can refer to our source code , to see how to have CoAP on TCP implementation (example from Linux porting) from here
https://github.com/ARMmbed/mbed-client-linux/blob/master/source/m2mconnectionhandlerpimpl.cpp#L277

from mbed-client-c.

Related Issues (17)

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.