Ticket Created
over 4 years ago

WERETECH-8582

obscurity flags wrong on Fenix 6 pro device but ok in sim

i've got a user on a Fenix 6 Pro, firmware 6.0, who is getting a value of "0" in the getObscurityFlags(); when displaying a datafield in the full screen layout.

in the sim, i properly get a 15.

any thoughts?

code is more or less as below

function onLayout(dc)
{

var obscurity = getObscurityFlags();

$.getDeviceAdjustments(obscurity, adj, height, width);

}

function getDeviceAdjustments(obscurity, adj, height, width)
{

Sys.println("obs: " + obscurity);

}

edited to confirm user is on firmware 6.0

Former Member
Former Member
Parents Comment Children
  • Former Member
    Former Member over 5 years ago in reply to Former Member

    Former Member

    Try moving getObscurityFlags() into your onUpdate() function, we think that should resolve this issue.

  • Former Member
    Former Member over 5 years ago in reply to Former Member

    it's a complex data field.  

    https://apps.garmin.com/en-US/apps/a924715a-2d53-42a1-a8f9-e365bc849840

    i assume you guys have multiple actual units to test on, so try that out on a Fenix 6 Pro (where obscurity is broken) vs a Fenix 6 X which I have confirmed works correctly.

    on a 1 page layout, the direction arrow *should* be above the speed number.  I'm doing this by checking for obscurity = 15.  However on a 6 pro, the arrow shows to the right because i'm getting a 0 in the obscurity.

    on a 6 X, the arrow shows properly.

    in the simulator, everything works fine on all devices.

  • Former Member
    Former Member over 5 years ago in reply to Former Member

    Former Member

    Would you be able to tell us a little more, are you developing a simple or a complex data field?

  • Former Member
    Former Member over 5 years ago in reply to Former Member

    Former Member

    for some reason, my replies to the other fenix6 bug post aren't working, so replying here, hopefully

    in my case. WatchUi.Datafield.getObsurityFlags() is returning 15 for a full screen 1 page layout in the sim for a fenix6pro.  my users are getting a 0 for that.

    in a 2 field, top position field, i get a 7 in the sim, they get a 15.

     

    tempting to go buy my own fenix6 at rei and return it after i'm done testing.  i don't think that would make anyone happy though