There are several options to transfer the data from the XM125 to another device:
1) You can use the exploration server firmware and write a Python application using our Python API. See https://docs.acconeer.com/en/latest/exploration_tool/api/a121.html and https://github.com/acconeer/acconeer-python-exploration/tree/master/examples/a121.
2) You can download our C SDK for XM125 from our developer site and modify one of the C example programs that print the output to the UART port.
3) You can use or modify the I2C application in the XM125 SDK that gives access to the distance detector over I2C.
See "doc/I2C Distance Detector User Guide.pdf" and the files in the folder “Src\applications\i2c”.