Quantcast
Channel: The Things Network - Latest posts
Viewing all 114065 articles
Browse latest View live

Open-source LoRaWAN network-server

$
0
0

Very promising. All my encouragement. Thank you!


Open-source LoRaWAN network-server

$
0
0

Super! Exactly what I was looking for.

SPN version of the Kerlink IoT gateway

$
0
0

@steinire Do you receive the gateway? then is there some documentation or technical details regarding this product? and how much does it cost?
Thank you

Use Cases in Agriculture

$
0
0

@flavio and @dataino.it, I just recently joined the things network and have an interest in using iot in agriculture. I can see the potential for agriculture and farming in south east asia. Have you already started your project? How do I join?

LMIC-1.51 fitting in Arduino Atmega 328

$
0
0

Very interesting. Big thanks for bringing Lorawan to the Atmega 328 :wink:
Is this class A or C please?

Single Channel Gateway

$
0
0

@IOT_Marco,

How do you see it is using the RFM96? I guess you read the text on the chip itself?

Based on what is written on the chip I also thought that it was the RFM96 but it seems it is a RFM95. For the ones that I bought from hoperf.nl I contacted the supplier to ask, but they assured me it was a real RFM95.

Do not understand why hoperf makes things so confusing, but I stopped worrying about it (or looking at it)..

Maarten

Single Channel Gateway

LMIC-1.51 fitting in Arduino Atmega 328


Use Cases in Agriculture

$
0
0

Hey @rlinardi, i am rish here from TTN, feel free to send me an email: community@thethingsnetwork.org and will get you started :smile:

SPN version of the Kerlink IoT gateway

$
0
0

Hi I have a Kerklink station running v2.2 of their software, there are some thechnical document but sometimes they are a bit obscure since, they don't detail everything, currently I am trying to use their packet_forwarder, but as I explain here I have achieved it yet...

Trying to understand basic packet forwarder on Kerlink Gateway

$
0
0

Still with the same issue, there are two things that grid my gears,

  1. Why cannot I send anything to the motes if I change global_conf.json, it does not make much sense to me, unless my gateway phy link is just busy listening and it cannot send data back to motes... Which it would imply that I have to change that configuration in some way or other.

  2. What kind of data is sending back the Kerlink gateway, to me it's extreamly strange that data coming from the gateway cannot be displayed or decoded by wireshark, according to the documentation I got it should be enconded as base64, but I think there is more on it, I am thinking of that the gateway is encrypting the data comming from motes, but data like below seems strangly base64,although decoding it doesn't show anything

    {"rxpk":[{"tmst":86777147,"time":"2016-03-23T13:50:20.150213Z","chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":8.2,"rssi":-84,"size":14,"data":"QAMBAQKAWwABp5+scHk="}]}

Unable to send character string from a node, using Libelium libraries

$
0
0

What kind of node and libraries (platform) are you using to send messages?

In another post you showed:

char data[] = "7a3f1b2b12";
error = LoRaWAN.sendUnconfirmed(port, data);

...which you were receiving as binary bytes, not as ASCII characters, in hexadecimal:

0x7a 3f 1b 2b 12

(Note that an ASCII table will show that 0x7a is z, 0x3f is ? and 0x2b is +. But 0x1b is Escape and 0x12 is the "DC2" control character, which cannot be printed on the screen. That's why in JSON responses such data is Base64 encoded first, to ensure nothing breaks when the data holds non-printable characters.)

So, you're actually defining text in char data[] = "7a3f1b2b12", but the library that you're using seems to interpret the text you pass as hexadecimal values.

When using an Arduino-based board, the function might be "overloaded" to also accept a String value and then process that as just text, like:

String msg = "hello world";
error = LoRaWAN.sendUnconfirmed(port, msg);

If not, then you'll need convert your text to hexadecimal first, and send that. You can quickly try using char data[] = "68656c6c6f20776f726c64".

When using the TTN Arduino board or libraries, see one of its examples that uses the Arduino String:

#include "LoRa.h"

LoRa LoRa_Lib;
int counter = 0;

void setup() 
{
  Serial.begin(115200);
  Serial1.begin(57600);
  
  delay(2000);
  Serial.println("Configuring LoRa module...");
  LoRa_Lib.LoRaConfig();
  Serial.println("LoRa module ready.");
}

void loop() {
  counter++;
  String baseData = "hi-";
  String dataToSend = baseData + counter;
  LoRa_Lib.LoRaSendAndReceive(dataToSend);
  Serial.println("LoRa status:");
  delay(30000);
}

So, TTN supports text just fine. However, please note one should only send plain text while testing. For real nodes, text just requires too many bytes. See Best practices to limit application payloads.

Unable to send character string from a node, using Libelium libraries

$
0
0

Hi again!

I am using LoRaWAN Radio Shield for Arduino - 868 MHz on Arduino UNO. I am sending RFID reader values to the TTN which was from the earlier post. But with the library I use, I am restricted to use only Char[]. I am including files below:

#include <arduinoUtils.h> 
#include <arduinoUART.h> 
#include <arduinoMultiprotocol.h> 
#include <arduinoClasses.h> 
#include <arduinoLoRaWAN.h>

I would also like to send strings chars and thus would like to send "hello world". My node doesn't give me any error but I don't see the hello World string on TTN. Thanks for the explanation.

-The example code you posted has no device initialization i.e. how would i test it on the TTN network without the DevEUI? does the
#include "LoRa.h"
has the supported files? thanks

Unable to send character string from a node, using Libelium libraries

$
0
0

How are you writting into the serial of the arduion uno? Are you using by chance functions are Serial.print or Serial.println() ??

regards

Trying to understand basic packet forwarder on Kerlink Gateway

$
0
0

Hi @scle

Where did you get that line from? Is it from my string?


Unable to send character string from a node, using Libelium libraries

$
0
0

I am not Writing to the serial. I just send the message to the TTN

Unable to send character string from a node, using Libelium libraries

$
0
0

How are you sending them to the TTU? I mean what command do you use?

Unable to send character string from a node, using Libelium libraries

$
0
0

LoRaWAN.sendUnconfirmed(port, msg);

msg is my char[]

Trying to understand basic packet forwarder on Kerlink Gateway

$
0
0

Ok I understand that, however I am no receiving anything at all in my mote, physical links doesn't care if I send a 0xa or an aGK=, on my mote receiver I should get at least something, or some weird character and I see nothing...

For me it's the same, I haven't reached yet the point of carinf whether I get data or data_raw, I do not get data at all coming from the gateway to my mote, however I get data from the mote to the server which is behind the gateway, there is where I get the message , and where I see that is seems to be encoded in raw_data/data depending on naming...

{"rxpk":[{"tmst":86777147,"time":"2016-03-23T13:50:20.150213Z","chan":0,"rfch":1,"freq":868.100000,"stat":1,"modu":"LORA","datr":"SF7BW125","codr":"4/5","lsnr":8.2,"rssi":-84,"size":14,"data":"QAMBAQKAWwABp5+scHk="}]}

Unable to send character string from a node, using Libelium libraries

$
0
0

That sounds like dynamically generated values. Did you actually test using the hardcoded example you gave?

char data[] = "7a3f1b2b12";
error = LoRaWAN.sendUnconfirmed(port, data);
Viewing all 114065 articles
Browse latest View live




Latest Images