Home
last modified time | relevance | path

Searched refs:GNSS (Results 1 – 25 of 88) sorted by relevance

1234

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/location/
H A D_hdi_gnss.md6 定义GNSS模块的接口。
8 上层GNSS服务可以获取一个GNSS驱动对象或代理,然后调用该对象或代理提供的api来访问GNSS设备, 从而实现启动GNSS芯片,启动导航,设置GNSS工作模式,注入参考信息,获取定位结果,获取n…
22 …ace.idl](_i_gnss_interface_8idl.md) | 声明GNSS模块提供的接口函数,包括启动GNSS芯片、启动导航、设置GNSS工作模式、注入参考信息、 删除辅助数据、注入…
38 …ace](interface_i_gnss_interface.md) | 声明GNSS模块提供的接口函数,包括启动GNSS芯片、启动导航、设置GNSS工作模式、注入参考信息、 删除辅助数据、注入…
97 定义GNSS能力
145 定义GNSS参考信息类型。
167 定义GNSS启动方式。
169 定义GNSS启动类型的枚举值,用于区分普通GNSS定位和GNSS缓存上报功能 (不立刻上报底层位置,仅当上层请求全部上报或者底层FIFO满后才上报位置)。
188 定义GNSS工作模式。
190 定义GNSS工作模式的枚举值。
[all …]
H A Dinterface_i_gnss_interface.md6 声明GNSS模块提供的接口函数,包括启动GNSS芯片、启动导航、设置GNSS工作模式、注入参考信息、 删除辅助数据、注入PGNSS数据、获取GNSS缓存位置个数、获取所有缓存位置。
68 去使能GNSS功能。
86 使能GNSS功能,并设置回调函数。
94 | callback | 表示GNSS回调函数。GNSS驱动通过此回调函数上报定位结果和卫星状态信息等。 详情参考[IGnssCallback](interface_i_gnss_callback.…
128 获取GNSS缓存位置个数。
136 | size | 表示GNSS缓存位置个数。 |
152 设置GNSS配置参数。
160 | para | 表示GNSS配置参数。包含基础的GNSS配置和GNSS缓存位置功能配置参数。详情参考[GnssConfigPara](_gnss_config_para.md)。 |
176 注入GNSS参考信息。
232 | type | 表示GNSS启动类型,该参数是为了区分正常的GNSS定位功能和GNSS缓存功能。 详情参考[GnssStartType](_hdi_gnss.md#gnssstarttype)。 …
[all …]
H A Dinterface_i_gnss_callback.md6 声明获取定位结果回调、获取GNSS模块工作状态回调、获取nmea回调、获取GNSS能力回调、 获取卫星状态信息回调、批量获取缓存位置回调、请求上层注入参考信息回调、 请求上层注入PGNSS数据回调。
21 | [ReportGnssWorkingStatus](#reportgnssworkingstatus) ([in] enum GnssWorkingStatus status) | 上报GNSS
42 批量上报所有的缓存GNSS位置信息。
50 | gnssLocations | 表示GNSS芯片缓存的所有位置信息。详情参考[LocationInfo](_location_info.md)。 |
66 上报GNSS能力的回调函数。
74 | capabilities | 表示GNSS的能力。详情参考[GnssCapabilities](_hdi_gnss.md#gnsscapabilities)。 |
90 上报GNSS工作状态的回调函数。
98 | status | 表示GNSS芯片的工作状态,详情参考[GnssWorkingStatus](_hdi_gnss.md#gnssworkingstatus)。 |
122 | location | 表示GNSS定位结果,详情参考[LocationInfo](_location_info.md)。 |
188 请求上层注入GNSS参考信息。
[all …]
H A D_gnss_types_8idl.md6 定义GNSS模块接口中使用到的数据结构。
23 | struct  [GnssBasicConfig](_gnss_basic_config.md) | 定义基础的GNSS配置参数。 |
24 | struct  [GnssCachingConfig](_gnss_caching_config.md) | 定义GNSS缓存功能的配置参数。 |
25 | struct  [GnssConfigPara](_gnss_config_para.md) | 定义GNSS配置参数结构体。 |
26 | struct  [GnssRefTime](_gnss_ref_time.md) | 定义GNSS参考时间结构体。 |
27 | struct  [GnssRefLocation](_gnss_ref_location.md) | 定义GNSS参考位置结构体。 |
28 | struct  [LocationInfo](_location_info.md) | 定义GNSS定位结果结构体。 |
29 | struct  [GnssRefInfo](_gnss_ref_info.md) | 定义GNSS参考信息结构体。 |
36 …NDALONE = 1 , GNSS_WORKING_MODE_MS_BASED = 2 , GNSS_WORKING_MODE_MS_ASSISTED = 3 } | 定义GNSS工作模式。 |
37 ….md#gnssstarttype) { GNSS_START_TYPE_NORMAL = 1 , GNSS_START_TYPE_GNSS_CACHE = 2 } | 定义GNSS启动方式。 |
[all …]
H A D_i_gnss_interface_8idl.md6 声明GNSS模块提供的接口函数,包括启动GNSS芯片、启动导航、设置GNSS工作模式、注入参考信息、 删除辅助数据、注入PGNSS数据、获取GNSS缓存位置个数、获取所有缓存位置。
28 …ace](interface_i_gnss_interface.md) | 声明GNSS模块提供的接口函数,包括启动GNSS芯片、启动导航、设置GNSS工作模式、注入参考信息、 删除辅助数据、注入…
H A D_gnss_config_para.md6 定义GNSS配置参数结构体。
20 | struct [GnssBasicConfig](_gnss_basic_config.md)[gnssBasic](#gnssbasic) | GNSS基础配置参数 |
21 | struct [GnssCachingConfig](_gnss_caching_config.md)[gnssCaching](#gnsscaching) | GNSS cache功能配置参数…
34 GNSS基础配置参数
44 GNSS cache功能配置参数
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dgnss_ability_proxy.cpp38 LBSLOGE(GNSS, "write interfaceToken fail!"); in SendLocationRequest()
56 LBSLOGE(GNSS, "write interfaceToken fail!"); in SetEnable()
76 LBSLOGE(GNSS, "write interfaceToken fail!"); in RefrashRequirements()
93 LBSLOGE(GNSS, "write interfaceToken fail!"); in RegisterGnssStatusCallback()
114 LBSLOGE(GNSS, "write interfaceToken fail!"); in UnregisterGnssStatusCallback()
133 LBSLOGE(GNSS, "write interfaceToken fail!"); in RegisterNmeaMessageCallback()
151 LBSLOGE(GNSS, "write interfaceToken fail!"); in UnregisterNmeaMessageCallback()
169 LBSLOGE(GNSS, "write interfaceToken fail!"); in RegisterCachedCallback()
188 LBSLOGE(GNSS, "write interfaceToken fail!"); in UnregisterCachedCallback()
279 LBSLOGE(GNSS, "AddFence remote is null"); in AddFence()
[all …]
/ohos5.0/drivers/interface/location/gnss/v2_0/
H A DIGnssInterface.idl20 * @brief Provides unified APIs for GNSS services to access GNSS drivers.
22 …* A GNSS service can obtain a GNSS driver object or agent and then call APIs provided by this obje…
23 * access GNSS devices, thereby Start the GNSS chip, start the navigation,
33 …* @brief Declares the APIs provided by the GNSS module for Start the GNSS chip, start the navigati…
60 …* @param para Indicates GNSS configuration parameters, including basic GNSS parameters and GNSS ca…
70 … * @brief Enable the GNSS module and transmit the callback of the upper layer to the GNSS module.
72 …llback Indicates Callback function sent by the upper layer to the GNSS driver. The GNSS driver ret…
82 * @brief Disable the GNSS module.
94 …* @param type Indicates the GNSS startup type, which is used to distinguish between common GNSS po…
106 …* @param type Indicates the GNSS startup type, which is used to distinguish between common GNSS po…
[all …]
H A DGnssTypes.idl20 * @brief Provides unified APIs for GNSS services to access GNSS drivers.
22 …* A GNSS service can obtain a GNSS driver object or agent and then call APIs provided by this obje…
23 * access GNSS devices, thereby Start the GNSS chip, start the navigation,
62 * @brief Defines the GNSS working mode.
80 * @brief Defines the GNSS startup type.
135 /* GNSS status unknown. */
147 /* The GNSS chip is powered off. */
152 * @brief Defines the GNSS capability.
163 /* GNSS supports Geofencing */
166 /* GNSS supports Measurements. */
[all …]
H A DIGnssCallback.idl20 * @brief Provides unified APIs for GNSS services to access GNSS drivers.
22 …* A GNSS service can obtain a GNSS driver object or agent and then call APIs provided by this obje…
23 * access GNSS devices, thereby Start the GNSS chip, start the navigation,
24 …* set the GNSS working mode, inject reference information, obtain the positioning result, obtain t…
56 * @param location Indicates GNSS location result. For details, see {@link Location}.
65 * @brief Reporting the working status of the GNSS module.
89 * @brief GNSS capability reporting.
91 * @param capabilities Indicates the GNSS capability. For details, see {@link GnssCapabilities}.
102 * @param info Indicates the satellite status information structure reported by the GNSS chip.
144 * @brief Report GNSS Ni notification.
[all …]
/ohos5.0/drivers/interface/location/gnss/v1_0/
H A DIGnssInterface.idl20 * @brief Provides unified APIs for GNSS services to access GNSS drivers.
22 …* A GNSS service can obtain a GNSS driver object or agent and then call APIs provided by this obje…
23 * access GNSS devices, thereby Start the GNSS chip, start the navigation,
33 …* @brief Declares the APIs provided by the GNSS module for Start the GNSS chip, start the navigati…
59 …* @param para Indicates GNSS configuration parameters, including basic GNSS parameters and GNSS ca…
69 … * @brief Enable the GNSS module and transmit the callback of the upper layer to the GNSS module.
71 …llback Indicates Callback function sent by the upper layer to the GNSS driver. The GNSS driver ret…
81 * @brief Disable the GNSS module.
93 …* @param type Indicates the GNSS startup type, which is used to distinguish between common GNSS po…
105 …* @param type Indicates the GNSS startup type, which is used to distinguish between common GNSS po…
[all …]
H A DGnssTypes.idl20 * @brief Provides unified APIs for GNSS services to access GNSS drivers.
22 …* A GNSS service can obtain a GNSS driver object or agent and then call APIs provided by this obje…
23 * access GNSS devices, thereby Start the GNSS chip, start the navigation,
42 * @brief Defines the GNSS working mode.
49 /* GNSS standalone (no assistance) */
60 * @brief Defines the GNSS startup type.
113 /* GNSS status unknown. */
130 * @brief Defines the GNSS capability.
141 /* GNSS supports Geofencing */
144 /* GNSS supports Measurements. */
[all …]
H A DIGnssCallback.idl20 * @brief Provides unified APIs for GNSS services to access GNSS drivers.
22 …* A GNSS service can obtain a GNSS driver object or agent and then call APIs provided by this obje…
23 * access GNSS devices, thereby Start the GNSS chip, start the navigation,
24 …* set the GNSS working mode, inject reference information, obtain the positioning result, obtain t…
56 * @param location Indicates GNSS location result. For details, see {@link Location}.
65 * @brief Reporting the working status of the GNSS module.
89 * @brief GNSS capability reporting.
91 * @param capabilities Indicates the GNSS capability. For details, see {@link GnssCapabilities}.
102 * @param info Indicates the satellite status information structure reported by the GNSS chip.
114 …* @param type Indicates the GNSS reference information type. For details, see {@link GnssRefInfoTy…
[all …]
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dgnss_ability.cpp109 LBSLOGI(GNSS, "ability constructed."); in GnssAbility()
165 LBSLOGI(GNSS, "OnStop ability stopped."); in OnStop()
345 LBSLOGD(GNSS, "enter RequestRecord"); in RequestRecord()
476 LBSLOGE(GNSS, "unknow mode"); in SetPositionMode()
513 LBSLOGD(GNSS, "InjectTime"); in InjectTime()
631 LBSLOGE(GNSS, "request is nullptr"); in RemoveFence()
651 LBSLOGD(GNSS, "GenerateFenceId"); in GenerateFenceId()
718 LBSLOGE(GNSS, "request is nullptr"); in RemoveGnssGeofence()
810 LBSLOGE(GNSS, "request is nullptr"); in ReportGeofenceOperationResult()
1263 LBSLOGI(GNSS, "RemoveHdi success."); in RemoveHdi()
[all …]
H A Dagnss_ni_manager.cpp69 LBSLOGE(GNSS, "failed to get samgrProxy"); in SubscribeSaStatusChangeListerner()
100 LBSLOGE(GNSS, "Failed to subscriber gnss event"); in RegisterAgnssNiEvent()
102 LBSLOGI(GNSS, "success to subscriber gnss event"); in RegisterAgnssNiEvent()
130 LBSLOGI(GNSS, "AGNSS-NI: Run"); in Run()
185 LBSLOGE(GNSS, "short message manager nullptr"); in IsFromDefaultSubId()
218 LBSLOGE(GNSS, "gnssInterfacev1_0 is nullptr"); in CheckWapSuplInit()
236 LBSLOGI(GNSS, "pdus is null"); in CheckSmsSuplInit()
327 LBSLOGI(GNSS, "ConnectExtension"); in OpenNiDialog()
413 LBSLOGE(GNSS, "gnssInterfacev1_0 is nullptr"); in SendUserResponse()
453 LBSLOGE(GNSS, "agnssNiManager nullptr"); in OnAddSystemAbility()
[all …]
H A Dgnss_common_event_subscriber.cpp26 LBSLOGI(GNSS, "OnReceiveEvent"); in OnReceiveEvent()
32 LBSLOGE(GNSS, "agnssNiManager nullptr"); in OnReceiveEvent()
36 LBSLOGI(GNSS, "[AGNSS NI]:receive sms msg"); in OnReceiveEvent()
39 LBSLOGI(GNSS, "[AGNSS NI]:receive wap push msg"); in OnReceiveEvent()
42 LBSLOGI(GNSS, "[AGNSS NI]:receive call state msg"); in OnReceiveEvent()
45 LBSLOGI(GNSS, "[AGNSS NI]:receive user accept event"); in OnReceiveEvent()
48 LBSLOGI(GNSS, "[AGNSS NI]:receive user reject event"); in OnReceiveEvent()
H A Dgnss_event_callback.cpp60 LBSLOGE(GNSS, "ReportLocation: gnss ability is nullptr."); in ReportLocation()
81 LBSLOGE(GNSS, "location mock is enabled, do not report gnss location!"); in ReportLocation()
109 LBSLOGE(GNSS, "ReportGnssWorkingStatus: gnss ability is nullptr."); in ReportGnssWorkingStatus()
120 LBSLOGE(GNSS, "ReportNmea: gnss ability is nullptr."); in ReportNmea()
137 LBSLOGE(GNSS, "ReportSatelliteStatusInfo: gnss ability is nullptr."); in ReportSatelliteStatusInfo()
142 LBSLOGD(GNSS, "SvStatusCallback, satellites_num < 0!"); in ReportSatelliteStatusInfo()
182 LBSLOGE(GNSS, "%{public}s: sv is nullptr.", __func__); in SendDummySvInfo()
200 LBSLOGD(GNSS, "%{public}s: start increase dummy sv", __func__); in SendDummySvInfo()
214 LBSLOGD(GNSS, "%{public}s: increase sv finished", __func__); in SendDummySvInfo()
225 LBSLOGE(GNSS, "%{public}s gnss ability or sv is nullptr.", __func__); in ReportDummySv()
[all …]
/ohos5.0/base/location/test/location_gnss/source/
H A Dgnss_ability_stub_test.cpp50 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest001 begin");
60 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest001 end");
67 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest002 begin");
77 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest002 end");
84 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest003 begin");
94 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest003 end");
111 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest004 end");
128 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest005 end");
145 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest006 end");
162 LBSLOGI(GNSS, "[GnssAbilityStubTest] GnssAbilityStubTest007 end");
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_gnss_v1_0/foo/location/gnss/v1_0/
H A DGnssTypes.idl42 * @brief Defines the GNSS working mode.
50 /* GNSS standalone (no assistance) */
61 * @brief Defines the GNSS startup type.
63 …* Defines the enumerated value of the GNSS startup type, which is used to distinguish between comm…
114 /* GNSS status unknown. */
126 /* The GNSS chip is powered off. */
131 * @brief Defines the GNSS capability.
142 /* GNSS supports Geofencing */
151 /* GNSS supports location caching */
156 * @brief Defines the GNSS satellite type.
[all …]
H A DIGnssInterface.idl23 * access gnss devices, thereby Start the GNSS chip, start the navigation,
49 * The functions include Start the GNSS chip, start the navigation,
59 …* @param para Indicates GNSS configuration parameters, including basic GNSS parameters and GNSS ca…
69 … * @brief Enable the GNSS module and transmit the callback of the upper layer to the GNSS module.
81 * @brief Disable the GNSS module.
93 …* @param type Indicates the GNSS startup type, which is used to distinguish between common GNSS po…
94 * and GNSS caching function. For details, see {@link GnssStartType}.
105 …* @param type Indicates the GNSS startup type, which is used to distinguish between common GNSS po…
106 * and GNSS caching function. For details, see {@link GnssStartType}.
115 * @brief Inject reference information to the GNSS module.
[all …]
H A DIGnssCallback.idl23 * access gnss devices, thereby Start the GNSS chip, start the navigation,
24 …* set the GNSS working mode, inject reference information, obtain the positioning result, obtain t…
33 …ares the callbacks for obtain the positioning result, obtain the working status of the GNSS module,
34 …* obtain the nmea, obtain GNSS capability, obtain the satellite status information, and obtain the…
46 …ines the callbacks for obtain the positioning result, obtain the working status of the GNSS module,
56 * @param location Indicates GNSS location result. For details, see {@link Location}.
65 * @brief Reporting the working status of the GNSS module.
89 * @brief GNSS capability reporting.
91 * @param capabilities Indicates the GNSS capability. For details, see {@link GnssCapabilities}.
102 * @param info Indicates the satellite status information structure reported by the GNSS chip.
[all …]
/ohos5.0/docs/zh-cn/readme/
H A D位置服务子系统.md22 位置能力用于确定用户设备在哪里,系统使用位置坐标标示设备的位置,并用多种定位技术提供服务,如GNSS定位、基站定位、WLAN/蓝牙定位(基站定位、WLAN/蓝牙定位后续统称“网络定位技术”)。通过这…
28 - **GNSS定位**
83 …&nbsp;callback?:&nbsp;Callback&lt;Array&lt;Location&gt;&gt;)&nbsp;:&nbsp;void; | 取消订阅缓存GNSS位置上报。 |
86 …geChange',&nbsp;callback:&nbsp;Callback&lt;string&gt;)&nbsp;:&nbsp;void; | 订阅GNSS&nbsp;NMEA信息上报。 |
87 …hange',&nbsp;callback?:&nbsp;Callback&lt;string&gt;)&nbsp;:&nbsp;void; | 取消订阅GNSS&nbsp;NMEA信息上报。 |
102 …sSize(callback:&nbsp;AsyncCallback&lt;number&gt;)&nbsp;:&nbsp;void; | 获取缓存GNSS位置的个数,使用callback回调异步…
103 | getCachedGnssLocationsSize()&nbsp;:&nbsp;Promise&lt;number&gt;; | 获取缓存GNSS位置的个数,使用Promise方式异步返回结果…
104 …llback:&nbsp;AsyncCallback&lt;boolean&gt;)&nbsp;:&nbsp;void; | 获取所有的GNSS缓存位置,并清空GNSS缓存队列,使用callbac…
105 | flushCachedGnssLocations()&nbsp;:&nbsp;Promise&lt;boolean&gt;; | 获取所有的GNSS缓存位置,并清空GNSS缓存队列,使用Prom…
159 …场景,如车载、步行导航。在此场景下,为保证系统提供位置结果精度最优,主要使用GNSS定位技术提供定位服务,结合场景特点,在导航启动之初,用户很可能在室内、车库等遮蔽环境,GNSS技术很难提供位置服…
[all …]
/ohos5.0/base/location/frameworks/base_module/source/
H A Dsatellite_status.cpp77 LBSLOGE(GNSS, "%{public}s: satelliteIds data length is incorrect.", __func__); in IsValidityDatas()
81 LBSLOGE(GNSS, "%{public}s: carrierToNoiseDensitys data length is incorrect.", __func__); in IsValidityDatas()
85 LBSLOGE(GNSS, "%{public}s: altitudes data length is incorrect.", __func__); in IsValidityDatas()
89 LBSLOGE(GNSS, "%{public}s: azimuths data length is incorrect.", __func__); in IsValidityDatas()
93 LBSLOGE(GNSS, "%{public}s: carrierFrequencies data length is incorrect.", __func__); in IsValidityDatas()
97 LBSLOGE(GNSS, "%{public}s: constellationTypes data length is incorrect.", __func__); in IsValidityDatas()
101 LBSLOGE(GNSS, "%{public}s: additionalInfoList data length is incorrect.", __func__); in IsValidityDatas()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-location-kit/
H A Derrorcode-geoLocationManager.md21 2.GNSS芯片初始化失败导致GNSS定位功能失效。
59 1.GNSS信号弱,导致定位超时。
153 1.GNSS芯片不支持地理围栏功能。
207 某些异步请求需要用户点击按钮确认,或者需要GNSS芯片和网络服务器响应,这些场景下未收到响应导致业务失败。
213 2.GNSS芯片未响应。
/ohos5.0/base/location/services/location_gnss/gnss/source/ntp/
H A Dtime_manager.cpp33 LBSLOGI(GNSS, "beginning timestamp_ is %{public}s", std::to_string(timestamp_).c_str()); in GetCurrentTime()
38 LBSLOGI(GNSS, "getCurrentTime ElapsedRealTime INVALID_TIME"); in GetCurrentTime()
44 LBSLOGI(GNSS, "getCurrentTime INVALID_TIME"); in GetCurrentTime()
47 … LBSLOGI(GNSS, "getCurrentTime:%{public}s", std::to_string(timestamp_ + timeTillNow).c_str()); in GetCurrentTime()
56 LBSLOGI(GNSS, "setCurrentTime timestamp_:%{public}s, mTimeReference:%{public}s", in SetCurrentTime()

1234