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
21 Feb, 2014
2 commits
  • Switch test programs to a BSD license ...
    bdd5379a
    It concerns only the files in 'tests' directory.
    Stéphane Raimbault authored
    2014-02-21 12:36:12 +0100  
    Browse Code »
  • Fix remote buffer overflow vulnerability on write requests ...
    83c34102
    Protects against crafted write requests with a large quantity but a small
    byte count. If address + quantity was in the mapping space of the server
    and quantity greater than the response size, it was possible to crash
    the server.
    
    The sleep/flush sequence improves the handling of following requests.
    Stéphane Raimbault authored
    2014-02-21 11:51:56 +0100  
    Browse Code »

30 Jan, 2014
1 commit
  • Avoid twice connect() in source code (closes #194)
    29851c2f
    Stéphane Raimbault authored
    2014-01-30 00:52:40 +0100  
    Browse Code »

28 Jan, 2014
4 commits
  • Fix compilation with MinGW (GCC 4.8.1) under Win7 (closes #163) ...
    dcfac5a7
    Thank you MarjanTomas and SwissKnife.
    Stéphane Raimbault authored
    2014-01-28 23:43:52 +0100  
    Browse Code »
  • Fix TCP IPv4 modbus_connect() on win32 (closes #100 and #165) ...
    706fa6b2
    Thank you Petr Gladkiy and MarjanTomas.
    Sorry for the delay...
    Stéphane Raimbault authored
    2014-01-28 22:46:11 +0100  
    Browse Code »
  • Fix 24a05ebd3c0 - win32: init of modbus_tcp_pi_listen (#187)
    7272fb09
    Stéphane Raimbault authored
    2014-01-28 22:39:25 +0100  
    Browse Code »
  • INADDR_* macros are defined in host byte order ...
    270f02c8
    From Michael Heimpold:
    Just a nitpick: the INADDR_* macros are defined in host byte order,
    compare INADDR_LOOPBACK. So it would be reasonable to wrap this with
    htonl(INADDR_ANY). However, every experienced socket programmer should
    know that INADDR_ANY equals 0.0.0.0, passing it through htonl does not
    have any effect.
    Stéphane Raimbault authored
    2014-01-28 22:14:07 +0100  
    Browse Code »

16 Jan, 2014
1 commit
  • So many boring changes to the documentation ;)
    d2b288be
    Stéphane Raimbault authored
    2014-01-16 00:13:28 +0100  
    Browse Code »

15 Jan, 2014
3 commits
  • Filter of IP addresses in IPv4 server (closes #190) ...
    c1665d40
    - protect against NULL IP address BTW
    - update documentation
    Stéphane Raimbault authored
    2014-01-15 23:33:20 +0100  
    Browse Code »
  • Updated NEWS file
    c3358643
    Stéphane Raimbault authored
    2014-01-15 23:33:20 +0100  
    Browse Code »
  • Allow to listen any hosts in IPv6 (closes #32) ...
    8f1cc7b3
    - allow an empty string or NULL for node argument
    - protect against NULL in service argument
    - new test for NULL service
    - update documentation
    Stéphane Raimbault authored
    2014-01-15 23:33:20 +0100  
    Browse Code »

09 Jan, 2014
2 commits
  • win32: improve way to get current tick count in tests {#187) ...
    652b5b05
    Thanks to vgrin for the report
    Stéphane Raimbault authored
    2014-01-09 17:11:29 +0100  
    Browse Code »
  • win32: init of modbus_tcp_pi_listen (#187)
    24a05ebd
    Stéphane Raimbault authored
    2014-01-09 10:40:18 +0100  
    Browse Code »

16 Dec, 2013
1 commit
  • Convenient assert macro for unit testing ...
    bb6be03c
    It's never too late to remove 261 lines of code ;)
    Stéphane Raimbault authored
    2013-12-16 19:09:11 +0100  
    Browse Code »

13 Dec, 2013
2 commits
  • Initialize device argument to NULL on malloc (closes #184)
    55bd5054
    Stéphane Raimbault authored
    2013-12-13 18:58:17 +0100  
    Browse Code »
  • Compiling with -Werror=pendantic produces an error (closes #183)
    92266137
    Stéphane Raimbault authored
    2013-12-13 15:11:11 +0100  
    Browse Code »

11 Dec, 2013
2 commits
  • MinGW make type warning in unit-test-server.c (closes #180) ...
    457be540
    Thanks to Marjan Tomas
    Stéphane Raimbault authored
    2013-12-11 14:28:13 +0100  
    Browse Code »
  • MinGW make type warning in modbus-rtu.c (closes #181) ...
    5e934759
    Thanks to Marjan Tomas
    Stéphane Raimbault authored
    2013-12-11 14:24:08 +0100  
    Browse Code »

04 Dec, 2013
1 commit
  • Fix bswap macros for Microsoft Visual Studio C 2006 or newer
    017ffb30
    oldfaber authored
    2013-12-04 22:17:23 +0100  
    Browse Code »

02 Dec, 2013
1 commit
  • Fix MinGW make error 'MSG_NOSIGNAL' undeclared (closes #175) ...
    1eabc8a0
    Thank you Marjan Tomas.
    Stéphane Raimbault authored
    2013-12-02 13:54:59 +0100  
    Browse Code »

26 Nov, 2013
1 commit
  • Define and public export of MODBUS_MAX_PDU_LENGTH (closes #167)
    d39fc1f8
    Stéphane Raimbault authored
    2013-11-26 19:34:55 +0100  
    Browse Code »

25 Nov, 2013
2 commits
  • Conditional include of socket.h or winsock2 in tests (closes #169) ...
    946fb25c
    Thanks to MarjanTomas.
    Stéphane Raimbault authored
    2013-11-25 21:51:21 +0100  
    Browse Code »
  • Truncate data from response in report_slave_id to new max arg (closes #167) ...
    52a82f8c
    Change API of function for libmodbus v3.2.0
    Stéphane Raimbault authored
    2013-11-25 21:47:23 +0100  
    Browse Code »

20 Nov, 2013
1 commit
  • Fix response timeout modification on connect (closes #80) ...
    56653068
    Thanks to Perry Kundert for bug report and initial patches.
    Stéphane Raimbault authored
    2013-11-20 09:57:45 +0100  
    Browse Code »

19 Nov, 2013
3 commits
  • Add const on timeval argument on Windows internal API
    bf060ff2
    Stéphane Raimbault authored
    2013-11-19 18:05:20 +0100  
    Browse Code »
  • Add check for protocol identifer in TCP mode
    6bc39ad9
    Stéphane Raimbault authored
    2013-11-19 18:04:51 +0100  
    Browse Code »
  • Fix typo in message. Thanks to Perry Kundert.
    ad4623c0
    Stéphane Raimbault authored
    2013-11-19 17:29:51 +0100  
    Browse Code »

14 Nov, 2013
3 commits
  • Fix few missing bold on error codes of the documentation
    4fb681f6
    Stéphane Raimbault authored
    2013-11-14 20:31:13 +0100  
    Browse Code »
  • [docs] drop reference to non-existent return data ...
    76e2a3e4
    The report slave id function returns the number of bytes as the _return_
    value, and does not include it as the first byte in the dest buffer.
    
    Update documentation to reflect reality.  There's no missing
    functionality, just slightly confusing documentation.
    Karl Palsson authored
    2013-11-14 17:01:24 +0000  
    Browse Code »
  • Change timeout to uint32 and add 3 byte timeout tests ...
    c4f7a242
    - add byte timeout tests (TCP backend only)
    - update and improve documentation
    - long timeout values are now uint32_t so it changes the API
      to disable byte timeout
    Stéphane Raimbault authored
    2013-11-14 00:31:02 +0100  
    Browse Code »

12 Nov, 2013
3 commits
  • Change syscall to flush serial buffer on Windows (closes #144) ...
    8dc4e2e5
    Thank you AlexMaz.
    Stéphane Raimbault authored
    2013-11-12 22:32:51 +0100  
    Browse Code »
  • Avoid to use reserved identifiers for header names (closes #157) ...
    d06a3eea
    https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier
    Not applied to libmodbus constants for now...
    Stéphane Raimbault authored
    2013-11-12 22:14:31 +0100  
    Browse Code »
  • Add missing sys/select.h for QNX (closes #158) ...
    13e1e8e2
    POSIX-1.2001 for fd_set. Thanks to spider391Tang.
    Stéphane Raimbault authored
    2013-11-12 22:03:44 +0100  
    Browse Code »

07 Nov, 2013
1 commit
  • Fix C compiler compliance error
    184c489c
    Stéphane Raimbault authored
    2013-11-07 13:16:00 +0100  
    Browse Code »

31 Oct, 2013
2 commits
  • Documentation typo
    8813c7e0
    Stéphane Raimbault authored
    2013-10-31 01:39:57 +0100  
    Browse Code »
  • New API for set/get response and byte timeouts ...
    ea80f740
    - update documentation
    - 5 new tests
    - updated NEWS file
    - avoid include of time.h
    Stéphane Raimbault authored
    2013-10-31 00:42:20 +0100  
    Browse Code »

23 Oct, 2013
1 commit
  • Export Modbus function codes supported by libmodbus
    8941a84c
    Stéphane Raimbault authored
    2013-10-23 23:33:36 +0200  
    Browse Code »

21 Oct, 2013
2 commits
  • Fix bandwidth-server-one (closes #152)
    349b6ded
    Stéphane Raimbault authored
    2013-10-21 12:56:00 +0200  
    Browse Code »
  • Check debug flag in RTU code
    d928314a
    Stéphane Raimbault authored
    2013-10-21 12:42:04 +0200  
    Browse Code »

10 Oct, 2013
1 commit
  • Sync packaging with official from Debian (closes #134)
    3b522097
    Stéphane Raimbault authored
    2013-10-10 20:06:07 +0200  
    Browse Code »