Logo white

Peter M. Groen / libmodbus

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 855
  • Compare
  • Branches 1
  • Tags 0
  • libmodbus
  • src
  • modbus-private.h
24 Nov, 2010
1 commit
  • Remove inclusion of config.h in modbus.h. Closes GH-3. ...
    e3f2c133
    Reported by Ivan Giuliani <giuliani.v@gmail.com>
    It was not possible to use libmodbus outside of projects without
    config.h file.
    
    The inclusion has been removed from the public header.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Stéphane Raimbault authored
    2010-11-24 16:40:21 +0100  
    Browse File »

03 Nov, 2010
1 commit
  • Rename modbus_[listen|accept] to modbus_tcp_[listen|accept] ...
    b8c0558c
    These functions have no meaning in RTU so it's better to specialize
    the names and remove them from the backend.
    
    - remove the functions from the backend
    - update tests to handle RTU mode (master and slave)
    - add command line options to tests (rtu or tcp)
    Stéphane Raimbault authored
    2010-11-03 08:07:56 +0100  
    Browse File »

29 Oct, 2010
1 commit
  • Add strlcpy if not available to enhance copy of device string ...
    4ac3cc37
    - check strlcpy in configure.ac
    - test for empty device string
    - test truncated device string
    Stéphane Raimbault authored
    2010-10-29 21:30:27 +0200  
    Browse File »

08 Oct, 2010
1 commit
  • Avoid constraints in header ordering ...
    50fa79da
    This change fixes a compilation problem in MinGW. As general rule,
    each header must be as independent as possible.
    Stéphane Raimbault authored
    2010-10-08 16:26:56 +0200  
    Browse File »

04 Oct, 2010
3 commits
  • Introduced select() operation for backends ...
    31577bbb
    Introduced the select() operation for backends as the WAIT_DATA macro
    approach is not very extensible and causes trouble when adding platform-
    specific codepaths.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Tobias Doerffel authored
    2010-10-04 14:28:25 +0200  
    Browse File »
  • Pass complete modbus_t structure to send()/recv() of the backends ...
    057be70d
    The send() and recv() functions of the backends might require more
    information than just a file descriptor, therefore pass the complete
    modbus_t structure.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Tobias Doerffel authored
    2010-10-04 14:28:25 +0200  
    Browse File »
  • Make error_print() globally accessible ...
    70a14990
    Renamed error_print() to _error_print() in order to indicate it's a
    private method and make it globally accessible so functions in
    modbus-rtu.c and modbus-tcp.c can make use of it as well.
    
    Signed-off-by: Stéphane Raimbault <stephane.raimbault@gmail.com>
    Tobias Doerffel authored
    2010-10-04 14:28:24 +0200  
    Browse File »

28 Sep, 2010
1 commit
  • MAJOR Split RTU and TCP code in two backends ...
    815d11f0
    All private functions and constants are now prefixed by _.
    The modbus protocol uses entry points to call specific functions.
    Stéphane Raimbault authored
    2010-09-28 23:39:51 +0200  
    Browse File »

10 Aug, 2010
1 commit
  • New read and write registers function
    9a2733e7
    Hannu Vuolasaho authored
    2010-08-10 08:39:54 +0200  
    Browse File »

23 Jul, 2010
1 commit
  • Major - Oh Gosh, it's brand new API! ...
    754235c2
    - more coherent
    - namespace
    - opaque and smaller context
    - usual wording
    Stéphane Raimbault authored
    2010-07-23 00:27:46 +0200  
    Browse File »