- /*
- * extract data from the tokens
- */
- gsv->tot_message = atoi(context->token[1]);
- gsv->message_num = atoi(context->token[2]);
- gsv->tot_svv = atoi(context->token[3]);
- gsv->sv_prn = atoi(context->token[4]);
- gsv->elevation = atoi(context->token[5]);
- gsv->azimut = atoi(context->token[6]);
- gsv->snr = atoi(context->token[7]);
- gsv->sv_prn2 = atoi(context->token[8]);
- gsv->elevation2 = atoi(context->token[9]);
- gsv->azimut2 = atoi(context->token[10]);
- gsv->snr2 = atoi(context->token[11]);
- gsv->sv_prn3 = atoi(context->token[12]);
- gsv->elevation3 = atoi(context->token[13]);
- gsv->azimut3 = atoi(context->token[14]);
- gsv->snr3 = atoi(context->token[15]);
- gsv->sv_prn4 = atoi(context->token[16]);
- gsv->elevation4 = atoi(context->token[17]);
- gsv->azimut4 = atoi(context->token[18]);
- gsv->snr4 = atoi(context->token[19]);
- }