Skip to content

Commit 788e357

Browse files
Jayceon Fu(付俊臣)Jayceon Fu(付俊臣)
authored andcommitted
GNSS模块格式调整
1 parent a9dccca commit 788e357

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

en-us/api/QuecPythonClasslib.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10668,7 +10668,7 @@ $GNGLL,3149.2809
1066810668

1066910669
> **gnss.checkDataValidity()**
1067010670

10671-
The functional interface provided by the GNSS module obtains data from GNGGA, GNRMC and GPGSV statements in the original GNSS packets read from the serial port. This interface is used to check the validity of GNGGA, GNRMC and GPGSV statements in a packet of GNSS data read from the serial port.
10671+
The interface provided by the GNSS module obtains data from GNGGA, GNRMC and GPGSV statements in the original GNSS packets read from the serial port. This interface is used to check the validity of GNGGA, GNRMC and GPGSV statements in a packet of GNSS data read from the serial port.
1067210672

1067310673
* Parameter
1067410674

zh-cn/api/QuecPythonClasslib.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8178,7 +8178,7 @@ def ble_callback(args):
81788178
| 1 | 2 | args[0] :event_id,表示 BT/BLE stop<br/>args[1] :status,表示操作的状态,0-成功,非0-失败 |
81798179
| 16 | 4 | args[0] :event_id,表示 BLE connect<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :connect_id<br/>args[3] :addr,BT/BLE address,bytearray类型数据 |
81808180
| 17 | 4 | args[0] :event_id,表示 BLE disconnect<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :connect_id,<br/>args[3] :addr,BT/BLE address,bytearray类型数据 |
8181-
| 18 | 7 | args[0] :event_id,表示 BLE update connection parameter<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :connect_id<br/>args[3] :max_interval,最大的间隔,间隔:1.25ms,取值范围:6-3200,时间范围:7.5ms\ ~ 4s<br/>args[4] :min_interval,最小的间隔,间隔:1.25ms,取值范围:6-3200,时间范围:7.5ms\ ~ 4s<br/>args[5] :latency,从机忽略连接状态事件的时间。需满足:(1+latecy)\*max_interval\*2\*1.25<timeout\*10<br/>args[6] :timeout,没有交互,超时断开时间,间隔:10ms,取值范围:10-3200,时间范围:100ms ~ 32s |
8181+
| 18 | 7 | args[0] :event_id,表示 BLE update connection parameter<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :connect_id<br/>args[3] :max_interval,最大的间隔,间隔:1.25ms,取值范围:6-3200,时间范围:7.5ms\ ~ 4s<br/>args[4] :min_interval,最小的间隔,间隔:1.25ms,取值范围:6-3200,时间范围:7.5ms\ ~ 4s<br/>args[5] :latency,从机忽略连接状态事件的时间。需满足:(1+latecy)\*max_interval\*2\*1.25<timeout\*10<br/>args[6] :timeout,没有交互,超时断开时间,间隔:10ms,取值范围:10-3200ms,时间范围:100ms ~ 32s |
81828182
| 20 | 4 | args[0] :event_id,表示 BLE connection mtu<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :handle<br/>args[3] :mtu值 |
81838183
| 21 | 7 | args[0] :event_id,表示 BLE server : when ble client write characteristic value or descriptor,server get the notice<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :data_len,获取数据的长度<br/>args[3] :data,一个数组,存放获取的数据<br/>args[4] :attr_handle,属性句柄,整型值<br/>args[5] :short_uuid,整型值<br/>args[6] :long_uuid,一个16字节数组,存放长UUID |
81848184
| 22 | 7 | args[0] :event_id,表示 server : when ble client read characteristic value or descriptor,server get the notice<br/>args[1] :status,表示操作的状态,0-成功,非0-失败<br/>args[2] :data_len,获取数据的长度<br/>args[3] :data,一个数组,存放获取的数据<br/>args[4] :attr_handle,属性句柄,整型值<br/>args[5] :short_uuid,整型值<br/>args[6] :long_uuid,一个16字节数组,存放长UUID |
@@ -10993,9 +10993,8 @@ camCaputre.callback(callback)
1099310993

1099410994
模块功能:对L76K GPS型号进行数据获取,可以得到模块定位是否成功,定位的经纬度数据,UTC授时时间,获取GPS模块的定位模式,获取GPS模块定位使用卫星数量,获取GPS模块定位可见卫星数量,获取定位方位角,GPS模块对地速度,模块定位大地高等数据信息。目前,该模块提供的功能接口,所获取的数据都来源于从串口读出的原始GNSS数据包中的GNGGAGNRMCGPGSV语句。
1099510995

10996-
* 注意
10997-
BC25PA平台不支持模块功能。
10998-
> 暂时只支持EC600U CNLB
10996+
注意:当前仅EC600S/EC600N/EC800N/200U/600U模块支持该功能。
10997+
1099910998

1100010999
##### 创建gnss对象
1100111000

@@ -11161,7 +11160,7 @@ gnss.checkDataValidity()
1116111160

1116211161
0:定位失败
1116311162

11164-
示例
11163+
* 示例
1116511164

1116611165
```
1116711166
gnss.isFix()
@@ -11347,7 +11346,7 @@ gnss.getGeodeticHeight()
1134711346

1134811347
成功返回GPS模块对地速度(单位:KM/h),浮点类型,失败返回整型-1
1134911348

11350-
示例
11349+
* 示例
1135111350

1135211351
```python
1135311352
gnss.getSpeed()

0 commit comments

Comments
 (0)