Bluemix IoT NodeJS code, missing MQTT folder

2019-09-07 09:04发布

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.

can someone guide me on this?

folder structure before :

enter image description here

folder stucture after :

enter image description here

2条回答
再贱就再见
2楼-- · 2019-09-07 09:17

We updated the Node.js tutorial - please access it via the all solutions page (the page that opens when you launch the service) Let us know if you have any feedback.

查看更多
再贱就再见
3楼-- · 2019-09-07 09:38

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.

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

查看更多
登录 后发表回答