Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:Azure-Samples/mxchip-iot-devkit-dps
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryYangKai committed Nov 27, 2019
2 parents 889247e + 460a0df commit d31ae32
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 15 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/close-resolved-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close resolved issues

on:
schedule:
- cron: "0 * * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: blackchoey/stale@releases/v1.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been resolved and it will be closed if no further activity occurs within 3 days. Thank you for your contributions.'
stale-issue-label: 'pending close'
days-before-stale: 7
only-labels: 'resolved'
last-updated-user-type: 'collaborator'
days-before-close: 3
operations-per-run: 150
21 changes: 21 additions & 0 deletions .github/workflows/need-attention-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Pickup issues that needs attention

on:
schedule:
- cron: "0 * * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: blackchoey/stale@releases/v1.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has no recent activities, please take a look and provide updates for it.'
stale-issue-label: 'need attention'
days-before-stale: 3
last-updated-user-type: 'non-collaborator'
days-before-close: 999
operations-per-run: 150
22 changes: 22 additions & 0 deletions .github/workflows/stale-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Mark stale issues and close them

on:
schedule:
- cron: "0 * * * *"

jobs:
stale:

runs-on: ubuntu-latest

steps:
- uses: blackchoey/stale@releases/v1.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has no recent activities. It will be closed if no further activity occurs within 3 days. Thank you for your contributions.'
stale-issue-label: 'stale'
days-before-stale: 7
only-labels: 'need more info'
last-updated-user-type: 'collaborator'
days-before-close: 3
operations-per-run: 150
3 changes: 1 addition & 2 deletions Device/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"files.exclude": {
".build": true,
".iotworkbenchproject": true
},
"C_Cpp.intelliSenseEngine": "Tag Parser"
}
}
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
page_type: sample
languages:
- javascript
- nodejs
- c
- cpp
products:
- azure
Expand All @@ -27,29 +26,27 @@ The [MXChip IoT DevKit](https://aka.ms/iot-devkit) is an all-in-one Arduino-comp

Finish the [Getting Started Guide](https://docs.microsoft.com/en-us/samples/azure-samples/mxchip-iot-devkit-get-started/sample/) to:

* Have your IoT DevKit connected to Wi-Fi.
* Prepare the development environment.
* Have your IoT DevKit connected to Wi-Fi.
* Prepare the development environment.

An active Azure subscription. If you do not have one, you can register via one of these methods:

* Activate a [free 30-day trial Microsoft Azure account](https://azure.microsoft.com/free/).
* If you are an MSDN or Visual Studio subscriber
Claim your [Azure credit](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details/).
* Activate a [free 30-day trial Microsoft Azure account](https://azure.microsoft.com/free/).
* If you are an MSDN or Visual Studio subscriber. Claim your [Azure credit](https://azure.microsoft.com/pricing/member-offers/msdn-benefits-details/).

## Even if you have a subscription

Even if you do have an active Azure subscription but have not yet created an instance of the Device Provisioning service

* Create and link IoT Hub with Device Provisioning Service instance with
[Set up auto provisioning](https://docs.microsoft.com/en-us/azure/iot-dps/quick-setup-auto-provision).
* Create and link IoT Hub with Device Provisioning Service instance with [Set up auto provisioning](https://docs.microsoft.com/en-us/azure/iot-dps/quick-setup-auto-provision).

## Open the project folder

### Start VS Code

* Start Visual Studio Code.
* Make sure [Azure IoT Device Workbench](https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-iot-workbench) is installed.
* Connect IoT DevKit to your PC.
* Start Visual Studio Code.
* Make sure [Azure IoT Tools](https://aka.ms/azure-iot-tools) is installed.
* Connect IoT DevKit to your PC.

### Open Azure IoT Device Workbench Examples

Expand Down Expand Up @@ -179,4 +176,4 @@ Advance to the other tutorials to learn:
- [Manage device enrollments](https://docs.microsoft.com/en-us/azure/iot-dps/how-to-manage-enrollments)
- [Revoke device access](https://docs.microsoft.com/en-us/azure/iot-dps/how-to-revoke-device-access-portal)
- [Use HSM with SDK](https://docs.microsoft.com/en-us/azure/iot-dps/how-to-revoke-device-access-portal)
- [Control access to Provisioning Service](https://docs.microsoft.com/en-us/azure/iot-dps/how-to-control-access)
- [Control access to Provisioning Service](https://docs.microsoft.com/en-us/azure/iot-dps/how-to-control-access)

0 comments on commit d31ae32

Please sign in to comment.