This repository is not longer maintained and exists for informational reasons only.
Click to visit Demo page.
Click this page and follow it to create your own IoT hub
-
Replace the connection string with your Azure IoT hub device connection string, and click
run
button or typenpm start
in the console to run a client application to- send message to IoT hub
- receive C2D message from IoT hub
- receive device method from IoT hub
-
While the sample code running, you can see
- the LED is blinking in the left part
- some message is printed in the console
-
To expand the code editor, you can fold the console
-
Write your own piece of code in the code editor and run
Notice! Only source
branch is for source code. master
and static-int
branch are generated by build service. So never manually update these branches.
- Create a new branch based on
source
branch. - Create a Pull Request.
- Merge with
source
branch with at least one approval. Do not merge with git tags - Wait for 5 minutes and check your change on test site
- Before doing following steps, make sure all changes are tested on test site.
- Create a tag with
git tag
command. Better name the tag as version number. - Use
git push --tags
command to push tag onsource
branch. - Wait for 5 minutes and check your change on prod site