cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-WL55JC LoRaWAN_End_Node Receiving data from the gateway

Cheerful_Wind
Associate III

Dear Community!

After my unsuccessful question and updating the library, I managed to quite quickly and simply transfer the "123 ..." data and see it on the gateway.

The gateway has the ability to send packets in response. It contains parameters port number and message text.

However, when I tried to receive it, I received the same incomprehensible data in the buffer, similar to the one originally written in the example.

The gateway application configures the parameters:

Open the receiving window after 1 second.

Delay 1 to confirm the connection to the network  5 second.

The number of repetitions of the packet - 3.

I found the rest of the connection parameters in the file lora_app.h.

I was trying to find the file where receive parameters are set. However, I found 

MBMUXIF_RadioSendNotif();

 /* waiting for event */

 /* once event is received and semaphore released: */

 /* Notice: current needs don't require to copy back data from aRadioMbWrapRxBuffer to payload this might be requested just if the buffer should be processed by the application and the stack */

 /* UTIL_MEM_cpy_8(payload, aRadioMbWrapRxBuffer, size); */

...\LoRaWAN_End_Node_DualCore_01\CM0PLUS\MbMux\radio_mbwrapper.c (458).

Can I use LoRaWAN_End_Node to receive packets from the gateway? If I can, what should I see?

Later I plan to develop a water meter on STM32WLE5CB. In which there is only one core.

0 REPLIES 0