Search found 3 matches

by domcharn
Mon Jan 14, 2019 11:47 am
Forum: ESP8266 boards
Topic: Disconnection AP/STA undetected
Replies: 0
Views: 1840

Disconnection AP/STA undetected

2 Mcu are interconnected, both use uasync Mcu1 is Server: loop.call_soon(asyncio.start_server(ServAP, WAp.ifconfig()[0], 80)) Mcu2 is Client :ComReader, ComWriter = await asyncio.open_connection(Address[0], 80) See Sources herafter After 15-20s Messages appear showing sequence of Join/leave on coro-...
by domcharn
Thu Oct 25, 2018 6:09 am
Forum: Development of MicroPython
Topic: uselect ability to signal socket.close in uasyncio mode
Replies: 3
Views: 2739

uselect ability to signal socket.close in uasyncio mode

Hi, everybody In uasyncio environment a coro (a) is waiting on Streamreader socket an other coro (b) closes intentionally Streamreader.s(socket) of coro(a) the coro (a) remains read-waiting. in this case neither uselect.POLLHUP nor uselect.POLLERR seams to be fired For this special configuration is ...
by domcharn
Sat Jan 27, 2018 2:13 pm
Forum: Development of MicroPython
Topic: Protocol for Stream object creation
Replies: 1
Views: 1691

Protocol for Stream object creation

Hello, 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 ) ...