Knowledge Base
HOME » KNOWLEDGE BASE » FORUM

LoRaMac-node-4.4.3 How to test for RX packets

Hi.

I have the LoRaMac-node-4.4.3 working with transmit packets and we can see messages on the web server.

We are not receiving messages from the web server on the node.

What is the best way to test for RX messages. I can see there are LoRa callbacks and LoRa Primitives but no documentation of there uses and responses.

McpsConfirm
McpsIndication
MlmeConfirm
MlmeIndication

NvmCtxMgmtEvent
OnMacProcessNotify

Many Thanks,

MPC.
Avatar
Hi,

Data can be used in the McpsIndication() function.
Please have a look to the switch regarding downlink port here:
https://github.com/Lora-net/LoRaMac-node/blob/develop/src/apps/LoRaMac/classA/NucleoL476/main.c#L657

"mcpsIndication->BufferSize" will contain data size and "mcpsIndication->Buffer" the actual data

Olivier