{drivers/sx126x, ieee802154/submac, sys/net/ieee802154} run LoRa for sx126x over IEEE802.15.4 using submac#21202
{drivers/sx126x, ieee802154/submac, sys/net/ieee802154} run LoRa for sx126x over IEEE802.15.4 using submac#21202fabian18 wants to merge 12 commits intoRIOT-OS:masterfrom
Conversation
This is how (well) it works at the moment. 1232 bytes to me seems to be a buffer limit. |
|
benpicco
left a comment
There was a problem hiding this comment.
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.
but we still have to send it over the aether?
sys/net/gnrc/pktdump/gnrc_pktdump.c
Outdated
| 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.
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.
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); | ||
| } | ||
|
|
||
| LL_PREPEND(netreg[type], entry); |
|
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. |
30e7657 to
85c8c3b
Compare
77bf5b1 to
ed5eadc
Compare
c2d4bb8 to
1d9157f
Compare
|
thanks for this one! |
|
FYI: LoRaWAN requires all LoRa transceivers to implement FSK. In practice, this means all LoRa devices are also IEEE 802.15.4g capable devices. Getting this one in gets it one step closer for having "true" IEEE 802.15.4 support for LoRa devices. |
|
You mean this for example for sx126x? This is not the approach that our company chose to go but I agree this is a good one. We are really using the LoRa modem. |
1d9157f to
5212208
Compare
5212208 to
ab9478a
Compare
Co-authored-by: ansocket <[email protected]> Co-authored-by: fabian18 <[email protected]>
ab9478a to
854f7cc
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-expresshaving attached ashield_llcc68.Fragmented pings over 6lowpan was only working with increased timeouts.
Output of
gnrc_networkingwill 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/ttyACM0Issues/PRs references
#19172 continued
#19668 is necessarily included
Integration PR