Trying to understand basic packet forwarder on Kerlink Gateway
@scle THe mote alsways sends the same messange, the one shown in picture 2, incomingMessageToKerlink.png, and as reply to it I send back the HI one. THe messege itself is...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
Yes I understand. But your mote is sending something right? A message via LoRa and RN2483.mac tx <type> <port> <data> like mac tx cnf 1 A.
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
Oh yes, it is sending AA String message= "AA";int messageLength = message.length();Serial1.write("mac tx uncnf 1 ");for (int i = 0; i < messageLength; i++){ Serial1.print(message.charAt(i), HEX);...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
I think I do know now what are some of the packets that are coming from the gateway, are just keep alive pings towards the server since they happens each 10s. I have stopped my mote and now no package...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
You are sending the message wrongly (only sending character 'A' in this way).But I have succeeded in decoding/decrypting your message manually. It is a LoRaWAN confirmed uplink package with payload...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
scle: only sending character 'A' in this way Indeed, though twice for each run. Should probably be something like: for (int i = 0; i < messageLength; i++) { Serial1.print(message.charAt(i), HEX); }...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
Oh, I see, you're not receiving any JSON from the gateway after you sent a response? (So only when the node sends something, in which case the JSON's data is indeed the LoRaWAN headers plus the...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
@ scle Thanks for the information, then the upload link is working fine regarding to the fact that I use LoRaWan encapsulation. Regarding to the fact that I am sending a wrong character, how should I...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
ndarkness: how should I send it then In your for (int i = 0; i < messageLength; i++) you are sending one character plus a newline \r\n for every character in your message. Also, you're sending it...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
Ok first of all thank you @arjanvanb, I was sending unconfirmed on purpose, I think the gateway will cope with it, but it's worth to try confirmed as well and see what happens now.
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
To preserve battery live, a node should not listen if it's not expecting anything. So sending unconfirmed will make it ignore any response. (If the gateway is even willing to send it, but I guess it...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
arjanvanb: To preserve battery live, a node should not listen if it's not expecting anything. I don't think this is correct, The LoRaWAN specification states "Following each uplink transmission the...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
Well, after enabling the confirmation I see that after a while my device always report busy when trying to send data towards the gateway, in the same way I see on wireshark that after certain time...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
Batilan: I don't think this is correct, The LoRaWAN specification states "Following each uplink transmission the end-device opens two short receive windows." Ah, thanks, you're right. And there's a...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
ndarkness: Thus, I send back a message to the port where the mote message is coming from, in this case 52394 I wonder if that could be the culprit. In general, the application has 1 second to respond,...
View ArticleExtract Json array. (Example needed)
Thanks for reminding me about google. I am trying with C++ and cannot go for other languages due to Project restriction. Since i have a lot of data accumulated in my Node and TTN right now has no...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
arjanvanb: I wonder if that could be the culprit. In general, the application has 1 second to respond, or even 2 seconds in the second receive window. So, maybe the server is not expecting an...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
ndarkness: as far as the mote can receive something from the gateway (even rubbish) ...but can you tell? What if the LoRaWAN chipset decides to discard the message as it's not valid? (Again, I don't...
View ArticleTrying to understand basic packet forwarder on Kerlink Gateway
arjanvanb: ..but can you tell? What if the LoRaWAN chipset decides to discard the message as it's not valid? (Again, I don't know... Sorry. And you wrote something about gateway log files, so maybe...
View Article