The data link : data transmission and distance measurement