terminal APG command output format?

[color=#000000]I have a set-up with 4 anchors, 1 tag and 1 tag connected to my PC as a listener with a terminal set up. I am passing the APG command which returns the location in the following format:[/color]

[color=#000000][000632.660 INF] loc_data: 1
0) 0493[4.37,12.05,1.41,50,xB9]
Could someone provide the breakdown of this information, I understand [color=#000000]4.37,12.05,1.41 is the location.[/color]

[color=#000000]Also, each time I pass in APG, it returns 4-5 of these entries instead of just 1? My goal is to capture the tag location in a loop where I append the time and write to a database for a given period of time. [/color]

[color=#000000]Also curious as to what this will look like when I add additional tags, I assume the tag ID is one of the items in this output, maybe the 0493 number?[/color]

Instead of doing this with through a terminal, could I do the same thing with the C API talking to the connected listener tag?