Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Xiangzhi Sheng 90f29c79cb Improve the fault tolerance of device connection failure
Currently, the simulator may meet connection failure randomly. It will cause the device failed to send and recevie any message. IoT Hub team suggested to re-create the DeviceClient object as a workaround. But it looks not enough, since sometime the it may take quite long time the reconnect to IoTHub even with the new created DeviceClient.

In this code change, we are going to improve the fault tolerance from angles below:
1. Upgrade the Device Client SDK to latest version
2. Add simulator scope check. If 50% devices was found in status "down", the whole simulator process will restart. It will happen only if the simulator was running as a WebJob in cloud environment.
3. [BugFix] Use “finally" statement to ensure the transport object was released
4. Add more trace log
2017-04-13 10:42:52 +08:00
Xiangzhi Sheng 1faa1b1565 Fix FxCop warnings 2017-03-13 13:51:55 +08:00
Xiangzhi Sheng cd7b903ac7 Revert updating of NuGet package 'Validation'
The latest version will introduce build break while trying to restore NuGet packages
2017-02-24 18:42:43 +08:00
Xiangzhi Sheng d4d372969c Update IoT Hub SDKs 2017-02-24 16:53:08 +08:00
Xiangzhi Sheng c5f8aae8d6 Simulator switch back to C# SDK
By this code change, we will switch back to the C# device SDK. It will unblock the traditional command, and decrease the memory cost, especially when lots of devices were simulated.
2016-12-20 19:39:26 +08:00
Xiangzhi Sheng a0796d2b2c Upgrade IoT Hub service SDK to 1.1.0 (official version)
IoT Hub DM feature was GA yesterday. And the NuGet package of the service SDK was updated on last Thursday. We are going to upgrade the package in our project to official version.

There is one minor change in interface: the returned value type of C2D method was changed from string to int.
2016-11-23 14:16:01 +08:00
Hui Jiang b3a2fafc82 add WebAPI for Edit properties of single device, Dashboard, ScheduleJob, Create Job page, job list 2016-11-11 17:12:54 +08:00
Xiangzhi Sheng 24f96ad3c2 Fix merge issue 2016-11-10 17:20:05 +08:00
Xiangzhi Sheng 8894834284 Revert "Switch IoTHub service SDK to support DM feature"
This reverts commit f0ea019a5a.
2016-10-28 17:01:05 +08:00
Xiangzhi Sheng f0ea019a5a Switch IoTHub service SDK to support DM feature
Currently, the NuGet package Microsoft.Azure.Devices.1.1.0-preview-004 is the latest IoTHub service SDK for C#.
2016-10-28 15:59:49 +08:00
Hande Adiguzel ec9080664d RM 1.5 - merge to master (#387)
August Integration merge to Remote Monitoring. v1.5.0
2016-08-31 11:48:28 -07:00
James Webster 1364bf81b7 Remove dependency on ServiceRuntime
PS Cleanup of global var
Downgrade data to 5.6.4 because of storage dependency
Fix net versions
2016-04-21 17:36:43 -07:00
alzaslon 721c4f86f9 more updates 2016-04-21 13:18:39 -07:00
inspiravetion e68e073a3e upgrade of deps finished and tested locally and in cloud 2016-04-18 08:46:52 -07:00
jamesweb-ms eccaf02b8d Initial commit 2015-09-28 21:28:36 -07:00