Stéphane Raimbault
|
0468c30b09
Fix all compilations warnings spotted by new compilation flags
|
12 tahun lalu |
Habu
|
cf6449145a
Calculate RTS activation time by send length
|
13 tahun lalu |
Stéphane Raimbault
|
541804b30e
Dynamic memory allocation of device name (closes #11)
|
12 tahun lalu |
oldfaber
|
35b707c953
Fix: CreateFile() does not set errno. Use GetLastError().
|
13 tahun lalu |
Stéphane Raimbault
|
1fca027f97
Avoid ioctl call on non-RS485 ports
|
13 tahun lalu |
Michael Haberler
|
a0aa885d01
serial_mode isn't a bitmask
|
13 tahun lalu |
Andrew Kravchuk
|
6350a99224
Fix semicolon typo and unistd.h include under windows
|
13 tahun lalu |
Stéphane Raimbault
|
8dc21ddaf5
TCP - Socket in non blocking mode by default
|
13 tahun lalu |
Stéphane Raimbault
|
c1e2e0b319
New RTU receive() to ignore confirmation from other slaves (closes #18)
|
13 tahun lalu |
Stéphane Raimbault
|
9d5344cf42
Move RTU filtering in CRC check to avoid useless call to modbus_reply
|
13 tahun lalu |
Stéphane Raimbault
|
b94ba026e0
Open fd and socket with the CLOEXEC flag when available
|
13 tahun lalu |
Stéphane Raimbault
|
16e14ae1aa
Fixed compilation break on platforms without TIOCSRS485
|
13 tahun lalu |
Stéphane Raimbault
|
1941fd4aa9
Check slave only in RTU backend and add unit tests
|
13 tahun lalu |
Stéphane Raimbault
|
c1b5d58583
Close file descriptor when the settings don't apply in RTU
|
14 tahun lalu |
Stéphane Raimbault
|
27b39f7e45
Review of RTS flow control code
|
14 tahun lalu |
Torello Querci
|
88b2eaf3be
Some stilistic changes
|
14 tahun lalu |
Torello Querci
|
fa86846c39
Motified the RTS handling routine in order to manager when the
|
14 tahun lalu |
Torello Querci
|
8bb8359080
Add some debug message in the send request function.
|
14 tahun lalu |
Torello Querci
|
bf6718c9b1
Add the support to RTS signal in order to have RS485 working on some linux box with RS485 on-board.
|
14 tahun lalu |
Stéphane Raimbault
|
3803f89e6e
Extract serial_mode attribute from platform tests
|
14 tahun lalu |
Stéphane Raimbault
|
76284c17ca
Fix proper check of HAVE_DECL_TIOCSRS485 in recent Win32 fix
|
14 tahun lalu |
Tobias Doerffel
|
4583f5ceee
Fix compile failure in modbus_rtu_get_serial_mode() without RS485 support
|
14 tahun lalu |
Matthijs Kool
|
83509b42eb
Properly check TIOCSRS485 define.
|
14 tahun lalu |
Stéphane Raimbault
|
12753875b5
Revert libmodbus licence from LGPLv3 to LGPLv2.1
|
14 tahun lalu |
Stéphane Raimbault
|
e97b72e3dc
Export the MODBUS_RTU_RS232/485 and rtu_set_serial_mode on all platforms
|
14 tahun lalu |
Stéphane Raimbault
|
ccdf684bea
Fix test of TIOCSRS485 define
|
14 tahun lalu |
Stéphane Raimbault
|
e02f0a4324
Add check to enable RS485 functions only when available
|
14 tahun lalu |
Stéphane Raimbault
|
d1f1854338
New error recovery modes: link and protocol
|
14 tahun lalu |
Stéphane Raimbault
|
9bf8309597
Add functions to set/get RS485 communications on Linux
|
14 tahun lalu |
Stéphane Raimbault
|
b4330d2143
Add check on transaction ID for Modbus TCP
|
14 tahun lalu |