Closed Khayhen closed 4 years ago
hello @Khayhen
Could you run the same example with the DEBUG_ASSERT_VERBOSE? Compile with:
CFLAGS=-DDEBUG_ASSERT_VERBOSE BOARD=<your_board> make all flash term
That will show the file and line where the failed assertion occurs.
Currently GNRC is not ported for any LoRa devices (which is what I thought the SX1278 module is for). It is on it's way. You could try the examples/lorawan
Also you are talking about the sx1278 module but you are using USEMODULE += sx1276
.
I am not a networking guy but maybe that could clear up some issues.
@jia200x I ran the code with the verbose output and it tends to hang here.
INFO # sys/net/gnrc/netif/gnrc_netif.c:1250 => 0x2d35
@MrKevinWeiss Thats what I suspected also that lora modules has no support for GNRC yet. Correct me if I'm wrong, to use lorawan, I need to have a subscription to the network and it works independent from the 6lowpan stack? Regarding the sx1278, I am only able to source sx1278 locally and from what I see RIOT only supports sx1272 and sx1276. However, from looking at the datasheet sx1278 and sx1276 works exactly the same and its just a different variant of it.
@MrKevinWeiss Thats what I suspected also that lora modules has no support for GNRC yet. Correct me if I'm wrong, to use lorawan, I need to have a subscription to the network and it works independent from the 6lowpan stack? Regarding the sx1278, I am only able to source sx1278 locally and from what I see RIOT only supports sx1272 and sx1276. However, from looking at the datasheet sx1278 and sx1276 works exactly the same and its just a different variant of it.
GNRC doesn't support LoRa modules yet. There's an ongoing PR #11022 which adds a GNRC specific LoRaWAN implementation, but it's independent from 6lowpan stack. It won't be possible to have IPv6 on top of LoRaWAN because we still don't have SCHC compression and fragmentation for LPWAN
@jia200x I ran the code with the verbose output and it tends to hang here.
Are you using the latest master? The reason why that could fail is in case the device type is not listed in GNRC netif. This was added a couple of weeks ago for LoRa (#11136)
Does this solve your issue?
Are you using the latest master? The reason why that could fail is in case the device type is not listed in GNRC netif. This was added a couple of weeks ago for LoRa (#11136)
Yes you are right. It turns out my master version was just a few days older than that pull request. I manage to flash it and operate it now. However, I noticed that the modules don't have a unique hardware address and all of them have the same IPv6 address of fe80::. Is this an expected outcome? Is it possible to give them a specific address?
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.
@Khayhen are you still experiencing this issue?
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.
Hi, I'm making some custom boards using an arduino mkr-zero with different radio modules to work in 6LoWPAN network with a border router. I have successfully created a board with MRF24J40 radio module but I'm having trouble with the SX1278 module. To implement the board I made a copy of the arduino MKR-Zero file and added the following lines to the file include/boards.h
and these lines to the file Makefile.dep
I tested the board by flashing with tests/driver_sx127x, and manage to successfully communicate with the radio module and do some communication. However, when I flash it with examples/gnrc_networking, the RIOT crashes and I get the following error.
Is this module even possible to run a gnrc network stack? If I can get the basics working, will be good enough already as I just need to show a proof of concept for now. Any help will be much appreciated. Thank you.