Azure-Samples / azure-iot-starterkit-cli

Microsoft Azure IoT Starter Kit Companion CLI
MIT License
2 stars 9 forks source link

Update scripts #1

Closed daisukeiot closed 6 years ago

daisukeiot commented 6 years ago

Purpose

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[x] Other... Please describe:

Added more logging for better troubleshooting Added network detection logic using ping instead of fixed timeout Create new resources (IoTHub etc) when specified resources do not exist.

How to Test

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

What to Check

Verify that the following are valid

Other Information