-
Notifications
You must be signed in to change notification settings - Fork 2k
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
{drivers/sx126x, ieee802154/submac, sys/net/ieee802154} run LoRa for sx126x over IEEE802.15.4 using submac #21202
base: master
Are you sure you want to change the base?
Conversation
@@ -24,7 +24,7 @@ | |||
#include "kernel_defines.h" | |||
#include "errno.h" | |||
|
|||
#define ENABLE_DEBUG 0 | |||
#define ENABLE_DEBUG 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#define ENABLE_DEBUG 1 | |
#define ENABLE_DEBUG 0 |
This is how (well) it works at the moment. 1232 bytes to me seems to be a buffer limit.
|
|
(see also https://ieeexplore.ieee.org/document/9580895 ;-)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a neat feature, even though it's pretty slow.
#endif | ||
} | ||
} | ||
/* Do not compute IEEE 802.15.4 CRC because LoRa frame also provides CRC */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but we still have to send it over the aether?
gnrc_netreg_entry_t dump = GNRC_NETREG_ENTRY_INIT_PID(GNRC_NETREG_DEMUX_CTX_ALL, | ||
gnrc_pktdump_pid); | ||
_netreg_dump = dump; | ||
gnrc_netreg_register(CONFIG_GNRC_PKTBUF_NETTYPE, &_netreg_dump); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems unrelated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth to be split out or is there a reason not to have this in gnrc_pkdump.c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's fine to keep it if it makes your life easier, but from the commit message alone I don't understand what it does and how it relates to this PR.
} | ||
|
||
LL_PREPEND(netreg[type], entry); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems unrelated
This needs a rebase |
3169eeb
to
19c50ef
Compare
6a7f19e
to
ed79d3a
Compare
The issue with multiple pings is that the sender (IPV6) pushes to send the second ping request even before the last reply could be fully received. The receiver is sending parts of the first reply and the sender is sending parts of the second request and both dont get an ACK. [W]ait timeout and [i]nterval can be adjusted. I dont know if that has to work, or why it does not work.
|
feeba31
to
30e7657
Compare
Co-authored-by: ansocket <[email protected]> Co-authored-by: fabian18 <[email protected]>
30e7657
to
85c8c3b
Compare
Contribution description
Picked up #19172 to run IEEE802.15.4 over LoRa using the submac layer.
Testing procedure
Used to test with two
adafruit-metro-m4-express
having attached ashield_llcc68
.Fragmented pings over 6lowpan was only working with increased timeouts.
Output of
gnrc_networking
will be added.DEVELHELP=1 VERBOSE_ASSERT=1 USEMODULE+="shell_cmd_ps shield_llcc68 sx126x_ieee802154 bhp gnrc_txtsnd gnrc_pktdump" BOARD=adafruit-metro-m4-express make -C examples/gnrc_networking flash term PORT=/dev/ttyACM0
Issues/PRs references
#19172 continued
#19668 is necessarily included