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-rtu.c
27 Nov, 2022
2 commits
  • Use strcpy_s under Windows
    f807767f
    Stéphane Raimbault authored
    2022-11-27 23:06:38 +0100  
    Browse File »
  • Remove constraints on baud rate values
    fa207985
    Stéphane Raimbault authored
    2022-11-27 13:03:52 +0100  
    Browse File »

18 Oct, 2022
1 commit
  • Add .clang-format and format code (closes #394) ...
    dd45f19a
    Thank you @pboettch for initial proposal.
    Stéphane Raimbault authored
    2022-10-18 10:58:35 +0200  
    Browse File »

04 Oct, 2022
1 commit
  • New quirks handler (closes #38 #533) ...
    f0db03dd
    Useful functions when you are confronted with equipment which does
    not respect the protocol, which behaves strangely or when you wish
    to move away from the standard.
    
    Thank you @mhei for the great initial version.
    Stéphane Raimbault authored
    2022-10-04 01:39:41 +0200  
    Browse File »

18 Aug, 2022
2 commits
  • Test socket against positive value instead of -1
    6914cf96
    Stéphane Raimbault authored
    2022-08-18 13:39:00 +0200  
    Browse File »
  • Remove year range in Copyright
    5ce6b8a9
    Stéphane Raimbault authored
    2022-08-18 00:27:50 +0200  
    Browse File »

30 Mar, 2022
1 commit
  • Swap CRC bytes in request data but not at CRC computing (#397)
    27b90ded
    Stéphane Raimbault authored
    2022-03-30 18:31:00 +0200  
    Browse File »

18 Oct, 2021
1 commit
  • Add the baud rate of 256k for Windows (closes #603)
    d9054d40
    Stéphane Raimbault authored
    2021-10-18 15:25:32 +0200  
    Browse File »

11 May, 2021
2 commits
  • Fix many typos ...
    d25150ac
    Thanks to @peternewman
    Stéphane Raimbault authored
    2021-05-11 00:55:51 +0200  
    Browse File »
  • typo
    1f84d40a
    Stefan Nilsson authored
    2021-05-11 00:29:09 +0200  
    Browse File »

02 Aug, 2019
1 commit
  • SPDX: change LGPL-2.1+ to LGPL-2.1-or-later ...
    820e15fa
    Since SPDX release 3.0 LGPL-2.1+ became LGPL-2.1-or-later. Hence
    replace the deprecated identifiers.
    Yegor Yefremov authored
    2019-08-02 12:07:53 +0100  
    Browse File »

26 Oct, 2017
1 commit
  • Oops fix OR on RS485 settings (1c5d969)
    91a1d74f
    Stéphane Raimbault authored
    2017-10-26 11:11:24 +0200  
    Browse File »

25 Oct, 2017
1 commit
  • Only set SER_RS485_ENABLED bit of existing RS485 settings ...
    1c5d969f
    Thanks to @JCWren
    Stéphane Raimbault authored
    2017-10-25 20:35:47 +0200  
    Browse File »

22 Mar, 2017
1 commit
  • Handle out-of-memory conditions more gracefully ...
    c258137a
    Current code could dereference NULL pointer in case an inner
    malloc fails. Check for this and exit gracefully.
    
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
    2017-03-22 22:27:35 +0100  
    Browse File »

10 Nov, 2016
1 commit
  • Fix typo ...
    269e943a
    EMBBADCRC, not EMBADCRC
    Josh Kelley authored
    2016-11-10 12:46:00 +0100  
    Browse File »

27 Aug, 2015
4 commits
  • Change order of few functions in modbus RTU code
    8a7e2446
    Stéphane Raimbault authored
    2015-08-27 14:38:26 +0200  
    Browse File »
  • Add entries for modbus_rtu_[get|set]_delay in documentation index
    90df0215
    Stéphane Raimbault authored
    2015-08-27 14:37:42 +0200  
    Browse File »
  • Implemented runtime configurable RTS delay
    cf22eabc
    Jimmy Bergström authored
    2015-08-27 14:17:35 +0200  
    Browse File »
  • Add support for user defined RTS toggle function
    a8676b78
    Jimmy Bergström authored
    2015-08-27 12:33:13 +0200  
    Browse File »

13 Feb, 2015
2 commits
  • Fix some coding style nitpicks ...
    9e612005
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
    2015-02-13 17:34:28 +0100  
    Browse File »
  • Introduce SPDX license identifiers ...
    09807f14
    This replaces the lengthy license text headers with a short
    and standardized license tag. See http://spdx.org for details.
    
    This is useful e.g. for license compliance tools which scan
    through files and generate a report of the licenses used
    in a project.
    
    Signed-off-by: Michael Heimpold <mhei@heimpold.de>
    Michael Heimpold authored
    2015-02-13 17:33:08 +0100  
    Browse File »

12 Oct, 2014
1 commit
  • Prefix hexadecimal values with 0x to avoid confusion
    9c809805
    Stéphane Raimbault authored
    2014-10-12 02:38:34 +0200  
    Browse File »

09 Apr, 2014
3 commits
  • Move check of device earlier to avoid a free call
    d8881ea1
    Stéphane Raimbault authored
    2014-04-09 12:39:54 +0200  
    Browse File »
  • Unit test for baud rate check and error message
    93a05986
    Stéphane Raimbault authored
    2014-04-09 12:35:38 +0200  
    Browse File »
  • Fix crash modbus_new_rtu when baud is 0
    b7ed06a4
    Daniel Schürmann authored
    2014-04-09 12:19:35 +0200  
    Browse File »

13 Dec, 2013
1 commit
  • Initialize device argument to NULL on malloc (closes #184)
    55bd5054
    Stéphane Raimbault authored
    2013-12-13 18:58:17 +0100  
    Browse File »

11 Dec, 2013
1 commit
  • 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 File »

19 Nov, 2013
1 commit
  • Add const on timeval argument on Windows internal API
    bf060ff2
    Stéphane Raimbault authored
    2013-11-19 18:05:20 +0100  
    Browse File »

12 Nov, 2013
1 commit
  • 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 File »

21 Oct, 2013
1 commit
  • Check debug flag in RTU code
    d928314a
    Stéphane Raimbault authored
    2013-10-21 12:42:04 +0200  
    Browse File »

09 Sep, 2013
1 commit
  • Minor comment improvements
    558538ab
    Stéphane Raimbault authored
    2013-09-09 00:02:25 +0200  
    Browse File »

08 Sep, 2013
1 commit
  • Constant for broacast and test ordering
    1e288713
    Stéphane Raimbault authored
    2013-09-08 23:42:30 +0200  
    Browse File »

03 Jul, 2013
1 commit
  • Fix the fix of device string check. ...
    b09ff2fb
    Thanks to Jan Kardell.
    Stéphane Raimbault authored
    2013-07-03 10:35:51 +0200  
    Browse File »

22 May, 2013
1 commit
  • Avoid empty _modbus_rtu_ioctl_rts when no HAVE_DECL_TIOCM_RTS
    1bab04e5
    Stéphane Raimbault authored
    2013-05-22 23:20:06 +0200  
    Browse File »

10 May, 2013
3 commits
  • Returns -1 on invalid mode in modbus_rtu_set_rts
    b4753f7e
    Stéphane Raimbault authored
    2013-05-10 01:10:17 +0200  
    Browse File »
  • Always set socket to -1 on close()
    d8aa5a42
    Stéphane Raimbault authored
    2013-05-10 01:07:02 +0200  
    Browse File »
  • Protect all public functions against invalid context ...
    55d9a371
    - change return argument from void to int
    - update documentation
    Stéphane Raimbault authored
    2013-05-10 00:53:48 +0200  
    Browse File »

02 May, 2013
1 commit
  • Baud rate until 4,000,000 (POSIX), 1,000,000 (Windows) (closes #93)
    61440f55
    Stéphane Raimbault authored
    2013-05-02 21:07:44 +0200  
    Browse File »

01 May, 2013
1 commit
  • Safer modbus_close
    e6b64888
    Stéphane Raimbault authored
    2013-05-01 15:57:51 +0200  
    Browse File »

22 Jan, 2013
1 commit
  • Add support for 230400 baudrate
    c9960a0f
    Martijn de Gouw authored
    2013-01-22 23:41:20 +0100  
    Browse File »