A method for time of arrival, TOA, measurements of transmissions transmitted by a transmitter in a transmission channel, the transmission channel being the environment, the method comprising a configuration session and a measurement session, wherein the configuration session comprises: performing a plurality of correlation processes for a plurality of configuration signals to obtain multiple configuration correlation functions associated to known different distances at a subsample resolution, the plurality of configuration signals being received in the transmission channel from the transmitter; for each configuration correlation process, determining the peak sample and data of one sample immediately preceding and one sample immediately following the peak sample for each correlation; and determining, from the determined peak sample and the data of the one sample immediately preceding and the one sample immediately following the peak sample, pre-assigned configuration data associated to the transmission channel; and wherein the measurement session comprises: performing, at a sample resolution, a correlation process on a received measurement signal to obtain a measurement correlation function, the subsample resolution being higher than the sample resolution; determining a peak sample and correlation data of one additional sample immediately preceding and one additional sample immediately following the peak sample in the measurement correlation function; and determining a TOA and/or distance associated to the TOA on the basis of the peak sample and correction data obtained by at least the correlation data of the additional sample immediately preceding and the additional sample immediately following the peak sample and the pre-assigned configuration data associated to the transmission channel obtained at the subsample resolution. wherein the configuration session comprises: performing a plurality of correlation processes for a plurality of configuration signals to obtain multiple configuration correlation functions associated to known different distances at a subsample resolution, the plurality of configuration signals being received in the transmission channel from the transmitter; for each configuration correlation process, determining the peak sample and data of one sample immediately preceding and one sample immediately following the peak sample for each correlation; and determining, from the determined peak sample and the data of the one sample immediately preceding and the one sample immediately following the peak sample, pre-assigned configuration data associated to the transmission channel; and performing a plurality of correlation processes for a plurality of configuration signals to obtain multiple configuration correlation functions associated to known different distances at a subsample resolution, the plurality of configuration signals being received in the transmission channel from the transmitter; for each configuration correlation process, determining the peak sample and data of one sample immediately preceding and one sample immediately following the peak sample for each correlation; and determining, from the determined peak sample and the data of the one sample immediately preceding and the one sample immediately following the peak sample, pre-assigned configuration data associated to the transmission channel; and wherein the measurement session comprises: performing, at a sample resolution, a correlation process on a received measurement signal to obtain a measurement correlation function, the subsample resolution being higher than the sample resolution; determining a peak sample and correlation data of one additional sample immediately preceding and one additional sample immediately following the peak sample in the measurement correlation function; and determining a TOA and/or distance associated to the TOA on the basis of the peak sample and correction data obtained by at least the correlation data of the additional sample immediately preceding and the additional sample immediately following the peak sample and the pre-assigned configuration data associated to the transmission channel obtained at the subsample resolution. performing, at a sample resolution, a correlation process on a received measurement signal to obtain a measurement correlation function, the subsample resolution being higher than the sample resolution; determining a peak sample and correlation data of one additional sample immediately preceding and one additional sample immediately following the peak sample in the measurement correlation function; and determining a TOA and/or distance associated to the TOA on the basis of the peak sample and correction data obtained by at least the correlation data of the additional sample immediately preceding and the additional sample immediately following the peak sample and the pre-assigned configuration data associated to the transmission channel obtained at the subsample resolution.