- 博客(13)
- 资源 (1)
- 收藏
- 关注
原创 W dBm dBw db
W 就是不说了吧,功率P的单位 dBm 定义的是 miliwatt。y dBm = 10log ( P /1 mw), 如 0 dBm = 10log1 mw; dB 定义是两个功率差 = 10log ( P2 / P1 ) ;
2020-03-16 15:38:48
184
原创 百度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
244
原创 百度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
314
原创 百度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
184
原创 百度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
201
原创 百度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
293
原创 百度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
1693
原创 百度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
387
原创 百度IOT Hub (五) Paho MQTT Client SDK
Link :http://www.eclipse.org/paho/ Download Link :http://www.eclipse.org/paho/downloads.php Client MQTT 3.1 MQTT 3.1.1 LWT SSL/TLS Automatic Reconnect Offline Buffering Messag...
2019-09-27 13:51:24
415
原创 百度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
272
原创 百度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
1603
原创 百度IOT Hub (二) 设备节点相互通信
参见https://cloud.baidu.com/doc/IOT/s/Wjwvy7808 https://cloud.baidu.com/doc/IOT/s/vjwvy6y0v 一个物影子对应一个设备节点。针对同一物模型 Monitor创建两个物影子。 MyMonitor_Sender 负责publish topic import time import paho.mqtt.clie...
2019-09-26 19:52:03
518
原创 百度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
1872
ROSE培训教材中文简版
2009-09-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人