Skip to content

Latest commit

 

History

History
71 lines (54 loc) · 1.32 KB

File metadata and controls

71 lines (54 loc) · 1.32 KB

Backend application

{
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "AllowedHosts": "*",
  "DPS_Scope": "<Your DPS ID_SCOPE>",
  "DPS_GlobalEndpoint": "global.azure-devices-provisioning.net",
  "API_URL": "<YOUR Device Provisioning Service Middleware API URL>"
}
  • To run mock CRM web portal
cd crm/src/web/web
dotnet run

Device Setup

  • If you are using Raspberry Pi, see Setup Raspberry Pi

  • Create src/device_portal/web/appsettings.json with below content

{
  "Logging": {
    "LogLevel": {
      "Default": "Warning"
    }
  },
  "AllowedHosts": "*",
  "DPS_Scope": "<DPS ID_SCOPE>",
  "DPS_GlobalEndpoint": "global.azure-devices-provisioning.net"
}
  • Run device poral
cd dps/src/device_portal/web
dotnet run
  • Update dps/src/data/random_telemetry.json
{"data":"sample 1"}
{"data":"sample 2"}
{"data":"sample 3"}
  • Run device
cd dps/src/symmetric-key-individual-2steps
dotnet run