Sean Yu

IoT Specialty/Microsoft MVP/MCT

IOT 万物互联的时代


使用MQTT 连接Azure IoT Hub

本文介绍: Azure IoT Hub 对MQTT的支持; 使用MQTT 而不用Azure IoT Hub Device SDK 连接IoT Hub并双向通讯; 使用Azure IoT Hub 的 Device SDK时,SDK封装了常见的 设备到云的消息,从云端控制设备,设备孪生属性等相关操作, 无需关注MQTT中的主题订阅。 IoT Hub必须使用TLS/SSL,因此IoT Hub不支持端口1883通讯,默认采用8883。 IoT Hub 不是完整的MQTT 服务,并没有支持MQTT 3.1.1规范中的所有行为。 IoT Hub 的设备SDK默认使用 Qos 1与IoT Hub交换消息, CleanSession标志默认为0; SDK中的默认超时时间及其是否可配置: 语言 默认的 keep-alive 时间间隔 可配置性 …

Azure IOT Video IoT Hub MQTT

Azure IoT Edge入门(11)IoT Edge设备上的函数计算Function,使用Function写数据库-Using Azure Function On Edge device save data to Azure SQL Edge

本文介绍: 在IoT Edge边缘设备中部署Azure Function; 通过Azure Function或者其他Module 将遥测数据写入SQL Edge 数据库中; 本地边缘设备上的Function 附加调试; 本文代码:https://github.com/sean8544/azure-iot-edge-quickstart/tree/main/demo09 视频: 图文: 在IoT Edge边缘设备中部署Azure Function; 在部署文件上右键选择 Add iot edge module: 选择Azure Functions: 填写ACR地址: FunctionModule创建完成: 删除上一讲中创建的FirstModule和修改路由: "$edgeHub": { " …

IOT Video Functions IoT Edge Azure SQL SQL Edge

Azure IoT Edge入门(10)远程在IoT Edge设备上部署SQL数据库-Deploy Azure SQL Edge to Azure IoT Edge

本文介绍: 远程在IoT Edge设备上部署 Azure SQL Edge的几种方法; 连接到Azure SQL Edge的方法(Edge设备物理机 / Edge设备Module容器内); Azure Data Studio连接到Azure SQL Edge; 视频: 重点图文: 远程在IoT Edge设备上部署 Azure SQL Edge的几种方法; 方法1.在Azure Portal上的IoT edge设备上添加市场 模块: 进入IoT Hub 选中要部署SQL EDGE的iot edge设备: 点击 模块设置: 点击添加 市场模块: 在市场中选择SQL Server Module: 方法2.在Azure Portal上的Marketplace中选择Azure SQL Edge,然后选择待部署到的 …

Azure IOT Video IoT Edge Azure SQL SQL Edge

Azure IoT Edge入门(9)云到边缘设备控制-Azure iot edge module direct method

本文介绍: 1. Azure IoT edge 从云到边缘设备的控制方式之一 direct method。 2. Edge-agent中内置的 direct method 本文参考:https://docs.microsoft.com/zh-cn/azure/iot-edge/how-to-edgeagent-direct-method 视频: 图文: 我们之前介绍过Azure IoT Hub 的云到设备控制的方法之一是direct method,参见《云到设备的控制-direct method》。 与此类似,Azure IoT Edge Module中也支持direct method,可以实现对在线module的控制及数据传输(通过payload)。 同时,Azure IoT Edge的系统Module之一的Edge-agent中也内置了几个 …

Azure IOT Video IoT Edge

Azure IoT Edge入门(8)边缘设备到云的消息 及 在本地开发调试 debug Edge Module

本文介绍: 1. 利用Module Client 发送Module 到云的消息; 2. 如何在本地VS code中调试 Azure IoT Edge Module; 3. 使用路由 在多个模块之间控制消息流向; 本文代码请参考github:https://github.com/sean8544/azure-iot-edge-quickstart/tree/main/demo08 本文参考: 开发调试 edge module:https://docs.microsoft.com/zh-cn/azure/iot-edge/how-to-vs-code-develop-module edge hub dev tool:https://github.com/Azure/iotedgehubdev 视频: 图文: Azure IoT …

Azure IOT Video IoT Edge

【转载】物联网信号

完整报告点击下方的连接进行下载: https://videos.51azure.cloud/azure/aiot/IoT_Signals_Edition 2_Chinese.pdf 更多内容推荐: 微软Azure IOT 和 AI 的概览介绍 Azure 智能云 之 Azure IoT Hub 十分钟入门系列文章目录 Azure 智能边缘 之 Azure IoT Edge 十分钟入门系列文章目录

Azure IOT Cloud



Azure IoT 相关的链接

https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-node?WT.mc_id=IoT-MVP-5003757https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-send-telemetry-dotnet?WT.mc_id=IoT-MVP-5003757https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-node?WT.mc_id=IoT-MVP-5003757https://docs.microsoft.com/en-us/azure/iot-hub/quickstart-control-device-dotnet?WT.mc_ …


技巧-IOT hub message routing to storage account write messages in base 64

本文介绍: IoT Hub 消息路由功能JSON格式消息以base64编码存储到blob中的处理方式。 通过消息路由配置了一个路由到Stoage 的路由,编码格式采用了JSON格式,路由生效后,在Storage中发现消息体成了base64编码: base64 编码的消息体: 处理方案: 在遥测消息体里对系统属性进行手动设置: 官网文档描述:https://docs.azure.cn/zh-cn/iot-hub/iot-hub-devguide-messages-d2c#azure-storage IoT 中心支持将数据以 Apache Avro 格式和 JSON 格式写入 Azure 存储。 默认值为 AVRO。 只有在配置 Blob 存储终结点时才能设置编码格式。 不能编辑现有终结点的格式。 使用 JSON 编码时,必须在消息系统属性中将 …

Azure IOT IoT Hub