iot

【IoT】物联网NB-IoT之电信物联网开放平台对接流程浅析

ぃ、小莉子 提交于 2019-12-01 21:53:21
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 本文链接:https://blog.csdn.net/liwei16611/article/details/82705855 电信物联网开放平台对接流程如下图所示: 1、创建 APP 应用 登录中国电信物联网开放平台对接测试环境SP Portal(https://180.101.147.135:8843),初次登录需要修改初始密码。 选择【应用管理】->【应用】点击右上角“+创建应用”。 典型的 NB-IoT 应用的参数设置可参考如下设置: 所属行业: 公用事业(NB-IoT) 关联API包: 基础API包和公用事业(NB-IoT) API包 平台能力: 规则引擎 数据存储时间: 当超过了数据存储时间以后,应用将不能再获取到已上报的数据。 短信服务器: 使用户可以通过短信服务器实现与工程师的紧密联络。服务器可以选择平台已经支持的服务器之一,也可以选择第三方服务器。 邮件服务器: 使用户可以通过邮件服务器实现与工程师的紧密联络。服务器可以选择平台已经支持的服务器之一,也可以选择第三方服务器。 CA证书: 第三方应用通过HTTPS对接中国电信物联网开放平台时服务器下发的证书,用于身份识别和电子信息加密,实现双向认证。证书文件限制为不超过1M的PEM格式文件

How do I connect my Raspberry Pi 3 running Android Things to a wifi network?

一世执手 提交于 2019-12-01 10:28:30
I have flashed my Raspberry Pi 3 with the Android Things image, I have not been able to connect it to my wifi network. I have run adb devices but I get no response. Justin Giorgi Take a look at this question: connect to Raspberry Pi 3 using adb The Raspberry Pi isn't a USB device, the USB connection is just for power, so it won't show up in adb devices . You have to connect it to a network first then use adb connect . In short, you have to connect it to network using Ethernet and then follow the instructions using adb command to connect it to Wifi. Yeah, I know it is dumb but it is just the

how to use ssl/tls in paho mqtt using python i got certificate verify failed

半世苍凉 提交于 2019-12-01 08:42:32
问题 hi I am working on IOT internet of things I am using paho MQTT I need to use SSL I wrote publish code using python I got an error in "certificate verify failed" please help me thank in advance MY PUBLISHING CODE import time import paho.mqtt.client as paho import ssl import certifi #define callback def on_message(client, userdata, message): time.sleep(1) print("received message =",str(message.payload.decode("utf-8"))) client= paho.Client("client-001") client.on_message=on_message print(

干货 | 设备快速上云,轻松搞定设备与云端通信

北城余情 提交于 2019-12-01 07:53:16
本文主要讲解如何使用京东云物联网引擎产品,快速创建产品及设备,并通过SDK将设备安全地连接至云端,实现设备的数据上报与订阅,让刚接触该产品的用户能够对京东云物联网平台有个初步的认识。 目前京东云 IoT Device SDK 提供了C语言开发包,访问链接进行下载: jdcloud-iot-device-sdk-c.zip ( https://docs.jdcloud.com/cn/iot-core/device-sdk-download-link ) 京东云IoT Device SDK,是提供给设备厂商,用于集成在设备之上,并通过SDK安全的将设备连接至京东云物联网引擎进行管理。设备必须要支持TCP/IP协议才能使用Device SDK,其他非IP设备或非标准MQTT协议的设备,需要通过网关,边缘节点以及物联网协议适配才能接入物联网引擎。目前SDK面向MQTT C语言开发者,支持Linux系统环境。 SDK架构 应用业务逻辑、SDK、HAL的关系如下图所示: 应用只需关心使用SDK API组合业务逻辑,无需关心通信细节,HAL层需要用户根据自身的OS和设备信息进行适配,SDK提供了Linux的HAL层适配。 快速上手,设备接入操作步骤 登入物联网引擎控制台( https://iot-console.jdcloud.com/core/ ),用户进行开通服务后,即可进入快速接入设备页面

AWS IoT Android application over MQTT throws MqttException (0) - java.io.IOException: Already connected

让人想犯罪 __ 提交于 2019-12-01 06:56:24
I am trying to use 'Authenticate using Cognito-Identity with Cognito user pool' in my Android application. My Cognito user pool authentication works well, when I run that separately and I had seen a JWTToken as well. When I run the the 'PubSub' sample application with Unauthenticated role, it worked as expected. When I integrate these two features in one application, the application threw following error. W/System.err: MqttException (0) - java.io.IOException: Already connected W/System.err: at org.eclipse.paho.client.mqttv3.internal.ExceptionHelper.createMqttException(ExceptionHelper.java:38)

Act for other devices on Azure IoT Hub

不羁岁月 提交于 2019-12-01 05:29:07
问题 In our scenario, we have a bunch of devices that communicate locally with a gateway. The gateway is responsible to aggregate events from the devices and send it to the cloud. It should also receive device configuration changes from the the cloud and transport it to the specific device. Based on my reading I would think that this is actually a typical IoT Hub scenario. And we would very much like to use the device management, messaging and maybe even twins that IoT Hub provides. However, the

USB Mobile Broadband Modem on Windows 10 IoT?

泪湿孤枕 提交于 2019-11-30 05:32:14
Anyone had experience using a USB Mobile Broadband on Windows IoT with the Raspberry Pi2 already? I have a Huawei datacard in the Windows IoT and appears as HUAWEI Mobile on connected devices but I'm unable to see the device on the wifimanager.htm admin page. Don't even appear on the Device Manager list. Is this lack of drivers? I was looking for a solution too, and I have finally found one. I hope the following will help you! For the record, I used a Vodafone (Huawei) K5150, "officially" supported and Microsoft verified, according to the hardware compatibility list: https://developer

Azure IoT Hub AMQP Communication Multiplexing

百般思念 提交于 2019-11-29 21:43:03
问题 In some of the Microsoft documentation for working with Azure IoT hubs, it mentions that it is possible to multiplex the communication of multiple devices under a single TLS connection (using the AMQP protocol) for scenarios where multiple simple devices talk to a local hub device that is powerful enough to communicate with the IoT Hub. Are there any examples of how one would implement this multiplexing? The DeviceClient library does not appear to support this (although I could be wrong).

香蕉派 banana pi BPI-M64 四核心64位开源单板计算机 全志A64方案

元气小坏坏 提交于 2019-11-29 18:10:34
Banana pi BPI-M64搭载全志 A64 1.2 Ghz四核ARM Cortex A53 64位处理器, GPU采用双核500MHz Mali-400 MP2,具有的1.1 gpixel的吞吐量,让其图形能力远高于X-Box的性能水平 banana pi BPI-M64由最新的64位四核ARM A53 CPU供电,可提供比其他同行的32位开源开发板高出20%~30%的性能. BPI-M64 主要配置亮点: *64 位四核 ARM Cortex A53 1.2 Ghz CPU *Dual core Mali 400 MP2 GPU *板载2G DDR3内存 * MicroSD卡座,可以从TF卡启动系统 * 板载8G eMMC flash,系统可以烧录到eMMC,从eMMC启动 * 板载WIFI与蓝牙 * 支持IR遥控,2USB接口 * 支持1000M网口 * 支持Linux和Android 6.0系统 硬件接口: banana pi BPI-M64 硬件规格: banana pi BPI-M64在线文档: https://bananapi.gitbooks.io/bpi-m64/content/en/ 论坛: http://www.banana-pi.org http://www.banana-pi.org.cn 来源: oschina 链接: https://my

update uwp app from usb drive on raspberry pi

本小妞迷上赌 提交于 2019-11-29 17:00:48
I have a Universal Windows App I created in visual studio 2017. I have deployed this app on my raspberry Pi and it is running good. I also have create a package using 2017. I want to add an update button to my app and when pressed it would look for a USB stick and check for a file. I it sees this file it will update the app just as if it was looking to the store to update. This unit has no connection to the internet and is for internal use only. But, I want to make sure that I can update these or give a USB stick with the update on it so a colleague can update it. I have no idea how to do this