Beispiel #1
0
 static void InitialItemsInfo0210()
 {
     ItemsInfo0210 = new UBXItemInfo[32*7 + 5];
     ItemsInfo0210[0] = new UBXItemInfo("ID", "", 2, 1);
     ItemsInfo0210[1] = new UBXItemInfo("itow", "ms", 4, 1, ItemInfoType.INT);
     ItemsInfo0210[2] = new UBXItemInfo("week", "weeks", 2, 1, ItemInfoType.INT);
     ItemsInfo0210[3] = new UBXItemInfo("numsv", "", 1, 1, ItemInfoType.UINT);
     ItemsInfo0210[4] = new UBXItemInfo("reserved1", "", 1, 1, ItemInfoType.UINT);
     for (int i = 0; i < 32; i++)
     {
         ItemsInfo0210[5 + i * 7] = new UBXItemInfo("cpmes_" + (i ), "cycles", 8, 1, ItemInfoType.DOUBLE);
         ItemsInfo0210[5 + i * 7 + 1] = new UBXItemInfo("prmes_" + (i ), "m", 8, 1, ItemInfoType.DOUBLE);
         ItemsInfo0210[5 + i * 7 + 2] = new UBXItemInfo("domes_" + (i ), "hz", 4, 1, ItemInfoType.DOUBLE);
         ItemsInfo0210[5 + i * 7 + 3] = new UBXItemInfo("sv_" + (i ), "", 1, 1, ItemInfoType.UINT);
         ItemsInfo0210[5 + i * 7 + 4] = new UBXItemInfo("mesqi_" + (i ), "", 1, 1, ItemInfoType.INT);
         ItemsInfo0210[5 + i * 7 + 5] = new UBXItemInfo("cno_" + (i), "dbHz", 1, 1, ItemInfoType.INT);
         ItemsInfo0210[5 + i * 7 + 6] = new UBXItemInfo("lli_" + (i), "", 1, 1, ItemInfoType.UINT);
     }
 }
Beispiel #2
0
 static void InitialItemsInfo0220()
 {
     ItemsInfo0220 = new UBXItemInfo[100*5+5];
     ItemsInfo0220[0] = new UBXItemInfo("ID", "", 2, 1);
     ItemsInfo0220[1] = new UBXItemInfo("itow", "ms", 4, 1, ItemInfoType.INT);
     ItemsInfo0220[2] = new UBXItemInfo("week", "weeks", 2, 1, ItemInfoType.INT);
     ItemsInfo0220[3] = new UBXItemInfo("numvis", "", 1, 1, ItemInfoType.UINT);
     ItemsInfo0220[4] = new UBXItemInfo("numsv", "", 1, 1, ItemInfoType.UINT);
     for (int i = 0; i < 100; i++)
     {
         ItemsInfo0220[5 + i * 5] = new UBXItemInfo("svid_" + (i ), "", 1, 1, ItemInfoType.UINT);
         ItemsInfo0220[5 + i * 5+1] = new UBXItemInfo("svflag_" + (i ), "", 1, 1, ItemInfoType.UINT);
         ItemsInfo0220[5 + i * 5 + 2] = new UBXItemInfo("azim_" + (i ), "", 2, 1, ItemInfoType.INT);
         ItemsInfo0220[5 + i * 5 + 3] = new UBXItemInfo("elev_" + (i ), "", 1, 1, ItemInfoType.INT);
         ItemsInfo0220[5 + i * 5 + 4] = new UBXItemInfo("age_" + (i ), "", 1, 1, ItemInfoType.UINT);
     }
 }
Beispiel #3
0
        //0 U4 - iTOW ms GPS Millisecond time of week
        //4 U1 - geo - PRN Number of the GEO where correction and
        //integrity data is used from
        //5 U1 - mode - SBAS Mode
        //0 Disabled
        //1 Enabled Integrity
        //3 Enabled Testmode
        //6 I1 - sys - SBAS System (WAAS/EGNOS/...)
        //-1 Unknown
        //0 WAAS
        //1 EGNOS
        //2 MSAS
        //16 GPS
        //7 X1 - service - SBAS Services available (see graphic below)
        //8 U1 - cnt - Number of SV data following
        //9 U1[3] - reserved0 - Reserved
        static void InitialItemsInfo0132()
        {
            ItemsInfo0132 = new UBXItemInfo[32 * 9 + 10];
            ItemsInfo0132[0] = new UBXItemInfo("ID", "", 2, 1);
            ItemsInfo0132[1] = new UBXItemInfo("itow", "ms", 4, 1, ItemInfoType.UINT);
            ItemsInfo0132[2] = new UBXItemInfo("geo", "", 1, 1, ItemInfoType.UINT);
            ItemsInfo0132[3] = new UBXItemInfo("mode", "", 1, 1, ItemInfoType.UINT);
            ItemsInfo0132[4] = new UBXItemInfo("sys", "", 1, 1, ItemInfoType.INT);
            ItemsInfo0132[5] = new UBXItemInfo("service", "", 1, 1, ItemInfoType.UINT);
            ItemsInfo0132[6] = new UBXItemInfo("cnt", "", 1, 1, ItemInfoType.UINT);
            ItemsInfo0132[7] = new UBXItemInfo("reserved0", "", 1, 1, ItemInfoType.UINT);
            ItemsInfo0132[8] = new UBXItemInfo("reserved1", "", 1, 1, ItemInfoType.UINT);
            ItemsInfo0132[9] = new UBXItemInfo("reserved2", "", 1, 1, ItemInfoType.UINT);
            for (int i = 0; i < 32; i++)
            {
              //  U1 - svid - SV Id
                ItemsInfo0132[10+i*9] = new UBXItemInfo("svid_"+i, "", 1, 1, ItemInfoType.UINT);
                //U1 - flags - Flags for this SV
                ItemsInfo0132[10 + i * 9 + 1] = new UBXItemInfo("flags_" + i, "", 1, 1, ItemInfoType.UINT);
                //U1 - udre - Monitoring status
                ItemsInfo0132[10 + i * 9 + 2] = new UBXItemInfo("udre_" + i, "", 1, 1, ItemInfoType.UINT);
                //U1 - svSys - System (WAAS/EGNOS/...)
                ItemsInfo0132[10 + i * 9 + 3] = new UBXItemInfo("svsys_" + i, "", 1, 1, ItemInfoType.UINT);
                //U1 - svService - Services available
                ItemsInfo0132[10 + i * 9 + 4] = new UBXItemInfo("svservice_" + i, "", 1, 1, ItemInfoType.UINT);
                //U1 - reserved1 - Reserved
                ItemsInfo0132[10 + i * 9 + 5] = new UBXItemInfo("reserved1_" + i, "", 1, 1, ItemInfoType.UINT);
                //I2 - prc cm Pseudo Range correction in [cm]
                ItemsInfo0132[10 + i * 9 + 6] = new UBXItemInfo("prc_" + i, "", 2, 1, ItemInfoType.INT);

                //U2 - reserved2 - Reserved
                ItemsInfo0132[10 + i * 9 + 7] = new UBXItemInfo("reserved2_" + i, "", 2, 1, ItemInfoType.UINT);
                //I2 - ic cm Ionosphere correction in [cm]
                ItemsInfo0132[10 + i * 9 + 8] = new UBXItemInfo("ic_" + i, "", 2, 1, ItemInfoType.INT);
            }
        }