Bluemix IoT NodeJS代码,缺少MQTT文件夹 [英] Bluemix IoT NodeJS code, missing MQTT folder

查看:63
本文介绍了Bluemix IoT NodeJS代码,缺少MQTT文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Bluemix和IoT的新手.早些时候,如链接上的文档所示,我复制了停车场应用程序.那时该应用程序运行良好.现在,当我尝试再次复制相同的应用程序时,我看到代码结构已更改.代码中以前的"mqtt"文件夹已丢失/省略.我找不到"mqtt"文件夹下文件中的回调. 我检查了上述文档是否进行了修改,但它仍然是自3月以来存在的旧文档.

I am new to Bluemix and IoT. Earlier I replicated Parking Lot App as shown in the document on link. that time the app worked fine. Now when i try to replicate the same app again I see the code structure is changed. the "mqtt" folder which was there previously is missing/omitted from the code. I am unable to find the callbacks which were there in files under "mqtt" folder. I checked the above mentioned doc if its modified, but it is still the old doc which is there since March.

有人可以指导我吗?

文件夹结构:

文件夹结构:

推荐答案

IoT-Workbench现在对node.js使用了新的改进的代码生成方案. 使用旧代码的工作台的旧应用程序仍将使用旧方案,并且不会受到影响. 停车查找器样本的文档将在接下来的几天内更新,以反映更改.

IoT-Workbench now uses new improved code generation scheme for node.js. Older applications that used the old code the workbench will still use the old scheme and will not be affected. The document of the parking finder sample will be updated in the next few days for reflect the changes.

新方案引入了许多改进,例如: -更简单地处理mqtt事件和命令, -对HTTP消息的处理更简单 -更多添加用户代码的选项

The new scheme introduce many improvements like: -Simpler handling of mqtt events and commands, -Simpler handling of http messages - More options to add user code

这篇关于Bluemix IoT NodeJS代码,缺少MQTT文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆