Debug 数据,接上串口通过发送UBX指令进行参数配置,以下是简单的几条配置指令。
enable GxGGA
B5 62 06 01 03 00 F0 00 01 FB 10
B5 62 05 01 02 00 06 01 0F 38
disable GxGGA
B5 62 06 01 03 00 F0 00 00 FA 0F
B5 62 05 01 02 00 06 01 0F 38
---------------------------------------------
enable GxGLL
B5 62 06 01 03 00 F0 01 01 FC 12
B5 62 05 01 02 00 06 01 0F 38
disable GxGLL
B5 62 06 01 03 00 F0 01 00 FB 11
B5 62 05 01 02 00 06 01 0F 38
---------------------------------------------
enable GxGSA
B5 62 06 01 03 00 F0 02 01 FD 14
B5 62 05 01 02 00 06 01 0F 38
disable GxGSA
B5 62 06 01 03 00 F0 02 00 FC 13
B5 62 05 01 02 00 06 01 0F 38
---------------------------------------------
enable GxGSV
B5 62 06 01 03 00 F0 03 01 FE 16
B5 62 05 01 02 00 06 01 0F 38
disable GxGSV
B5 62 06 01 03 00 F0 03 00 FD 15
B5 62 05 01 02 00 06 01 0F 38
---------------------------------------------
enable GxRMC
B5 62 06 01 03 00 F0 04 01 FF 18
B5 62 05 01 02 00 06 01 0F 38
disable GxRMC
B5 62 06 01 03 00 F0 04 00 FE 17
B5 62 05 01 02 00 06 01 0F 38
---------------------------------------------
enable GxVTG
B5 62 06 01 03 00 F0 05 01 00 1A
B5 62 05 01 02 00 06 01 0F 38
disable GxVTG
B5 62 06 01 03 00 F0 05 00 FF 19
B5 62 05 01 02 00 06 01 0F 38
---------------------------------------------
enable GxZDA
B5 62 06 01 03 00 F0 08 01 03 20
B5 62 05 01 02 00 06 01 0F 38
disable GxZDA
B5 62 06 01 03 00 F0 08 00 02 1F
B5 62 05 01 02 00 06 01 0F 38
-------------------------------------------------
-------------------------------------------------
//u-blox dynamic platform
//0-portable-便携式
B5 62 06 24 24 00 FF FF 00 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 5E 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 7E 3C
//2-stationary-静止的
B5 62 06 24 24 00 FF FF 02 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 5E 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 80 80
//3-pedestrian-步行的
B5 62 06 24 24 00 FF FF 03 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 5E 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 81 A2
//4-automotive-车载的
B5 62 06 24 24 00 FF FF 04 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 5E 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 82 C4
//5-sea-航海的
B5 62 06 24 24 00 FF FF 05 03 00 00 00 00 10 27 00 00 05 00 FA 00 FA 00 64 00 5E 01 00 3C 00 00 00 00 00 00 00 00 00 00 00 00 83 E6
//save the configuration
B5 62 06 09 0D 00 00 00 00 00 FF FF 00 00 00 00 00 00 17 31 BF
//数据上传速率
//更新频率:1s
B5 62 06 08 06 00 E8 03 01 00 01 00 01 39
//更新频率:2s
B5 62 06 08 06 00 D0 07 01 00 01 00 ED BD
//更新频率:3s
B5 62 06 08 06 00 B8 0B 01 00 01 00 D9 41
//更新频率:4s
B5 62 06 08 06 00 A0 0F 01 00 01 00 C5 C5
//更新频率:5s
B5 62 06 08 06 00 88 13 01 00 01 00 B1 49
//UART波特率:38400
//Uart1BaudRate
B5 62 06 00 14 00 01 00 00 00 D0 08 00 00 00 96 00 00 23 00 03 00 00 00 00 00 AF 70
//Uart2BaudRate
B5 62 06 00 14 00 02 00 00 00 D0 08 00 00 00 96 00 00 23 00 03 00 00 00 00 00 B0 84