Skip to content

Micropython Pico W OSError: [Errno 110] ETIMESOUT #8

@CarlSchneider

Description

@CarlSchneider

Hi there

I'm hoping this library is still supported.

Using this on a Pico W running Micropython using asyncio tasks.

Works fine except for an occasional error and then the asyncio task stops and doesn't restart. I've only been able to capture

Task exception wasn't retrieved the error information once, namely as below.

future: coro= <generator object 'ModBus_Read' at 20021810>
Traceback (most recent call last):
File "asyncio/core.py", line 1, in run_until_complete
File "", line 151, in ModBus_Read
File "uModBusTCP.py", line 83, in read_holding_registers
File "uModBusTCP.py", line 59, in _send_receive
OSError: [Errno 110] ETIMEDOUT

Any suggestions on how to overcome this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions