Method for determining a distance between two units (1,2), wherein the method comprises: Executing a double-sided two-way
distance measurement protocol (S200), wherein the latter causes the two units (1,2) to send and receive signals, each of the signals being a composite tone generated as a composition of two waveforms separated in time by a gap such that the composition forms a bipolar waveform, wherein: the two units (1,2) comprise a first unit and a second unit; the sent and received signals comprise a first
signal and a second
signal; and The execution of the double-sided two-way
distance measurement protocol (S200) causes the first unit to perform a group of steps comprising: Sending the first
signal to the second unit at a first time; Receiving the second signal, which was sent by the second unit after receiving the first signal, at a second time, and Correlating an expected signal with a first comparison element, the latter being obtained on the basis of the received second signal, to determine a first time interval between the first time and the second time and accordingly derive the distance between the two units (1,2), where the first unit further includes the following group of steps: Triggering an audio recording prior to the transmission of the first signal, wherein the first comparison element is obtained by recording both the transmitted first signal and the received second signal; and Correlating a representation of the first signal with the first comparison element to determine the first time point, wherein the expected signal is correlated with the first comparison element to determine the second time point, wherein the first unit determines the first time interval as a difference between the determined second time point and the determined first time point; wherein the representation of the first signal and the expected signal are correlated with the first comparison element to obtain corresponding cross-correlation signals, each exhibiting a triple-peak pattern showing two smaller peaks separated by a larger peak.