Send automatic reply to device based on uplink

Hi,

brocaar,
I’ve been looking at your source code for the last few days, trying to find a suitable place to add a function. I want to add functionality like this, when the node sends a “A” to the lora-app-server, the lora-app-server can automatically send a message like “Hello” to the node. When the node is sent to a “B” to the lora-app-server, the lora-app-server can automatically send other information.
But I didn’t find a suitable place. Can you tell me which “go” file can be suitable for adding such a function? Thank you.
Or tell me the data of “Raw frame logs” was updated in which “go” file or “json” file,I think it would be appropriate to add my function to that place.Thank you.

I would recommend to implement this outside of LoRa App Server and use the MQTT or HTTP integration + the REST API to implement such functionality :slight_smile:

Thank you!
I’m going to try.

Hi,

brocaar,
When you debug lora-app-server, do you use the GDB tool?
Thank you.