• When compiling with gcc and option -Wconversion it fixes the
    warning message
    
      warning: conversion from ‘X’ {aka ‘x’} to ‘Y’ {aka ‘y’} may change value
    
    Signed-off-by: José Bollo <jose.bollo@iot.bzh>
    José Bollo authored
     
    Browse Code »













  • Stéphane Raimbault authored
     
    Browse Code »
  • According to the Modbus standard, the unit identifier is choosen by the
    TCP client and can be any value:
    
    "This field is used for intra-system routing purpose.  It is typically
    used to communicate to a MODBUS+ or a MODBUS serial line slave through a
    gateway between an Ethernet TCP-IP network and a MODBUS serial line.
    This field is set by the MODBUS Client in the request and must be returned
    with the same value in the response by the server."
    
    So the current check in modbus_reply must be extended to check whether
    we are in a RTU or TCP context.
    
    Also the unit-test has to be adjusted.
    
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
     
    Browse Code »








  • Recently, there have been created a lot of issues which were not
    actually bugs but simple questions.
    
    It seems that people are too lazy to read the CONTRIBUTING file,
    so improving the issue template with the important parts could
    help to point the people to the right direction.
    
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
     
    Browse Code »