iot

Eclipse Californium CoAP wildcard as url path

家住魔仙堡 提交于 2019-12-10 11:29:52
问题 I'm working on a CoAP app using Eclipse Californium that will declare explicitly only the root resource path, and the rest of the resources should be served and resolved through a wildcard /root/* just like on REST APIs or servlets. Is there any way to achieve that ? 回答1: Ok I managed to do it. So after a few hours of digging on their Source code here is what ended up doing. Note that it works but it's only to show how it could be done, it's still a work on progress (I did this in 3h) as I

AWS IOT connection is getting closed on IPAD OS v12.1.1

痞子三分冷 提交于 2019-12-10 11:21:28
问题 When we are connecting to AWS IoT using wss protocol on ios version 12.1.1, we were able to connect to IoT successfully, but immediately we could see onError event being triggered from IoT and then the connection gets closed. It tries to reconnect again but without any luck. The error we are getting from IoT is "{IsTrusted : true}". We are not using any certificates, just using a profile access key and secret key. The same build is able to connect properly on ios 12.0.1, 12.1 IOS version:12.1

阿里云物联网平台产品架构与优势

爷,独闯天下 提交于 2019-12-10 07:49:20
产品架构: 设备连接物联网平台,与物联网平台进行数据通信。物联网平台可将设备数据流转到其他阿里云产品中进行存储和处理。这是构建物联网应用的基础。 IoT SDK 物联网平台提供IoT SDK,设备集成SDK后,即可安全接入物联网平台,使用设备管理、数据分析、数据流转等功能。 只有支持TCP/IP协议的设备可以集成IoT SDK。 具体请参考 设备端SDK开发指南 。 边缘计算 边缘计算能力允许您在最靠近设备的地方构建边缘计算节点,过滤清洗设备数据,并将处理后的数据上传至云平台。 IoT Hub IoT Hub帮助设备连接阿里云物联网平台服务,是设备与云端安全通信的数据通道。IoT Hub支持PUB/SUB与RRPC两种通信方式,其中PUB/SUB是基于Topic进行的消息路由。 IoT Hub具有下列特性: 高性能扩展:支持线性动态扩展,可以支撑十亿设备同时连接。 全链路加密:整个通信链路以RSA,AES加密,保证数据传输的安全。 消息实时到达:当设备与IoT Hub成功建立数据通道后,两者间将保持长连接,以减少握手时间,保证消息实时到达。 支持数据透传: IoT Hub支持将数据以二进制透传的方式传到自己的服务器上,不保存设备数据,从而保证数据的安全可控性。 支持多种通信模式:IoT Hub支持RRPC和PUB/SUB两种通信模式,以满足您在不同场景下的需求。

物联网操作系统

╄→гoц情女王★ 提交于 2019-12-09 11:53:19
原文:https://blog.csdn.net/lu_embedded/article/details/78363460 前言    今天 PC 和手机时代的操作系统霸主未必能在物联网时代延续霸业 。 操作系统产业的规律是,当垄断已经形成,后来者就很难颠覆,只有等待下一次产业浪潮。 如此关键的产业环节必然是兵家必争之地 。 ARM、谷歌、微软、华为、阿里、海尔 等国内外著名的 IT 企业纷纷推出物联网操作系统,整个产业呈现出群雄逐鹿的壮观景象。 传统的嵌入式系统公司也不甘示弱,纷纷通过开源和并购策略推出面向物联网软件平台,比如 Intel、风河、芯科和 Micrium 。 在一轮新的产业浪潮中,国内创业公司也走在风口浪尖上,他们纷纷推出自己的物联网操作系统,比如 庆科、Ruff 和 RT-thread。   回溯物联网操作系统的发展历程,2014年是个重要的、标志性的起点。正是从这一年开始,ARM、谷歌、微软等国际巨头陆续登场,形形色色物联网操作系统进入我们的视野。    ARM Mbed OS   mbed OS 是 ARM 公司专门为 IoT 设计的一个操作系统平台,它支持所有基于 Cortex M 系列的控制器,mbed OS 是开源的操作系统,详情源代码请看:https://github.com/ARMmbed/mbed-os,更多介绍请看官网:https://mbed

如何创建一个基于WEB的工作流编辑器

∥☆過路亽.° 提交于 2019-12-09 10:38:07
本系列文章将会说明如何使用D3.js创建一个基于WEB的,具备添加、删除、移动、复制和粘贴节点及连接线,调整布局功能的工作流编辑器。 基础知识 JavaScript + HTML + CSS基础知识 D3.js入门教程 ,一系列简单易懂的D3.js教程,分为入门和进阶两个部分。 数据可视化实战-使用D3设计交互式图表 D3.js的文档 ,必不可少的官方文档,权威但是也比较难理解。 简单的Meteor知识,推荐阅读 《Discover Meteor》 实现 主要从以下这几个方面来收集资料,实现功能: 画布,即如何把多个图形渲染在指定的位置。参考 http://bl.ocks.org/explunit/4659227 连接,如何把各个图形之前通过曲线连接起来。参考 http://bl.ocks.org/explunit/5603250 冲突检测,如何在添加图形时使图形不重叠或覆盖,参考 http://bl.ocks.org/mbostock/3231298 画笔区域选择,参考 http://bl.ocks.org/musically-ut/4747894 限定范围的图形拖动,参考 http://bl.ocks.org/mbostock/1557377 后续文章会围绕这5个方面进行说明和实现,最终实现一个简单的用于物联网工作流编辑器。 来源: oschina 链接: https://my

为什么使用JavaScript开发物联网

℡╲_俬逩灬. 提交于 2019-12-09 10:37:49
嵌入式设备与JavaScript看似是来自两个不同世界的两个物种,八竿子都打不着。但是随着JavaScript 开疆扩土,从浏览器逆袭登陆到服务端之后又与物联网有了交集。 物联网的未来需要一门解释性语言 传统的嵌入式开发相对于WEB开发来说门槛高,碎片化严重,平台复杂。C/C++性能高,对设备资源要求低,但是对开发者的要求高,开发效率低。 物联网与互联网、移动互联网的基因是相同的,大量的应用才能铸就生态的繁荣。而使用C/C++来开发应用是及其低效和昂贵的,纵观互联网、移动互联网,应用开发是解释性语言的天下。互联网的PHP、JavaScript,移动互联网的Java,JavaScript,而物联网还是使用C/C++。因此,物联网的未来需要一门解释性语言。 JavaScript是最好的选择 相较于PHP、Python、Java来说,JavaScript是最有可能在物联网大行其道的解释性语言。 JavaScript在浏览器没有对手,nodejs在服务器端也在不停的攻城拔寨,积累了大量的资源,构建了一个完整的应用开发生态环境。 JavaScript语言本身特点适合互联网,事件驱动,异步使单线程处理网络事件得心应手。 JavaScript已经跨界到物联网,受到了行业巨头的关注,各种项目发展的如火如荼。 未来的物联网开发 如果JavaScript在物联网获得成功

Oreo Wifi Connectivity

半城伤御伤魂 提交于 2019-12-09 05:47:36
问题 I am working on an IoT app in which there is an on boarding process where the user connects to an access point, which has not internet connectivity, configure the device and then connects to his home Wifi network. Android 8 devices have been causing some problems, disconnecting from the access point and reconnecting to a previously configured network. I am assuming this is related to the connectivity update which was introduced in Android 8, from section Seamless Connectivity in this link: On

IoT using Google Cloud Service IoT solutions (Weave): How to connect Raspberry Pi and lighting the LED?

邮差的信 提交于 2019-12-09 04:21:29
I am trying to connect my raspberri pi with Google IoT Cloud solutions using Weave. I have done it already using AWS and IBM Bluemix, but could not find a way to do the same using Google Cloud. As per their documentation, it seems that some of the fies have been deprecated or not been updated. Moreover, they have been written in C language and I am not much of a C guy. I used Python for both the IBM Bluemix and AWS to connect my Pi to IoT and then establish the subscriber and exchange messages using MQTT gateway. Can anyone suggest anything regarding this? Google Weave getting started To be

Is it possible (and does it make sense) to have a bluetooth iOT device in peripheral mode listening to both, BLE and Bluetooth Classic connections

喜夏-厌秋 提交于 2019-12-08 19:15:37
We are currently building a device that needs to be compatible with newer smartphones that run BLE but also be backwards compatible with Bluetooth 2.1. We are using a Mediatek Linkit ONE board for our prototype which can operate in dual mode. They have Bluetooth classes available, however it seems that I would have to pick between either running 1) Bluetooth Classic 2.1 OR 2) BLE The classes and docs are here: http://labs.mediatek.com/site/znch/developer_tools/mediatek_linkit/api_references/Lib_Bluetooth.gsp We basically want to make our device compatible with as many Smart phones as possible

Mosquitto Secure MQTT connection

[亡魂溺海] 提交于 2019-12-08 16:08:32
My Question is regarding TLS/SSL MQTT connection. I've installed moaquitto broker from this website. http://www.eclipse.org/mosquitto/download/ and done with simple subscribe/publish using paho eclipse library in java. then I created X509 certificates using bouncycastle in java. but now I am stuck at server configurations regarding these certificates.I need to use different certificates for different topics on same broker. What I found is the following mosquitto-auth-plug. https://github.com/jpmens/mosquitto-auth-plug But here in mosquitto_auth_plugin we need to define backend databases