Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Sample_GPS_INT_lib GPS-SD
Diff: GPS_INT.h
- Revision:
- 4:f143c5f105cd
- Parent:
- 3:ba5fb2bb8de5
- Child:
- 5:fa6444c4dc0e
--- a/GPS_INT.h Sun Jul 08 03:54:31 2018 +0000 +++ b/GPS_INT.h Sun Jul 08 04:22:50 2018 +0000 @@ -57,16 +57,49 @@ bool is_lock(void); //GPSがロックしたか //受信する情報 + /** + @brief UTC + */ struct tm t; //時刻UTC + /** + @brief UTC Elapsed seconds since January 1, 1900 + */ time_t seconds; //時刻(UTC1900年1月1日からの経過時間) + /** + @brief Longitude + */ double lon; //緯度, 度(北緯が正) + /** + @brief Latitude + */ double lat; //経度, 度(東経が正) + /** + @brief Location specific quality (0: Can not locate, 1: SPS (standard positioning service), 2: differencial GPS) + */ volatile int lock; //位置特定品質(0:位置特定できない, 1:SPS(標準測位サービス), 2:differencial GPS) + /** + @brief Number of satellites used + */ int n_sat; //使用衛星数 + /** + @brief Horizontal Dilution Of Precision + */ float HDOP; //水平精度低下率 + /** + @brief Vertical Dilution Of Precision + */ float VDOP; //垂直精度低下率 + /** + @brief Position Dilution Of Precision + */ float PDOP; //位置精度低下率 + /** + @brief Antenna sea level height, m + */ float h_see; //アンテナ海抜高さ, m + /** + @brief Geoid height, m + */ float h_geo; //ジオイド高さ, m private: