Azure / azure-sphere-gallery

A collection of inspirational, unmaintained Azure Sphere software and hardware designs ready to be reused.
37 stars 38 forks source link

Definition of device modbus registers #91

Open EHUbels opened 2 years ago

EHUbels commented 2 years ago

While studying the IndutrialDeviceController example I have gone through all files, but can't find the actual format/device setting to work with the specific modbus registers. Want to use this with a very well known XY-MOD2 SHT20 sensor.

Regards,

Erik

jamesadevine commented 2 years ago

Hi @EHUbels

It looks like the app is generic and is configured from IoTHub, see: https://github.com/Azure/azure-sphere-gallery/blob/9b68f8047c64df858a59d54fa8e30f928c445cdf/IndustrialDeviceController/Software/HighLevelApp/README.md#device-provision-message

The above link shows how to pass modbus configuration to the device once set up in IoTHub