Transmit position data from drtls with mqtt

I’m making designs on the DRTLS manager. What I want is to convey the position information in the DRTLS Manager to the server I want with mqtt. But I don’t know what to add to the source code.I need your help please