Cían Hughes
4ee7e8a834
Add new flag (-r) to support inverted RTS flow control\n\nThis is useful if you have a MAX485 connected to a Raspberry PI where you pull want RST low to transmit ( #98 )
2023-11-27 15:14:38 +03:00
Victor Antonovich
b07681842f
Add pyserial as a dependency for github workflow
2023-09-29 18:16:45 +03:00
Victor Antonovich
b464ec9676
Update version to 0.5.2 and year to 2023
2023-09-29 18:09:00 +03:00
Victor Antonovich
6517dea57f
Make use of Linux RS-485 support #97
2023-09-29 18:04:09 +03:00
Victor Antonovich
0f7a8c50fb
Update .gitignore
2023-09-29 17:20:23 +03:00
Victor Antonovich
18fb6d086e
Fix tests for changes in pymodbus API
2023-09-29 17:19:51 +03:00
Victor Antonovich
4e5c7e3781
mbusd 0.5.1
2022-08-18 20:35:49 +03:00
vicencb
874ce63806
Do not segfault when closing last connection ( #83 )
2022-04-06 17:19:08 +03:00
Victor Antonovich
06ccb29384
Fix crash due to missing logw() argument ( fixes #84 )
2022-04-06 16:26:26 +03:00
Victor Antonovich
7c268600b6
Add support for more complex serial port device names ( fixes #81 )
2022-02-17 13:12:04 +03:00
Jakob Schlyter
55889a7292
Add simple Dockerfile for running mbusd containerized ( #79 )
...
* init
* simplify
* explicit gcc not needed
* do not clone repository, copy source from cwd (or we cannot build releases)
2021-11-15 14:04:04 +03:00
Victor Antonovich
cb9576a5a0
Remove travis.yml
2021-11-15 13:09:24 +03:00
Victor Antonovich
16e68947ce
Move to Github Actions build status badge
2021-11-15 13:08:32 +03:00
Victor Antonovich
bf98aa6382
Install Twisted as test dependency into github build workflow
2021-11-15 13:01:40 +03:00
Victor Antonovich
dd71375628
Install socat as test dependency into github build workflow
2021-11-15 12:53:52 +03:00
Victor Antonovich
af0534d18f
Install python and test dependencies into github build workflow
2021-11-15 12:31:10 +03:00
Victor Antonovich
868d605f5d
Add Github Actions build file
2021-11-12 18:50:16 +03:00
Victor Antonovich
1efb812013
Fix for "Resource temporarily unavailable" error in tty read() ( #78 )
2021-11-12 18:04:31 +03:00
Victor Antonovich
4cd68c1bb8
Update version to 0.5.1 and year to 2021
2021-11-12 12:20:48 +03:00
Victor Antonovich
a2272c5793
Parse replyonbroadcast config option value #75
2021-07-06 16:37:36 +03:00
Victor Antonovich
6a95a732d4
Merge pull request #75 from dgoo2308/feature-reply-on-broadcast
2021-07-06 15:15:36 +03:00
Danny
b22ffa0856
feature-reply-on-broadcast
2021-06-19 12:37:55 +07:00
Victor Antonovich
432b7a1a8f
mbusd 0.5.0
2020-11-28 13:47:32 +04:00
Victor Antonovich
252aa45e5d
Improve serial port config handling and logging
2020-08-13 20:43:03 +04:00
Victor Antonovich
461ce8baa0
Do not wait for a reply for RTU broadcast address #61
2020-08-13 17:39:30 +04:00
Victor Antonovich
ad58141b87
Fix division by zero error for default serial port speed
2020-08-13 11:52:18 +04:00
Victor Antonovich
c6301d4250
Merge pull request #63 from KrystianD/feat-baudrate
...
Show an error when trying to use unsupported baudrate
2020-08-13 11:23:27 +04:00
Victor Antonovich
3742d8d8c5
Merge pull request #62 from KrystianD/master
...
Add more baudrates
Fixes #60
2020-08-13 11:17:37 +04:00
Krystian Dużyński
32344e5f94
Fix log message (baudrate to speed)
2020-08-12 00:35:02 +02:00
Krystian Dużyński
d24b257c13
Make use of baudrate 0 as indicator of default baudrate, show error when trying to use unsupported baudrate
2020-08-12 00:28:23 +02:00
Krystian Dużyński
965ff443c8
Remove unused resppause member
2020-08-12 00:27:48 +02:00
Krystian Dużyński
4bf9d94713
Add more baudrates
2020-08-12 00:08:58 +02:00
Victor Antonovich
5eb74fa568
Fix GCC C99 compatibility error
2020-05-22 16:56:31 +04:00
Victor Antonovich
f5becef211
Take into account tty parity bit in the timing calculations ( #59 )
2020-05-22 15:47:50 +04:00
Victor Antonovich
0c1dcb727d
Add online network requirements to the systemd service file ( fix #58 )
2020-05-21 13:59:53 +04:00
Victor Antonovich
88916fe82d
Add IPv6 support ( #53 )
2019-07-17 17:04:22 +04:00
Victor Antonovich
2aa063db79
Add command-line and config options to set an TCP socket address ( #53 )
...
Still no IPv6 support though.
2019-07-16 11:14:37 +04:00
Victor Antonovich
2465860496
Add 'enhancement' label to stale bot exemptLabels
2019-07-08 14:59:51 +04:00
Victor Antonovich
8e266fc5e9
Update working version to 0.4.1
2019-07-08 14:56:36 +04:00
Victor Antonovich
2282376417
Add stale bot config
2019-07-08 14:55:59 +04:00
Victor Antonovich
caec364ac1
mbusd 0.4.0
2019-07-08 13:45:36 +04:00
Victor Antonovich
c582e6f052
Move queue_next_elem() outside of the switch
block ( fix #52 )
2019-07-08 13:24:45 +04:00
Victor Antonovich
b2effb1db9
Set up stdout and stderr in Popen() calls in tests
2019-07-08 13:16:51 +04:00
Victor Antonovich
d33d66f242
Merge pull request #50 from nickma82/extending_readme
...
added informaiton from a ticket question and dev information
2019-05-27 12:15:23 +04:00
nickma
82b286d47f
added informaiton from a ticket question and dev information
...
https://github.com/3cky/mbusd/issues/24#issuecomment-349256945
2019-05-26 19:56:49 +02:00
Victor Antonovich
ba41aaee28
Merge pull request #46 from nickma82/test-pymodbus-upgrade
...
python module version freeze, pymodbus pump to v2.2.0
2019-04-22 11:53:47 +04:00
nickma
e5a8dc9f0a
pymodbus.server.async -> asynchronous
2019-04-21 22:41:06 +02:00
Victor Antonovich
f8b6448b08
Merge pull request #43 from temperednetworks/modbus-framing
...
modbus: read only a single frame at a time
2019-01-28 11:42:05 +04:00
Dustin Lundquist
5c064928ae
modbus: read only a single frame at a time
...
When multiple modbus frames were queued in the socket buffer
conn_read() would read until it completely drained the
kernel's socket buffer or filled the connection buffer. The first modbus
frame in the buffer is then processed and sent to the tty, then the
buffer is reused for the reponse after it is received from the tty
possibly overwritting any subsequent modbus request frames already read.
Avoid this by maintaining pre-connection length to read, so we only read
a single modbus frame at a time.
2019-01-25 14:13:12 -08:00
Victor Antonovich
8a29a0e029
Merge pull request #42 from nickma82/CPack-architecture
...
cmake armhf: set CPack architecture
2019-01-10 14:57:47 +04:00