Satellites broadcast their position and exact time on radio frequencies. GPS uses L1, L2, L5 for civilian purposes and L3, L4 for governmental systems. M-code is a military-specific signal.