Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago.
Ublox MAX-7c configuration
Hello,
do you know Ublox protocol ? I have Ublox GPS module MAX-7C and i would like to change update rate to 10 seconds by UBX protocol. If I understand well the GPS module accept a HEX packet but it does not work for me. I do not know where is problem. Could you help me ?
const uint8_t Update_10sec[] = {0xB5, 0x62, 0x06, 0x3B, 0x2C, 0x00, 0x01, 0x06, 0x00, 0x00, 0x00, 0x90, 0x02, 0x00, 0x10, 0x27, 0x00, 0x00, 0x10, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x2C, 0x01, 0x00, 0x00, 0x4F, 0xC1, 0x03, 0x00, 0x86, 0x02, 0x00, 0x00, 0xFE, 0x00, 0x00, 0x00, 0x64, 0x40, 0x01, 0x00, 0xE1, 0x51}; while (1) { if (usb.available()) { tmp[i] = usb.getc(); i++; if (tmp[i-1] == '\n') { for (int a = 0; a< sizeof (Updte_10sec); a++){ uart.printf("%x", Update_10sec[a]); } usb.printf("\n"); i = 0; }