Patent ID: 6965634

Claim:
A method for detecting a long code composed of dithered short codes, the method comprising: correlating a received signal with a reference code to produce correlation sums; detecting, based on the correlation sums, first and second codes among the dithered codes; determining a predetermined pattern based on the detected first and second codes, including determining a measured code interval by calculating a difference between a boundary of the first and second codes, comparing the measured code interval with a predetermined code interval among a plurality of predetermined code intervals, and indicating a match if the measured code interval is substantially equal to the predetermined code interval; and determining a phase of the long code based on the determined predetermined pattern, including recording in a hypothesis storage unit information relating to the match, the hypothesis storage unit including a premise storage area and a score storage area, and recording the measured code interval in the hypothesis storage area, and recording an indication of the veracity of measured code interval in the score storage area.