Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Oct 20, 2011
  1. Remove private part specifics.

    authored
    The delays originally here were tied to a specific part we were using for the modbus master.  No-one
    else should need them :)
  2. Fix the damn compiler warning!

    authored
  3. Fix the out of sync replies!

    authored
    The original flush routine would decide that it had finished swallowing input as soon as it
    _ever_ got "no bytes available" even if it was just in between a byte somewhere.
    
    That was far from reliable.  Instead, it should keep flushing and swallowing until the line
    has been idle for the "inter byte timeout" period.  If bytes keep appearing before that
    timeout, the timeout needs to be reset!
    
    This became instantly more reliable.  Given the speeds and timeouts in other
    implementaitons, this can mean that we (slave AA) will still be flushing the original
    request to slave BB when slave BB's response comes back over the line.  That's fine. We
    don't care about their message anyway.  We simply rely on the master's inter _message_ delay
    being a bit longer than 10ms :)
Commits on Oct 11, 2011
  1. Fix error in logical addressing for write registers

    authored
    The index into the local table should only increment by one, it points to a
    16bit table, only the byte offset into the packet should increment by 2.
Commits on Sep 21, 2011
  1. Drop early if the frame is not for us.

    authored
    Before, the drop was too late, and exceptions were being returned even when it wasn't
    properly addressed to us.
    
    (Also correct a typo in the return value if the frame was too long)
Commits on Sep 20, 2011
  1. Ignore packets not destined for us.

    authored
    (Hopefully after correctly reading in all bytes)
Commits on Sep 19, 2011
  1. Merge branch 'master' of github.com:karlp/modbusino

    authored
    Conflicts:
    	Modbusino.cpp
  2. Merge upstream changes

    authored
  3. Add more constructors/setup routines.

    authored
    And make sure all examples compile, and show off all the features.
  4. Let the slaveid be set after construction.

    authored
    This is important if the slave id needs to be determined programmatically,
    for instance, via reading a 1-Wire serial number chip.
  5. Support logical addressing of modbus slaves

    authored
    This allows a slave to define what address space it listens to, for instance, 0x2000-0x2010, but only use a
    register table of the 16 entries required.
  6. Prepare for adding base address support.

    authored
    Verifies still works, and base address parameter is simply ignored.
  7. Fix return code for slave loop

    authored
  8. Support a tx enable pin ouput, and delays around that pin.

    authored
    Also, rely on an externed HardwareSerial object, so we work on more boards like teensy as well.
  9. Add more constructors/setup routines.

    authored
    And make sure all examples compile, and show off all the features.
  10. Let the slaveid be set after construction.

    authored
    This is important if the slave id needs to be determined programmatically,
    for instance, via reading a 1-Wire serial number chip.
Commits on Sep 16, 2011
  1. @stephane

    Avoid undefined rc in loop (closes #1)

    stephane authored
    Thanks to Karl Palsson.
Commits on Sep 14, 2011
  1. Support logical addressing of modbus slaves

    authored
    This allows a slave to define what address space it listens to, for instance, 0x2000-0x2010, but only use a
    register table of the 16 entries required.
Commits on Sep 13, 2011
  1. Prepare for adding base address support.

    authored
    Verifies still works, and base address parameter is simply ignored.
  2. Fix return code for slave loop

    authored
Commits on Sep 12, 2011
  1. Support a tx enable pin ouput, and delays around that pin.

    authored
    Also, rely on an externed HardwareSerial object, so we work on more boards like teensy as well.
Commits on Apr 22, 2011
  1. @stephane

    Check the slave argument

    stephane authored
  2. @stephane

    Broadcast address support

    stephane authored
Commits on Apr 14, 2011
  1. @stephane

    New example sketch

    stephane authored
  2. @stephane
  3. @stephane
  4. @stephane
  5. @stephane

    Fix void return

    stephane authored
Something went wrong with that request. Please try again.