alengwenus / pypck

Asynchronous LCN-PCK library written in Python
MIT License
8 stars 4 forks source link

Replace all asyncio gather calls with sequential calls #93

Closed alengwenus closed 2 years ago

alengwenus commented 2 years ago

When sending several commands concurrently using asyncio.gather there might occur race conditions with the acknowledge responses, especially if the PCHK host does not mange it to send the commands to the bus. All asyncio.gather calls have been replaced with sequential calls which one by one are waiting for an acknowledgement.