Sign inSign up

fbeltrao/iotedgedevicelab

By fbeltrao

Updated about 7 years ago

Image
0

484

fbeltrao/iotedgedevicelab repository overview

Uses the C# IoT Hub Sdk to connect to IoT Edge sending messages, updating twin properties and receiving cloud to device message. The solution can also run as stand alone app, not running as an IoT Edge Module.

For quick interaction use the built-in docker images:

  • SDK 1.18.1: fbeltrao/iotedgedevicelab:1.18.1
  • SDK 1.20.3: fbeltrao/iotedgedevicelab:1.20.3

Running:

Set the following environment variables:

VariableDescriptionDefault
UpdateTwinIndicates if twin should be updatedtrue
CloudToDeviceMessageIndicates if it should check for cloud to device messagestrue
CheckPendingCloudToDeviceMessageChecks if a new check for cloud to device message should happen if the first succeeded. The second message will be abandonedtrue
CompleteCloudToDeviceMessageIndicates if cloud to device messages should be completedtrue
DeviceLoopDelayDefines the delay in ms for each device loop5000
DeviceKickoffDelayDelay between each device loop creation5000
SendEventIndicates if device to cloud events should be sentfalse
QueuedAsyncReceivedIndicates if an the receive cloud uses a custom timeout implementation (due to problem with new SDK)true
ProtocolDefines protocol used (amqp and mqtt supported)amqp
AmqpMultiplexIndicates if multiplex amqp should be usedtrue
DeviceListComma separated list of devices. They all should have the same shared access key""
DeviceSharedAccessKeyDevices shared access key""
EdgeGatewayIndicates if the connection should done through and IoT Edge devicetrue
DelayAfterIotHubCommunicationErrorDelay in ms once a iot hub communication exception is caught5000

Tag summary

Content type

Image

Digest

Size

72.4 MB

Last updated

about 7 years ago

docker pull fbeltrao/iotedgedevicelab:1.18.1-amd64