Skip to content

Instantly share code, notes, and snippets.

There is a lot of nonsense being touted about the internet of things, says Ovum analyst
There is a lot of nonsense being touted about the internet of things (IoT), according to Gary Barnett, chief analyst, software, at Ovum.
“Predictions that there will be one trillion IoT devices by 2020 and that there will be an explosion of data are examples of this,” he told a Westminster eForum in London.
Barnett said the only way there will be anything near one trillion IoT devices by 2020 is if an IoT device was defined as “anything through which an electron passes”.
“There is still a lot of learning we have to do before IoT will become exciting, and it will take time. IoT networks will not magically appear. Someone has to deploy devices, and that can be difficult,” he said.
@as2902b
as2902b / gist:46dd541ced2ceb867347
Created October 30, 2015 00:58
Unable to build iotivity-node.
declare -x OCTBSTACK_CFLAGS="-I/home/dev/source/active/iotivity/resource/csdk/stack/include -I/home/dev/source/active/iotivity/resource/c_common -I/home/dev/source/active/iotivity/resource/csdk/ocrandom/include"
declare -x OCTBSTACK_LIBS="-L/home/dev/source/active/iotivity/out/linux/x86_64/release -loctbstack -Wl,-rpath=/home/dev/source/active/iotivity/out/linux/x86_64/release"
octypes.h -> ocstack.h and both are in resource/csdk/stack/include
CXX(target) Release/obj.target/iotivity/src/enums.o
In file included from ../src/enums.cc:4:0:
../src/enums.cc: In function ‘v8::Local<v8::Object> bind_OCTransportAdapter()’:
../src/enums.cc:27:36: error: ‘OC_ADAPTER_TCP’ was not declared in this scope
SET_CONSTANT_NUMBER(returnValue, OC_ADAPTER_TCP);
var iotivity = require("../../iotivity-node/lowlevel");
module.exports = {
init: function () {
var template = {
"handler": "iotivity",
"sid": "org.iotivity",
"capability": [
{
bin/eolian/main.c:292:4: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int opt; (opt = getopt_long(argc, argv, "vho:I:", opts, NULL)) != -1; )
^
bin/eolian/main.c:292:4: note: use option -std=c99 or -std=gnu99 to compile your code
make[2]: *** [bin/eolian/bin_eolian_eolian_gen-main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC lib/eina/lib_eina_libeina_la-eina_accessor.lo
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Making install in src
.....
config.status: creating cmakeconfig/EmotionConfigVersion.cmake
config.status: creating cmakeconfig/EluaConfig.cmake
config.status: creating cmakeconfig/EluaConfigVersion.cmake
config.status: creating cmakeconfig/EmileConfig.cmake
config.status: creating cmakeconfig/EmileConfigVersion.cmake
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
OCHeaderOption(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:73:48: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCHeaderOption(OCHeaderOption&&) = default;
^
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:73:48: error: invalid constructor; you probably meant ‘OC::HeaderOption::OCHeaderOption (const OC::HeaderOption::OCHeaderOption&)’
/home/sanjeev/GeniviDemo/meta-genivi-ocf-demo/tizen_workspace/GeniviOCFS2/usr/include/iotivity/resource/OCHeaderOption.h:75:64: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11
OCHeaderOption& operator=(const OCHeaderOption&) = default;
PRIVILEGE_CONTROL( 4715): privilege-control.c: set_dac(463) > Clear capabilties are successful : org.openinterconnect.geniviocfs2
I/TRM_SERVER( 1285): trm_main.c: TRM_set_id_sysfs(185) > /sys/devices/system/cpu/cpufreq/pmqos/cpufreq_min 998400 id3
I/TRM_SERVER( 1285): trm_server.c: TRM_scenario_thread(358) > [RECEIVE]AppLaunchLock
I/TRM_SERVER( 1285): trm_main.c: Tizen_Resource_Manager(979) > AppLaunchLock
I/TRM_SERVER( 1285): trm_main.c: TRM_set_id_sysfs(185) > /sys/devices/system/cpu/cpufreq/pmqos/bimc_freq_min 400000 id2
I/TRM_SERVER( 1285): trm_main.c: TRM_set_id_sysfs(185) > /sys/devices/system/cpu/cpufreq/pmqos/cpu_online_min 2 id2
I/TRM_SERVER( 1285): trm_main.c: TRM_set_id_sysfs(185) > /sys/devices/system/cpu/cpufreq/pmqos/cpufreq_min 998400 id2
D/AUL_PAD ( 1640): launchpad.c: __send_result_to_caller(288) > -- now wait app mainloop creation --
D/RESOURCED( 4715): main.c: librsml_initialize(47) > [librsml_initialize,47] librsml_initialize
I/efl-extension( 4715): efl_extension.c: eext_mod_init(40) > Ini