Avatar for Martin

Martin

Member since Apr 2020 • Last active Apr 2020
  • 1 conversations
  • 7 comments

Most recent activity

    • 25 comments
    • 6,199 views
  • in Bangle.js
    Avatar for Martin

    @Gordon By that little connector You mean this area? I'm guessing that white residue should not be there?

  • in Bangle.js
    Avatar for Martin

    I did both today, in one occasion used an app and in other used the code above. Just to be sure. Both testing cycles lasted 30 minutes or more. Neither produced results.
    I can open the watch and post some pics if needed.

  • in Bangle.js
    Avatar for Martin

    Sure, no problem. Can we continue this discussion privately?

  • in Bangle.js
    Avatar for Martin

    @Gordon I did what You asked. Line of sight is good, watch with the 'N' symbol facing towards the sky. No change. Even after 50 minutes the output is still as follows:

    $GNRMC,,V,,,,,,,,,,N*4D
    $GNVTG,,,,,,,,,N*2E
    $GNGGA,,,,,,0,00,99.99,,,,,,*56
    $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99­*2E
    $GPGSV,1,1,00*79
    $GNGLL,,,,,,V,N*7A
    

    Otherwise it may be there's an issue with the GPS radio but it's worth trying some other stuff first

    Anything else I can try?

  • in Bangle.js
    Avatar for Martin

    I removed all apps and did a reset without loading any code.
    No luck, still no fix after 30 minutes outside.
    I'll try flashing older firmware in the evening.

  • in Bangle.js
    Avatar for Martin

    Yes, @Gordon, the app was running. Just to be sure I went outside again for half an hour with the app running. Still the "0 satellites" message.

    Great idea, @Robin, do You know where I can find an older version short of checking it out and building myself?

  • in Bangle.js
    Avatar for Martin

    What I have done so far:

    • Updated all apps (including Bootloader)
    • Installed/Uninstalled GPS Info app
    • Flashed firmware

    Despite all that GPS Info app still states "0 satelites". Even after an hour long walk away from tall buildings.

    To debug I used following code:

    Bangle.setGPSPower(1);
    
    Bangle.on('GPS-raw', function(gps) {
        print(gps);
    });
    

    Output is:


    | |_ ___ ___ _ ||___ ___
    | |_ -| . | _| | | | | . |
    |
    |_| || |_|||_|_|

         |_| espruino.com
    

    2v05.1 (c) 2019 G.Williams

    ÿ$GNTXT,01,01,02,u-blox AG - http://www.u-blox.com*4E
    $GNTXT,01,01,02,HW UBX-M8130 00080000*61
    $GNTXT,01,01,02,ROM CORE 3.01 (107888)*2B
    $GNTXT,01,01,02,FWVER=SPG 3.01*46
    $GNTXT,01,01,02,PROTVER=18.00*11
    $GNTXT,01,01,02,GPS;GLO;BDS*06
    $GNTXT,01,01,02,QZSS*58
    $GNTXT,01,01,02,GNSS OTP=GPS;BDS*26
    $GNTXT,01,01,02,LLC=FFFFFFFF-FFFFFFED-FF­FFFFFF-FFFFFFBF-FFFFFFF9*57
    $GNTXT,01,01,02,ANTSUPERV=AC SD PDoS SR*3E
    $GNTXT,01,01,02,ANTSTATUS=DONTKNOW*2D
    $GNTXT,01,01,02,PF=3FB*4F
    $GNRMC,,V,,,,,,,,,,N*4D
    $GNVTG,,,,,,,,,N*2E
    $GNGGA,,,,,,0,00,99.99,,,,,,*56
    $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99­*2E
    $GPGSV,1,1,00*79
    $GNGLL,,,,,,V,N*7A
    $GNTXT,01,01,02,ANTSTATUS=INIT*3B
    $GNRMC,,V,,,,,,,,,,N*4D
    $GNVTG,,,,,,,,,N*2E
    $GNGGA,,,,,,0,00,99.99,,,,,,*56
    $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99­*2E
    $GPGSV,1,1,00*79
    $GNGLL,,,,,,V,N*7A
    $GNTXT,01,01,02,ANTSTATUS=OK*25
    $GNRMC,,V,,,,,,,,,,N*4D
    $GNVTG,,,,,,,,,N*2E
    $GNGGA,,,,,,0,00,99.99,,,,,,*56
    $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99­*2E
    $GPGSV,1,1,00*79
    $GNGLL,,,,,,V,N*7A

    Afterwards I updated the code to print GPS data every 5 seconds:

    Bangle.setGPSPower(1);
    
    Bangle.on('GPS-raw', function(gps) {
      if (Date().getSeconds() % 5 === 0){
        print(gps);
      }
    });
    

    And noticed a repeating block of values:

    $GNRMC,,V,,,,,,,,,,N*4D
    $GNVTG,,,,,,,,,N*2E
    $GNGGA,,,,,,0,00,99.99,,,,,,*56
    $GNGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99­*2E
    $GPGSV,1,1,00*79
    $GNGLL,,,,,,V,N*7A

    I have attached a screenshot from a phone showing satellite coverage if it's of any help.

Actions