Alexander Emelianov
Alexander Emelianov
Hello @CommyD Try to add this code: ```c #include bool announce() { MDNS.announce(); return true; } void setup() { //... schedule_recurrent_function_us(announce, 5000000); //... } ```
`_modbus.Hregs(HR_CURRENT_WEIGHT, (uint16_t*)weight_parts, 2);`
Try to replace yield with delay: ```cpp mb.task(); delay(50); } ``` If it doesn't help could you provide some expat data to make me able to simulate the issue in...
Could you refactor of Enum declaration to not break API compatibility: ```c enum ModbusRTUTxEnableMode: bool { /** * The TX enable pin should be high when transmitting */ TxEnableHigh =...
I suspect that you are flooding write requests from sender side. For the first try do not sent next request until get response on previous one. Something like: ```c uint32_t...
Indeed `.readHreg`/`.writeHreg`/etc returns transaction id (or `0` if unable to initiate request). With ModbusTCP it's okay to multiple requests just keep in mind that `.readHreg`/`.writeHreg`/etc just sends the request. The...
Internally registers stored objects in or custom equivalent (depending on Arduino board used) so it's not possible to provide access you want. You can use `onGet` callback dynamically to return...
Thanks. You are right about leaving typo names API calls marked as deprecated but still available. Could you please add these wrappers to the request?
If both rs-485 converters are the same server also needed to have RE/DE pins control from code.
As far as I understand you are using ModbusRTU. Can you provide extra info as - line speed used - SoftwareSerial library version used Also quick suggestion is to increase...