Skip to content

chris-han/MTC-Beijing-Azure-IoT-Workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTC-Beijing-Azure-IoT-Workshop

Using Azure IoT Studio in Azure China

How to setup the device management tool "DMConsole"? Modify setting in the configuration file 'Microsoft.Azure.IoT.Studio.Tool.DMConsole.exe.config': Path: $/ configuration/ userSettings/ Microsoft.Azure.IoT.Studio.Tool.Properties.Settings/ setting name="ConnectionString"/ value Replace the value with IoTEntry connection string (it could be found at IoTStudio portal)

########################################## How to register new device by DMConsole? Microsoft.Azure.IoT.Studio.Tool.DMConsole /a:AddDevice /d: i.e. "C:\IOT Workshop\IoTStudio\Binary\DMConsole\Microsoft.Azure.IoT.Studio.Tool.DMConsole.exe" /a:AddDevice /d:MTC_Simulator002 ##########################################

How to unregister device by DMConsole? Microsoft.Azure.IoT.Studio.Tool.DMConsole /a:RemoveDevice /d:

How to retrieve given device by DMConsole? Microsoft.Azure.IoT.Studio.Tool.DMConsole /a:GetDevice /d:

How to list all registered devices by DMConsole Microsoft.Azure.IoT.Studio.Tool.DMConsole /a:ListDevices

How to send command to given device by DMConsole? Microsoft.Azure.IoT.Studio.Tool.DMConsole /a:SendCommand /d: /p:

################################## How to launch device simulator? Run Microsoft.Azure.IoT.Studio.Device.Sample.exe /m: i.e. Cd "C:\IOT Workshop\IoTStudio\Binary\DeviceSimulator" Microsoft.Azure.IoT.Studio.Device.Sample.exe /m:".\DeviceManifest.json" ##################################

To setup device to be simulated, please modify $/deviceGroups/devices. Replace "deviceId" with the device ID, and replace "deviceSecret" with the full device connection string.

About

Using Azure IoT Studio in Azure China

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages