navdata.c
/*
 * Tell the constellation type of a SVID
 * @sivd:       the SVID
 * @return:     the constellationtype
 */
Tell the constellation type of a SVID
@sivd:       the SVID
@return:     the constellationtype
Tell the constellation type of a SVID @sivd : the SVID @return : the constellationtype
int tell_constell(int svid) 
{
        if (svid > 0 && svid < 65) {
                return CONSTELL_TYPE_GPS;
        }
        else if (svid > 64 && svid < 97) {
                return CONSTELL_TYPE_GLN;
        }
        else if (svid > 200 && svid < 265) {
                return CONSTELL_TYPE_BDS;
        }
        return CONSTELL_TYPE_UNKNOWN;
}
int tell_constell ( int svid ) { if ( svid > 0 && svid < 65 ) { return CONSTELL_TYPE_GPS ; } else if ( svid > 64 && svid < 97 ) { return CONSTELL_TYPE_GLN ; } else if ( svid > 200 && svid < 265 ) { return CONSTELL_TYPE_BDS ; } return CONSTELL_TYPE_UNKNOWN ; }
Tell the constellation type of a SVID
 @sivd:       the SVID
 @return:     the constellationtype
Tell the constellation type of a SVID @sivd : the SVID @return : the constellationtype