Skip to content

pkg/wakaama: remove gnrc dependency#16563

Merged
jia200x merged 1 commit intoRIOT-OS:masterfrom
jia200x:pr/wakaama/netif
Jun 22, 2021
Merged

pkg/wakaama: remove gnrc dependency#16563
jia200x merged 1 commit intoRIOT-OS:masterfrom
jia200x:pr/wakaama/netif

Conversation

@jia200x
Copy link
Copy Markdown
Member

@jia200x jia200x commented Jun 16, 2021

Contribution description

This PR removes the only dependency to GNRC that was present in the Wakaama example, since #12738 was already merged some time ago.

With this change it should be possible to run Wakaama with other network stacks (e.g LWIP and soon OpenThread)

Testing procedure

Run examples/wakaama

Issues/PRs references

#12738

@github-actions github-actions bot added the Area: pkg Area: External package ports label Jun 16, 2021
@leandrolanzieri leandrolanzieri added the Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation label Jun 16, 2021
@jia200x jia200x added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Jun 17, 2021
@MrKevinWeiss
Copy link
Copy Markdown
Contributor

MrKevinWeiss commented Jun 18, 2021

Tested this and master, both seem to perform the same (equally flaky 😆 )

Copy link
Copy Markdown
Contributor

@MrKevinWeiss MrKevinWeiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it is OK, if anyone else has anything to say now is the time.

Copy link
Copy Markdown
Contributor

@leandrolanzieri leandrolanzieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While trying to make it work with a different stack with @jia200x we found a reference to a gnrc-implementation specific member of sock_udp_t, so it would be nice to change that as well...

@MrKevinWeiss MrKevinWeiss added this to the Release 2021.07 milestone Jun 21, 2021
@MrKevinWeiss
Copy link
Copy Markdown
Contributor

ping @jia200x

@jia200x jia200x force-pushed the pr/wakaama/netif branch from 61c7736 to c8dbdd2 Compare June 22, 2021 14:12
@jia200x
Copy link
Copy Markdown
Member Author

jia200x commented Jun 22, 2021

fixed!

Copy link
Copy Markdown
Contributor

@leandrolanzieri leandrolanzieri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to have this finally stack independent! I tested on GNRC and the example works as expected. I understand @jia200x made it work with LWIP after implementing some netif functions that are missing for that stack.

ACK!

@leandrolanzieri leandrolanzieri added Reviewed: 1-fundamentals The fundamentals of the PR were reviewed according to the maintainer guidelines Reviewed: 2-code-design The code design of the PR was reviewed according to the maintainer guidelines Reviewed: 3-testing The PR was tested according to the maintainer guidelines Reviewed: 4-code-style The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines Reviewed: 5-documentation The documentation details of the PR were reviewed according to the maintainer guidelines labels Jun 22, 2021
@jia200x
Copy link
Copy Markdown
Member Author

jia200x commented Jun 22, 2021

thanks for the review!

@jia200x jia200x merged commit 20a04f0 into RIOT-OS:master Jun 22, 2021
@MrKevinWeiss MrKevinWeiss modified the milestone: Release 2021.07 Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: pkg Area: External package ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Reviewed: 1-fundamentals The fundamentals of the PR were reviewed according to the maintainer guidelines Reviewed: 2-code-design The code design of the PR was reviewed according to the maintainer guidelines Reviewed: 3-testing The PR was tested according to the maintainer guidelines Reviewed: 4-code-style The adherence to coding conventions by the PR were reviewed according to the maintainer guidelines Reviewed: 5-documentation The documentation details of the PR were reviewed according to the maintainer guidelines Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants