in the Gateway approach the application communicates via the MQTT Broker. MQTT uses pub/sub model. So you need to subscribe to a certain topic on the Broker to receive the data from the nodes and publish to a certain topic to send the data toward the Anchors/Tags.
There have been already a couple of topics discussing that, e.g.:
Thank you for your reply. Since I’ve asked the question 12 days ago, I’ve managed to modify my current c# app on my raspberry pi to subscripe to the tags location and getting the location.
I’m running a mysql database on my pi with all the tag Id’s and on startup I subscripe to the Mqtt broker with all the tags even if the tags are not active or out of range. In this way I’m able to receive all tags positions that’s in range of the anchors.