Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uselect support on XBee 3 RF (needed for uasyncio) #41

Open
altaic opened this issue May 19, 2020 · 7 comments
Open

uselect support on XBee 3 RF (needed for uasyncio) #41

altaic opened this issue May 19, 2020 · 7 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@altaic
Copy link

altaic commented May 19, 2020

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?

@mikewadsten
Copy link
Contributor

mikewadsten commented May 20, 2020

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.

@mikewadsten mikewadsten changed the title uasyncio and uselect? uselect support on XBee 3 RF (needed for usasyncio) May 20, 2020
@mikewadsten mikewadsten added enhancement New feature or request question Further information is requested labels May 20, 2020
@altaic
Copy link
Author

altaic commented May 20, 2020

Thanks, @mikewadsten. I had missed that note in the uselect typehints. Having uselect would be really helpful.

@altaic altaic changed the title uselect support on XBee 3 RF (needed for usasyncio) uselect support on XBee 3 RF (needed for uasyncio) May 23, 2020
@altaic
Copy link
Author

altaic commented Jun 5, 2020

@mikewadsten any news?

@altaic
Copy link
Author

altaic commented Jun 8, 2020

@mikewadsten

@mikewadsten
Copy link
Contributor

@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.

@altaic
Copy link
Author

altaic commented Jun 15, 2020

Thanks; please let me know when there’s news.

@altaic
Copy link
Author

altaic commented Jul 6, 2020

@mikewadsten It’s been a while, and I’d like to restart the projects that are blocked by this issue. Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants