Xm125 and the arduino librarys

No, the Arduino library was built from their SDK - I think you’ll need to modify the base files.

I would recommend posting something similar on the Acconeer forums and see what folks there say