Introduction - If you have any usage issues, please Google them yourself
GPS L2C signal simulation and capture band, including L2C cm (short code) and cl (long code) generation and integration, and finally get the initial capture and code phase offset