gps_sirf.h 1.7 KB

123456789101112131415161718192021222324252627282930313233
  1. /******************************************************************************
  2. ** File Name: Gps_SiRF.h *
  3. ** Author: David.Jia *
  4. ** DATE: 7/11/2007 *
  5. ** Copyright: 2005 Spreatrum, Incoporated. All Rights Reserved. *
  6. ** Description: *
  7. *****************************************************************************/
  8. /******************************************************************************
  9. ** Edit History *
  10. **---------------------------------------------------------------------------*
  11. ** DATE NAME DESCRIPTION *
  12. ** 07/20/2007 David.Jia Add GpsGetTTFFSrf, encapsulated GpsTTFFSrf.
  13. *****************************************************************************/
  14. //#include "uartcom_drv.h"
  15. #ifndef GPS_SIRF_H
  16. #define GPS_SIRF_H
  17. #include "Gps_COM.h"
  18. /*****************************************************************************/
  19. // FUNCTION: GpsGetTTFFSrf
  20. // Description: get the Time To Frist Fix
  21. // return: >0--SiRF's TTFF, <0--timeout error
  22. // INPUT: uint32 timeout(ms)--operation timeout.
  23. // Author: David.Jia
  24. // date: 2007.7.17
  25. // Note: in SiRF binary mode, send Factory Reset and wait first Visible List.
  26. /*****************************************************************************/
  27. int GpsGetTTFFSrf(uint32 TimeOut);
  28. int GpsTestSrf(void);
  29. #endif //GPS_SIRF_H