-
-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Area: IoT.DevicesFOR DISCUSSIONOpen for discussion. Contributes from the community are welcome/expected.Open for discussion. Contributes from the community are welcome/expected.Type: Bug
Description
Library/API/IoT binding
Modbus
Visual Studio version
VS2022.17.4
.NET nanoFramework extension version
No response
Target name(s)
ALL
Firmware version
N/A
Device capabilities
No response
Description
There are devices out there (i.e. https://www.amazon.com/dp/B07ZYVZZKK?ref=ppx_yo2ov_dt_b_fed_asin_title - See section #3 "Read device ID") that use a high ID during calibration or readout of their real ID.
/// <summary>
/// The highest accepted device id on RTU protocol.
/// </summary>
public const byte MaxDeviceId = 0xF7; // 247
This number needs to be increased to 255 to be able to read these parameters off these devices
How to reproduce
Try to access any device with a system parameter device ID larger than 247 like
https://www.amazon.com/dp/B07ZYVZZKK?ref=ppx_yo2ov_dt_b_fed_asin_title
Expected behaviour
Should be possible somehow. Maybe with a special call that allows to address these high numbers
Screenshots
No response
Sample project or code
No response
Aditional information
No response
Metadata
Metadata
Assignees
Labels
Area: IoT.DevicesFOR DISCUSSIONOpen for discussion. Contributes from the community are welcome/expected.Open for discussion. Contributes from the community are welcome/expected.Type: Bug