Just curious, what’s your use case? Do you plan to use a LoRaWAN infrastructure (e.g TTN, where nodes send frames to a centralized Network Server via gateways) or you simply want to send frames between LoRa nodes?
For the latter you don’t need the LoRaWAN stack. You could simply use tests/driver_sx127x to send frames. You could already use the AU915 bands there.
Can you send the picture on the menuconfig where i config the Region
looks that only EU868 is in the config
ifconfig <if_id> set <key> <value>
Sets an hardware specific specific value
<key> may be one of the following
* "addr" - sets (short) address
* "addr_long" - sets long address
* "addr_short" - alias for "addr"
* "cca_threshold" - set ED threshold during CCA in dBm
* "freq" - sets the "channel" center frequency
* "channel" - sets the frequency channel
* "chan" - alias for "channel"
* "checksum" - set checksumming on-off
* "csma_retries" - set max. number of channel access attempts
* "encrypt" - set the encryption on-off
* "hop_limit" - set hop limit
* "hl" - alias for "hop_limit"
* "key" - set the encryption key in hexadecimal format
* "mtu" - IPv6 maximum transition unit
* "nid" - sets the network identifier (or the PAN ID)
* "page" - set the channel page (IEEE 802.15.4)
* "pan" - alias for "nid"
* "pan_id" - alias for "nid"
* "phy_busy" - set busy mode on-off
* "bw" - alias for channel bandwidth
* "sf" - alias for spreading factor
* "cr" - alias for coding rate
* "appeui" - sets Application EUI
* "appkey" - sets Application key
* "appskey" - sets Application session key
* "deveui" - sets Device EUI
* "dr" - sets datarate
* "rx2_dr" - sets datarate of RX2 (lorawan)
* "nwkskey" - sets Network Session Key
* "power" - TX power in dBm
* "retrans" - max. number of retransmissions
* "src_len" - sets the source address length in byte
* "state" - set the device state
Hello big Team
LORA_REGION=AU915 BOARD=<your_board> make -C -C tests/pkg_semtech-loramac flash
example looks much better!
No crash on NRF52840 + SX1276
I cant now to continue the test because here there is not LoRaWAN coverage!
Thanks so much!
Coincidentally, I’ve also been working on experimenting with RIOT on a lorawan node this week, in combination with a dragino Pi hat as a lorawan gateway.
I too am having difficulties getting a successful join. I noticed that my Join Request is being received by both the gateway and the TTN network console. I’m also seeing a Join Accept being sent out by TTN (in the console), and on the device-console it marks it as “seen”.
But still the join fails…
My current hypothesis is that the join accept is never received by the Gateway, so it cannot send it to the node. This might be because my firewall is blocking incoming UDP traffic from TTN.
I’m not sure if your issue is the same as mine, but you might want to try opening up UDP port 1700 on your router.