Hi Ernesto,
if you have a DL2/DL3/KM1/KM2, there is an example included in the library that you can use as a starting point:
You need to change at least lines 55 and 56 to use the correct IP address and password of your device.
The app will then try to establish a connection (lines 57 and 81) and register a listener that gets called when a data packet is received from the controller (line 72).
If such a packet is received it is added to the "HeaderSetConsolidator". The HeaderSetConsolidator stores the packet (possibly replacing an older version of the same packet signature). In addition to that it is configured to call another listener every 10 seconds (line 100, expressed as 10.000 ms).
This listener then calls the "processHeaderSet" function in line 114 which will print all received packet data to the console.
After configuring the credentials in lines 55 and 56 try to run the app and see, whether you see console output regularly (you can speed things up be decreasing the milliseconds interval in line 100).
If that works the next step would be to replace the console output with a real data storage (SQL database, MQTT, webservice, ...)
I hope that helps you.
Best regards,
Daniel