I just have problem with Qoi-tek CAN-GPS M10.
I need to apply quick fix by:
case STEP_M10: {
// special handling of M10 config
if (_hardware_generation == UBLOX_M10) {
const config_list *list = config_M10;
const uint8_t list_length = ARRAY_SIZE(config_M10);
Debug("Sending M10 settings");
const uint8_t buf[]={0xB5, 0x62, 0x06, 0x8A, 0x23, 0x00,0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x21, 0x30,
0xC8, 0x00, 0x20, 0x00, 0x31, 0x10, 0x00, 0x22, 0x00, 0x31, 0x10, 0x01, 0x0F, 0x00, 0x31, 0x10, 0x00,
0x0D, 0x00, 0x31, 0x10, 0x01, 0x21, 0x00, 0x11, 0x20, 0x08, 0x8D, 0xCD};
port->write(buf,sizeof(buf));
if (!_configure_config_set(list, list_length, CONFIG_M10, UBX_VALSET_LAYER_RAM)) {
_next_message--;
}
}
break;
}
some how the message UBX_CFG_VALSET never get set. I turn on the debug log it show the error.
return _send_message(CLASS_CFG, MSG_CFG_VALGET, buf, sizeof(buf));
This is the line that return error. I suspect that this is the GET message not the SET message. but even I change it to MSG_CFG_VALGET it still return ACK=0;
So I decide to send the array hex to solve my problem.