RadioHead to Gateway

Hello i'm using dragino shield in arduino. I'm using radiohead(RH_RF95). I cannot send messages using radiohead library to send messages with node address to a gateway.

Help me :frowning:

Could be a problem with your code.

Do the example programs in the Radiohead library work ?

What hardware are you using and what specifically is 'a gateway' ?

I'm using Shield Dragino to use LoRa technology and send the data to a gateway RAK7249.

I'm using two libraries "MCCI_LoRaWAN_LMIC_library" and "RadioHead" both work fine with the hardware as you can see in the figure 01.

There's no problem with hardware, with code or with the setup/commucation.

My question is about the "devaddr", with "MCCI_LoRaWAN_LMIC_library" the "devaddr" is show as default in the gateway (Figure 02), but with "RadioHead" the "devaddr" doesn't appear (Figure 03).

The documentation for "RadioHead":
https://www.airspayce.com/mikem/arduino/RadioHead/classRH__RF95.html

-> Public Member Functions inherited from RHGenericDriver -> virtual void setThisAddress (uint8_t thisAddress)

I can compile with this function, but still not showing in the gateway interface.

How can i put "devaddr" in the "RadioHead" library?

figure 01

figure 02

figure 03

The RadioHead library is a node to node LoRa library and does not support node to LoRaWAN\TTN Gateway comms.

I'm trying to develop a node-to-node communication where the latter sends data to a server

Best to describe the actual project, you might be trying to do something that is either just not possible or is not practical.

Are you any good at writing custom libraries ?

The objective is for the arduino to become a repeater. The objective is for the arduino to become a repeater. Also with the lmic library it is not possible to change bandwidth. only radiohead can modify this parameter.

I'm don't have experience with custom libraries :frowning:

Why do you want a repeater, what is the actual project ?

Also with the lmic library it is not possible to change bandwidth.

Why would you want to change the bandwidth in the first place ?

And is this application for the LoRaWAN\TTN network ?