GPGGA校验计算方式

        //$GPGGA,092725.00,4717.11399,N,00833.91590,E,1,08,1.01,499.6,M,48.0,M,,*5B
        String str="GPGGA,092725.00,4717.11399,N,00833.91590,E,1,08,1.01,499.6,M,48.0,M,,";
        char ch=str.charAt(0);
        int x=(int)ch;
        int y;
        for(int i=1;i
GPGGA校验计算方式_第1张图片

你可能感兴趣的:(Java)