New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!)
-
@jmarcelino, KotahiNet does not provide free connectivity in India. Also, they provide private LoRaWAN network only to the larger companies.
Is it possible to connect one LoPy(acting as a node) to connect with another LoPy(acting as a Gateway) without such LoRaWAN network?
If yes, can you guide me how to achieve it?
My question might not seem a good one, but I'm really new to LoRa.Thanks.
-
@devang-sharma said in New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!):
look at examples
in doc
https://docs.pycom.io/chapter/tutorials/lopy/lopy-lopy.html
and sources on git
https://github.com/pycom/pycom-libraries/tree/master/examples -
@livius Thanks. I was looking into docs and I found the examples. Though they needed modifications, it worked perfectly.
-
I have a setup with a node and a nano gateway with the latest default script from Github. The data is received in the TTN backend, so that part is working.
I want to update the date and time on the nodes over Lora (no wifi) I discovered that no rx data is received on the node. Could you give me a hint how to configure the gateway to send back the current time to the node?
-
@rvandam
In LoRaWAN with TTN (Class A) you must send data from the node in order to receive any messages back.But if you queue a downlink with TTN you should receive it in your node - for example with
data = s.recv(64)- once you've done an uplink (an s.send(...) ). -
@jmarcelino thank you for your reply!
When I add some data in the downlink field in the TTN backend, this data is received by the node. This is already one more step forward :-)
Should I see the gateway as a "dumb" packet forwarder, and do the logic on the node and the TTN side?
-
@rvandam
Glad you managed to receive data.Yes, that's exactly what LoRaWAN gateways are :) They don't send or receive anything on their own, that's the job for the network server.
-
@jmarcelino thank you again. This makes much sense. I was looking on the wrong end.
-
@jmarcelino I live in Malaysia. May i know what frequency should i use? i have tried to search but i couldn't find.
Thanks.
-
Malaysia uses the AS923 plan:
https://www.thethingsnetwork.org/wiki/LoRaWAN/Frequencies/Frequency-Plans#lorawan-frequencies_as923
-
Hello Daniel,
Did you add the functionality : "Ability to receive packets sent on any spreading factor" to the lopy gateway ?
Thanks in advance
-
Hello guys, regarding this code here at https://github.com/pycom/pycom-libraries/tree/master/examples/lorawan-nano-gateway
When I am trying to use the config for both, node and nano-gtw, with the AU915 configuration and change the following parameters into:
LORA_FREQUENCY = 915200000
LORA_GW_DR = "SF10BW125"
LORA_NODE_DR = 2Because on LoraWAN Regional Parameters v1.1rb it says on page 37 that for OTAA procedure, the JoinReq message should be sent with DR2 data rate when BW = 125 kHz.

But when uploading the code, it outputs an error regarding that the following function has an error:
lora.join(activation=LoRa.OTAA, auth=(dev_eui, app_eui, app_key), timeout=0, dr=config.LORA_NODE_DR)
However, it works when I change the config file into:
LORA_NODE_DR = 0
LORA_GW_DR = "SF12BW125"Am I doing something wrong? Maybe not understanding correctly the technical specification?
Thanks in advance
-
I am trying to use the config for both, node and nano-gtw
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login