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
  • 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.

Comment
  • 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.

Children