You are reading a single comment by @HughB and its replies. Click here to read the full conversation.
  • PMS seems a bit redundant when it sounds like you have to fill in PM2 as well

    I know! It seems really odd.

    One of the power management PDFs shows a chart saying you can get 2ms when using a 10s interval period - the holy grail I guess.

    Wow, that'd be great! I've seen a bunch of screenshots from their config app - I wonder whether it could be used to find the correct sequence of bytes to send?

  • Any chance you could try my UBX-CFG-PM2() I got most of the code from the link in the comments and adjusted the timings I wanted.

    I got the bytes from the code at:
    https://github.com/thasti/utrak/blob/master/gps.c

      /*
       *  NOT TRIED, NOT TESTED YET
       * https://github.com/thasti/utrak/blob/master/gps.c
       */
      function UBX_CFG_PM2() {
        writeGPScmd([0x06, 0x3B,                    /* class id */
    	         44, 0,	                        /* length */
    		 0x01, 0x00, 0x00, 0x00, 	/* v1, reserved 1..3 */
    		 0x00, 0x10, 0x00, 0x00,        /* on/off-mode, update ephemeris */
    		 // little endian, lsb first
    		 0x30, 0x75, 0x00, 0x00,	/* update period, ms, 120s=00 01 D4 C0, 30s= 00 00 75 30 */
    		 0x20, 0x4E, 0x00, 0x00,	/* search period, ms, 120s, 20s = 00 00 4E 20 */
    		 0x00, 0x00, 0x00, 0x00,	/* grid offset */
    		 0x00, 0x00,	         	/* on-time after first fix */
    		 0x01, 0x00,        		/* minimum acquisition time */
    		 0x00, 0x00, 0x00, 0x00,	/* reserved 4,5 */
    		 0x00, 0x00, 0x00, 0x00,	/* reserved 6 */
    		 0x00, 0x00, 0x00, 0x00,	/* reserved 7 */
    		 0x00, 0x00, 0x00, 0x00,	/* reserved 8,9,10 */
    	         0x00, 0x00, 0x00, 0x00]);	/* reserved 11 */
      };
    
About

Avatar for HughB @HughB started