Comments (6)
Hi,
It is true we have two different example applications/client libraries.
- Our default offering, supports all operating systems we support and as such, has then more complicated structure/more files in the root etc.
- But, on the other hand – allows you to do full development using Linux and it’s superior tooling.
- You can use things like
gcov
,valgrind
etc. for the application development in Linux. - Similar tools do not exist for embedded systems (like Mbed OS).
- For more complex application logic – I would claim – it makes more sense to develop the board-independent application logic using Linux and use the embedded target only for board specific things and final product validation.
- You can use things like
However, it has been recognised this complexity might scare away some people – thus a more simpler example has been created.
simple-mbed-cloud-client was sprung out as a way to simplify things a bit.
- It is using the
mbed-cloud-client
directly, it only adds a few wrapper APIs on top of it to simplify things. - It for example made the resource creation a bit simpler, thus making the
main.cpp
file shorter. - This is however something we have recognized and the simpler resource creation API is in the process of being merged to
mbed-cloud-client
itself. - The examples using this also only targeted Mbed OS, so their structure and number of files in the root was thus much smaller.
- This repository will be deprecated, as
mbed-cloud-client
itself will support the same features/functionality.
We are in the process of creating a new example repository for an Mbed OS only example that will be released in the upcoming month or so. This example repository should then also work as the basis for board / vendor specific extra examples, that can illustrate for example the sensors available on those boards etc.
I hope this clarifies things a bit. Any questions / comments or can we close the ticket?
from mbed-cloud-client.
Simple Mbed cloud client depends on Mbed cloud client.
Apparently Mbed cloud client is too complex to use on its own so simple Mbed cloud client was created to get us up and running faster.
I tend to agree that Mbed cloud client is pretty complex. I have used it on its own in the past and it took a significant amount of code review to understand how to get it working the way I wanted. I personally believe this is due to some strange interpretations of the lwm2m enabler specification.
It's a pain but I highly recommend reviewing code for both repositories so that feedback can be provided in order to improve the client and it's "helper" repository SMCC.
from mbed-cloud-client.
ARM Internal Ref: IOTCLT-3543
from mbed-cloud-client.
Any further updates on the differences between the two?
It would probably be nice for people to know for instance that SMCC defaults to using strings for everything.
from mbed-cloud-client.
Thank you for sharing the details. Feel free to close it if others do not have any further question.
from mbed-cloud-client.
Thank you, closing ticket.
from mbed-cloud-client.
Related Issues (20)
- Memory leak
- Building .a library HOT 3
- client-lite public release HOT 5
- dereferencing pointer to incomplete type 'mbedtls_md_info_t' build error HOT 2
- Backup & restore FCC on production devices HOT 8
- Auto Observable Allocation Event Handler HOT 5
- Thread safety of M2MResourceBase::set_value HOT 3
- Bug fix for multi instance resource with no initial instances HOT 2
- Different struct layouts in source files cause hard faults HOT 3
- Retransmission buffer size invalidated HOT 4
- M2MConnectionHandlerPimpl::eventloop_event_handler is called after object instance is deleted HOT 2
- mbed-os pal_crypto.h file name conflict with cloud-client file HOT 6
- Security object not lwm2m specification compliant HOT 5
- Resource 1/0/7 (Server/Binding) should be writable HOT 3
- No bootstrapping when EST feature is disabled HOT 7
- Deletion of Server object should be allowed during bootstrapping HOT 3
- Abort unregistration process on failure HOT 4
- Errors when disabling bootstrapping HOT 5
- Avoid unnecessary includes HOT 4
- Compiler error with IAR HOT 3
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-cloud-client.