IOT
umltec
技术小白
展开
-
百度IOT Hub (一) : 设备型项目
物模型 创建 参见https://cloud.baidu.com/doc/IOT/s/Ajwvy71lg/ 物影子 创建 参见https://cloud.baidu.com/doc/IOT/s/Tjwvy78bp/一个物影子对应一个物理节点实例(待确认)? MQTT.fx 模拟物理节点 通过Profile 定义连接物影子。订阅主题...原创 2019-09-26 19:37:48 · 1803 阅读 · 0 评论 -
百度IOT Hub (11) Paho C Client Async Publish Operation without SSL
1.#include <stdio.h>#include <stdlib.h>#include <string.h>#include "MQTTAsync.h"#if !defined(WIN32)#include <unistd.h>#else#include <windows.h>#endif#if def...原创 2019-10-10 18:46:04 · 276 阅读 · 0 评论 -
百度IOT Hub (十) Paho C Client Publish Operation without SSL
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "MQTTClient.h" #define ADDRESS "tcp://sdmn79a.mqtt.iot.gz.baidubce.com:1883" #define CLIENTID "MyMo...原创 2019-10-08 18:52:39 · 146 阅读 · 0 评论 -
百度IOT Hub (九) Paho C Client Subscribe Operation without SSL
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "MQTTClient.h" #define ADDRESS "tcp://sdmn79a.mqtt.iot.gz.baidubce.com:1883" #define CLIENTID "MyMo...原创 2019-10-08 18:47:19 · 140 阅读 · 0 评论 -
百度IOT Hub (八) Paho C Windows编译
git clone https://github.com/eclipse/paho.mqtt.c.git "Open Project" with VS 2017 Build "ALL_BUILD" Project paho-mqtt3a paho-mqtt3as paho-mqtt3c paho-mqtt3cs的动态(dll)和静态(lib)链接库,生成在\paho.mq...原创 2019-10-08 15:39:28 · 256 阅读 · 0 评论 -
百度IOT Hub (七) 设备与物影子交互流程
设备端 ==> 物影子 (Update) 设备==>IOT Hub : Subscribe :$baidu/iot/shadow/MyMonitor/update/accepted设备==>IOT Hub : Subscribe :$baidu/iot/shadow/MyMonitor/update/rejected设备==>IOT Hub:Publi...原创 2019-09-29 15:34:14 · 1626 阅读 · 0 评论 -
百度IOT Hub (六) Paho MQTT C版本 - Publish Demo
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "MQTTClient.h"#if !defined(_WINDOWS)#include <sys/time.h>#include <sys/socket.h>#include <unis...原创 2019-09-27 19:42:05 · 332 阅读 · 0 评论 -
百度IOT Hub (五) Paho MQTT Client SDK
Link :http://www.eclipse.org/paho/Download Link :http://www.eclipse.org/paho/downloads.phpClient MQTT 3.1 MQTT 3.1.1 LWT SSL/TLS Automatic Reconnect Offline Buffering Messag...原创 2019-09-27 13:51:24 · 354 阅读 · 0 评论 -
百度IOT Hub (四) C# 客户端demo
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using uPLibrary.Networking.M2Mqtt;using uPLibrary.Networking.M2Mqtt.Messages;names...原创 2019-09-27 13:48:28 · 224 阅读 · 0 评论 -
百度IOT Hub (三) 物影子操作
参见https://cloud.baidu.com/doc/IOT/s/1jwvy76cb使用Baidu IoT Edge SDK用户可以在设备端安装百度智能云提供的SDK,并配置连接信息,实现设备与百度智能云物接入的快速对接。有关IoT Edge SDK的下载和安装,请查看:https://github.com/baidu/iot-edge-sdk-for-iot-parse...原创 2019-09-26 20:02:13 · 1480 阅读 · 0 评论 -
百度IOT Hub (二) 设备节点相互通信
参见https://cloud.baidu.com/doc/IOT/s/Wjwvy7808https://cloud.baidu.com/doc/IOT/s/vjwvy6y0v一个物影子对应一个设备节点。针对同一物模型 Monitor创建两个物影子。MyMonitor_Sender 负责publish topicimport timeimport paho.mqtt.clie...原创 2019-09-26 19:52:03 · 459 阅读 · 0 评论 -
百度IOT Hub (12) Paho C Client Async Subscribe Operation without SSL
1.#include <stdio.h>#include <stdlib.h>#include <string.h>#include "MQTTAsync.h"#if !defined(WIN32)#include <unistd.h>#else#include <windows.h>#endif#if def...原创 2019-10-10 19:06:17 · 191 阅读 · 0 评论