xbee-micropython
xbee-micropython copied to clipboard
uselect support on XBee 3 RF (needed for uasyncio)
I was planning to use the uasyncio micropython module to write a robust event handler for #37, but the XBee3 micropython does not include it. So, I copied it over from the official micropython-lib repo as described in this guide.
However, uasyncio is uses the uselect module, which the XBee3 micropython also lacks, and unfortunately this one looks like it needs to be compiled into the micropython runtime.
Is there some simple work-around? Or otherwise can the uselect module be added to the firmware in the future?
Hi @altaic,
As is mentioned in the typehints for the uselect module, we only support uselect on XBee Cellular and XBee 3 Cellular devices with firmware ending in x15 or newer: https://github.com/digidotcom/xbee-micropython/blob/master/typehints/common/uselect.pyi#L188
I'm not sure what the current plans are for implementing uselect on the XBee 3 RF products. I will ask around.
Thanks, @mikewadsten. I had missed that note in the uselect typehints. Having uselect would be really helpful.
@mikewadsten any news?
@mikewadsten
@altaic No updates at this time. I've submitted a request internally to add support but I can't make any guarantees on when/if it will happen.
Thanks; please let me know when there’s news.
@mikewadsten It’s been a while, and I’d like to restart the projects that are blocked by this issue. Any updates?