Protocol Stream object creation

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
tdh10
Posts: 1
Joined: Tue Nov 06, 2018 9:20 am

Protocol Stream object creation

Post by tdh10 » Tue Nov 06, 2018 9:26 am

is there a mean to implement stream objects (with ioctl method), letting possible to register them in u.select.pool() like sockets in add_writer (from uasyncio)?
( objective to create a scheduler of asyncio tasks by activating them through the iotcl values managment of these stream objects )
Thanks for your attention

kevinkk525
Posts: 180
Joined: Sat Feb 03, 2018 7:02 pm

Re: Protocol Stream object creation

Post by kevinkk525 » Tue Nov 06, 2018 9:54 am

Take a look at this awesome tutorial of Peter Hinch: https://github.com/peterhinch/micropyth ... ce-drivers

Post Reply