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

LWMAC/GOMACH on Openmote-b #13686

Closed
pietrotedeschi opened this issue Mar 23, 2020 · 5 comments
Closed

LWMAC/GOMACH on Openmote-b #13686

pietrotedeschi opened this issue Mar 23, 2020 · 5 comments
Assignees
Labels
Area: drivers Area: Device drivers Area: network Area: Networking State: stale State: The issue / PR has no activity for >185 days Type: question The issue poses a question regarding usage of RIOT

Comments

@pietrotedeschi
Copy link

It is possible to enable the LWMAC or GOMACH on Openmote-b? When I tried to compile the example gnrc_networking_mac (by commenting by the #BOARD_WHITELIST entry) I am not able to compile it. So, is there a solution to work with the MAC layer on Openmote-b?

@pietrotedeschi pietrotedeschi changed the title [REQ] - LWMAC/GOMACH on Openmote-b LWMAC/GOMACH on Openmote-b Mar 23, 2020
@miri64 miri64 added Area: drivers Area: Device drivers Area: network Area: Networking Type: question The issue poses a question regarding usage of RIOT labels Jul 6, 2020
@benemorius
Copy link
Member

It should be possible with minimal effort to get both LWMAC and GoMacH working on any platform that has periph_rtt available. I don't know whether that includes openmote-b.

If you need a port of LWMAC or GoMacH from periph_rtt to xtimer you can try this branch, but I haven't maintained either port since a year ago aside from merge conflicts and I don't know whether they still compile or work.

If you can post what compile errors you're running in to that would help someone guide you to getting it working.

@zhuoshuguo
Copy link
Contributor

It should be possible with minimal effort to get both LWMAC and GoMacH working on any platform that has periph_rtt available. I don't know whether that includes openmote-b.

Yes, that is ture! Both GoMacH and LWMAC need RTT module for timing.

Also, make sure that openmote-b supports radio RX-start and TX-END interrupts (at least, GoMacH relies on these hardware functionalities).

@nancy-0
Copy link

nancy-0 commented Jul 13, 2020

Hi @benemorius, @zhuoshuguo and @miri64,

I have just tested the gnrc_lwmac.c file under the tests directory in order to test the MAC layer on openmote-b, and I have changed the BOARD_WHITELIST to openmote-b in the makefile, and everything compiles successfully with this warning (There are unsatisfied feature requirements: periph_rtt EXPECT ERRORS!)
And I was successfully able to send and receive packets between 2 motes (please see the attached picture).
So, my question how it is possible to get rid of this error/warning? and am I able to send and receive in this way with lwmac?

The picture shows 2 messages sent from one mote to the another using the txtsnd, the first one is a unicast and the second is a broadcast.
Webp net-resizeimage (1)

The Error I am getting.
Webp net-resizeimage (2)

Thank you,
Nancy

@nancy-0
Copy link

nancy-0 commented Jul 17, 2020

Hi @benemorius, @zhuoshuguo and @miri64,

I would like to update you that I have solved the error/warning related to the both LWMAC and GoMacH by adding the rtt feature in the makefile of the directory that I was testing. and hence the problem was gone.

Thanks,
Nancy

@stale
Copy link

stale bot commented Jan 19, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

@stale stale bot added the State: stale State: The issue / PR has no activity for >185 days label Jan 19, 2021
@stale stale bot closed this as completed Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: drivers Area: Device drivers Area: network Area: Networking State: stale State: The issue / PR has no activity for >185 days Type: question The issue poses a question regarding usage of RIOT
Projects
None yet
Development

No branches or pull requests

6 participants