Patent ID: 8571089

Claim:
A method comprising: with an electronic device: receiving a sequence of bits from a Satellite Positioning System (SPS) signal comprising one or more data sub-frames; selecting a time-setting algorithm from among a plurality of time-setting algorithms based, at least in part, on a time uncertainty; correlating a known and/or predicted bit sequence with said received SPS signal at multiple time-shifted hypotheses; verifying a maximum peak in comparison with other peak information resulting from said correlating; detecting a sub-frame preamble in said received SPS signal based, at least in part, on results from said verified maximum peak; and generating one or more electrical signals representing an SPS time based, at least in part, on a position of said detected sub-frame preamble in said sequence of bits, wherein at least one of said correlating and/or said verifying is affected by said time-setting algorithm.