MsgPosLLH msg_ = (MsgPosLLH) msg;
int fix_type = msg_.flags & 0x7;
double h_acc = msg_.h_accuracy / 1000.0;
double v_acc = msg_.v_accuracy / 1000.0;
I don't know if I'm using the wrong type of data, but i have already tried with long and int and I keep getting zero in those two values... The rest of the fields in the LLH message come out just fine.
Can someone please help?
Thanks in advance!