Mbed forum

LORAWAN TTN CAYENNE on B-L072Z-LRWAN1


(Christian Dupaty) #1

Hello
I am trying to establish a bidirectional LORAWAN link between a ST Discovery B-L072Z-LRWAN1 card and a cayenne mydevice application through a TTN gateway.
I used as a basis of work:
https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-lorawan/

I added the cayenne library which allows to build the payload in cayenne format.

The rising link works perfectly, I get the graphics information on cayenne.mydevices.com


On the other hand, the descending information coming from the site cayenne.mydevices.com reach the gateway, are transmitted to the node B-L072Z-LRWAN1 which indicates well the reception of a message but the software indicates a reception error in the terminal:

The code -1001 seems to indicate a lack of data received, but this indicates the transmission.
Has anyone encountered this problem?
Can you help me ?