3 M]W; @ s d Z ddlZddlZG dd dejZejdd Zejdd Zed krG d d dej Z ej Zeee dd dZ eje ej ej dS )zSupport asyncio with serial ports. EXPERIMENTAL Posix platforms only, Python 3.4+ only. Windows event loops can not wait for serial ports with the current implementation. It should be possible to get that working though. Nc s e Zd ZdZ fddZedd Zdd Zdd Zd d Z dd Z dd Zdd Zdd Z dd Zd:ddZdd Zdd Zdd Zdd Zd!d" Zd#d$ Zd%d&