micropython-modbus icon indicating copy to clipboard operation
micropython-modbus copied to clipboard

Lib only allows one TCP connection at a time

Open brainelectronics opened this issue 1 year ago • 4 comments

As found out during #10 only one TCP Modbus connection can be established. If a second client connects to the master device, the first connection will be closed.

The parameter max_connections of the TCPServer class in function bind is misleading

see https://github.com/brainelectronics/micropython-modbus/blob/dd5b8e593697d098b29abf2615d57216c7346f4a/umodbus/tcp.py#L221

brainelectronics avatar Jul 16 '22 12:07 brainelectronics

related to #18

brainelectronics avatar Oct 23 '22 19:10 brainelectronics

Hello @brainelectronics are you thinking to solve this bug as well?

beyonlo avatar Jan 15 '23 23:01 beyonlo

Good morning @beyonlo yes I'm planning to solve all of these issues. To be honest I have to rearrange prio a bit as I was exclusively working for this lib the last few weeks. Nevertheless I really try to get this bug as well as the strange CRC and Serial Control pin bug done. After that I'll quickly do the async milestone

brainelectronics avatar Jan 16 '23 07:01 brainelectronics

Hello @brainelectronics good morning :)

Good morning @beyonlo yes I'm planning to solve all of these issues.

That's great

To be honest I have to rearrange prio a bit as I was exclusively working for this lib the last few weeks.

I really realized that you was very very active in this project. You put this project in another level in the lasts weeks, in implementations and docs! Thank you so much for your effort!

Nevertheless I really try to get this bug as well as the strange CRC and Serial Control pin bug done.

Excellent!

After that I'll quickly do the async milestone

Amazing, this feature will be very useful! :partying_face:

beyonlo avatar Jan 16 '23 15:01 beyonlo