GPS 제어 명령 - 직렬 송신 제어 명령 선택 출력 형식

내가 사용하는 모듈은 설정 소프트웨어에서 각 설정의 16진수를 볼 수 있는 Ublox의 명령 형식입니다.
구체적으로는 인터넷에서 찾을 수 있고, 인터넷에는 관련 문장이 있다.
19200 전송 속도 설정:
B5 62 06 00 14 00 01 00 00 00 D0 08 00 00 00 4B 00 00 07 00 03 00 00 00 00 00 48 57

출력 빈도를 10HZ로 설정하려면:
B5 62 06 08 06 00 64 00 01 00 01 00 7A 12

이상은 16진수이므로 0xB5와 같이 0x를 더해서 보내야 합니다.
기타 출력 형식 설정:
unsigned char  engga[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x00,0x00,0x01,0x00,0x00,0xFE,0x18//   GGA
 };
unsigned char  disgga[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x00,0x00,0x00,0x00,0x00,0xFD,0x15//   GGA
};
unsigned char  engll[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x01,0x00,0x01,0x00,0x00,0xFF,0x1D//   GLL
};
unsigned char  disgll[]={
0xB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x01,0x00,0x00,0x00,0x00,0xFE,0x1A//,0x  GLL
};
unsigned char  engsa[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x02,0x00,0x01,0x00,0x00,0x00,0x22//   GSA
};
unsigned char  disgsa[]={
0xB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x02,0x00,0x00,0x00,0x00,0xFF,0x1F//   GSA
};
unsigned char  engsv[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x03,0x00,0x01,0x00,0x00,0x01,0x27//  GSV
};
unsigned char  disgsv[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x03,0x00,0x00,0x00,0x00,0x00,0x24//   GSV
};
unsigned char  enrmc[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x04,0x00,0x01,0x00,0x00,0x02,0x2C//   RMC
};
unsigned char  disrmc[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x04,0x00,0x00,0x00,0x00,0x01,0x29//   RMC 
};
unsigned char  envtg[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x05,0x00,0x01,0x00,0x00,0x03,0x31//   VTG
};
unsigned char  disvtg[]={
0xB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x05,0x00,0x00,0x00,0x00,0x02,0x2E//   VTG
};
unsigned char  engrs[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x06,0x00,0x01,0x00,0x00,0x04,0x36///   GRS /
};
unsigned char  disgrs[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x06,0x00,0x00,0x00,0x00,0x03,0x33//   GRS
};
unsigned char  engst[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x07,0x00,0x01,0x00,0x00,0x05,0x3B///   GST /
};
unsigned char  disgst[]={
0xB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x07,0x00,0x00,0x00,0x00,0x04,0x38//   GST
};
unsigned char  enzda[]={
0xB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x08,0x00,0x01,0x00,0x00,0x06,0x40//   ZDA /
};
unsigned char  diszda[]={
0XB5,0x62,0x06,0x01,0x06,0x00,0xF0,0x08,0x00,0x00,0x00,0x00,0x05,0x3D//   ZDA
};

좋은 웹페이지 즐겨찾기