pelioniot / mbed-edge Goto Github PK
View Code? Open in Web Editor NEWEdge Core
Home Page: https://izumanetworks.com
License: Apache License 2.0
Edge Core
Home Page: https://izumanetworks.com
License: Apache License 2.0
We have switched Mbed TLS to version 2.15.1, but in .gitmodules, the branch name is still mbedtls-2.4. It is confused and suggest to correct it.
[submodule "lib/mbedtls"] path = lib/mbedtls url = https://github.com/ARMmbed/mbedtls branch = mbedtls-2.4
Mbed TLS version 2.15.1 will include ARMmbed/mbedtls-psa.git as one of the submodule. Repo ARMmbed/mbedtls-psa.git is one private repository and customer can't get it.
Where is the Protocol Translation API Documentation?
When running edge-core 0.6.0 on x64 without modifications, I get many errors like the following:
2018-10-22 17:33:57.297 tid: 29577 [ERR ][PAL ]: SSL Read return code -30848.
2018-10-22 17:33:57.768 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:57.980 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:58.030 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - not observable!
2018-10-22 17:33:58.182 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:58.282 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - not observable!
2018-10-22 17:33:58.581 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:58.631 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - not observable!
2018-10-22 17:33:58.780 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:58.879 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:59.085 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:59.138 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - not observable!
2018-10-22 17:33:59.253 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
2018-10-22 17:33:59.453 tid: 29577 [ERR ][mClt]: M2MBase::handle_observation() - already auto-observable or missing token!
A full debug output dump here:
https://gist.github.com/moonchen/db91ac6d862a5aa9eddad8768d7ef539
i have cloned the master branch and done cmake, the result as follows.
Building with mcc-linux-x86 toolchain
Building with mcc-linux-x86 toolchain
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
Building with mcc-linux-x86 toolchain
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
Building with mcc-linux-x86 toolchain
-- Detecting C compiler ABI info - done
-- Detecting C compile features
Building with mcc-linux-x86 toolchain
Building with mcc-linux-x86 toolchain
Building with mcc-linux-x86 toolchain
-- Detecting C compile features - done
-- Looking for pthread.h
Building with mcc-linux-x86 toolchain
-- Looking for pthread.h - not found
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Threads (missing: Threads_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.13/Modules/FindThreads.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:44 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/jotman01/docker/dockertest/nginx/mbed-edge/build/CMakeFiles/CMakeOutput.log".
See also "/home/jotman01/docker/dockertest/nginx/mbed-edge/build/CMakeFiles/CMakeError.log".
I'm following the instructions in README, and at no point it tells me to have an update_default_resources.c
file. But the build fails if it's not present. I don't have the UPDATE_ENABLED (or whatever it's called) macro enabled either. Could we add an empty cert to the project similar to what we do for mbed-cloud-client-example?
Thoughts on using mbed-edge with resinOS?
Test environment: Ubuntu 16.04
Test steps: follow up the instructions in readme.
With the latest code tag 0.11.0, it will fail when run cmake -DDEVELOPER_MODE=ON -DFIRMWARE_UPDATE=OFF ..
command.
With tag 0.10.0 , I can complete the build successfully.
I have a BLE protocol translator. It can only run on my host OS, because forwarding BLE events does not work properly. Mbed Edge can only run on Linux, so it has to sit in my VM.
With latest Edge I can no longer develop. I need a way to access the socket from my host OS. This was fine before.
Hi,
Using pt-example
or simple-js-examples/simple-pt-example.js
from https://github.com/ARMmbed/mbed-edge-examples, will not make devices deregistered in Pelion Portal.
Here is a screenshot for simple-pt-example
device:
As you can see there's only one Device deregistered, and that's 1h after the first one, probably because:
#define MBED_CLOUD_CLIENT_LIFETIME 3600
The same stands true for pt-example
s 3 devices.
Hello all,
am trying to build the project (latest master) but during CMake, some errors occur and make fails.
Using an Ubuntu 16.04.7 LTS (Xenial Xerus)
machine with all the dependencies as specified by the instructions installed.
Further the 'config/
directory is filled with the required credentials mbed_cloud_dev_credentials.c
and update_default_resources.c
Command line:
cmake -DTRACE_LEVEL=DEBUG -DDEVELOPER_MODE=ON -DFIRMWARE_UPDATE=ON -DEDGE_REGISTERED_ENDPOINT_LIMIT=100 -DEDGE_PRIMARY_NETWORK_INTERFACE_ID=ens33 ..
Output of CMake:
CMake Output
and the log files:
CmakeError.log
CMakeOutput.log
Let me know if you need more information.
Thank you.
Hi,
I wanted to run mbed-edge on raspbian, and I built it as follows, but the error occurred as follows.
How can I solve it?
==== error ====
cmake -DCMAKE_TOOLCHAIN_FILE=toolchain_file -DDEVELOPER_MODE=ON -DFIRMWARE_UPDATE=OFF ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/gcc
CMake Error: Generator: execution of make failed. Make command was: "" "cmTC_5fedb/fast"
-- Check for working C compiler: /usr/bin/gcc -- broken
CMake Error at /usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"/usr/bin/gcc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/pi/src/pelion/mbed-edge/build/CMakeFiles/CMakeTmp
Run Build Command:"" "cmTC_5fedb/fast"
No such file or directory
Generator: execution of make failed. Make command was: "" "cmTC_5fedb/fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:28 (project)
Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.