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

Spike aiocoap #87

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Spike aiocoap #87

wants to merge 4 commits into from

Conversation

Cyber1000
Copy link
Contributor

Depends on #86

Description

Advantages

  • aiocoap seems to be better supported, used more often (more commits, stars, forks)
  • newer pypi-package (Februar 2021 opposed to January 2018)
  • we had some bigger troubles with coapthon3, therefore needed to clone this, seems that this library is more stable.

Disadvantages

  • need to change infrastructure, since it uses asyncio
  • lowest version would be python 3.7, here we are using 3.4 or higher, so we would need to change this requirement

Disclaimer

This is just a spike working with coap only:
- no adjustments to http and plain_coap (need to change to asyncio)
- no adjustments on base-classes (changed coap-class directly)
- no adjustments to tests


For coap it works like it worked with Coapthon3, some work will still be needed, just not sure if we should make this step, I think I'll make some changes like mqtt + usage of observable before.
Therefore I made only a draft PR.

Cyber1000 added 4 commits May 9, 2021 21:49
- no adjustments to http and plain_coap (need to change to asyncio)
- no adjustments on base-classes (changed coap-class directly)
- no adjustments to tests
@Cyber1000
Copy link
Contributor Author

Since this PR depends on #86, these are the real changes in this PR: Cyber1000/py-air-control@coap...Cyber1000:spike-aiocoap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant