Comments (12)
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.
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.
Hi, Can you define your use case ? Is there any issue in using mbed Client APIs.
from mbed-client-c.
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.
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.
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.
ARM Internal Ref: IOTCLT-704
from mbed-client-c.
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.
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.
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
- Add openssl (or some other SSL) support
- do a SSL connect with security key obtained from my account in mbed.
- 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.
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.
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)
- Use updated module version definitions HOT 2
- module not able to build with armcc 5.06 HOT 4
- Allow for config of SN_COAP_DUPLICATION_MAX_MSGS_COUNT using yotta config HOT 9
- blockwise transfer for payloads bigger than RAM size HOT 7
- mbed client blockwise do not work HOT 3
- Message ID duplication not detected HOT 14
- Feature request: Multicast message resend to improve reliability HOT 3
- CoAP block transfer invalid payload bytes HOT 8
- Random CoAP message ID HOT 12
- Confirmable messages sending HOT 4
- Enhanced 'alloc' and 'free' function HOT 3
- stuck in while loop HOT 5
- Link in mbed-coap.lib does not exists HOT 4
- sn_grs.c interface unused param with wrong description HOT 2
- Error in passing external memory block to application HOT 3
- obs not compatible with Leshan HOT 2
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 mbed-client-c.