Acknowledged

Instinct 2S completely hangs with BLE bg wf

i'm developing a BLE background watchface and am seeing complete watch hangs on Instinct 2S after about 1 to 2 days of running the wf (and I believe FR 965M but I have stopped testing that due to its inadequate battery.)

i'm not sure which connect iq calls are causing this but i will try to gather more info. since it happens so infrequently (i've seen it at least 3 times and have never been able to get past 2 days of runtime so i'm sure i'll see it again), i'm starting this bug report now anyway to see if others have seen it.

the only thing i can do to the watch after the hang is hold the light button for a long time to power it down, it responds to nothing else and does not update the wf at all.

Parents
  • the last thing i could think of to try has also hung... it was just doing BLE scans and never connecting or reading chars.

    so, given the scanning only hangs, the only thing i can think of that could be causing this is one of these calls:
    BleDelegate.initialize();
    Ble.setDelegate(myBLEDelagate);
    Ble.registerProfile( _envProfileDef );

    i may try to undo any of these that can be in one more last-attempt (think i saw in the docs you can set one of these to null to undo it, i'll check docs again.)

    also interestingly, since the onSensor timeout method was added the hangs are happening consistently at the 42 hour mark:
    42 hours to hang
    42.667 hours to hang
    42.25 hours to hang
    42.6 hours to hang

    before that i also clocked hangs at 37 to 40 hours.

Comment
  • the last thing i could think of to try has also hung... it was just doing BLE scans and never connecting or reading chars.

    so, given the scanning only hangs, the only thing i can think of that could be causing this is one of these calls:
    BleDelegate.initialize();
    Ble.setDelegate(myBLEDelagate);
    Ble.registerProfile( _envProfileDef );

    i may try to undo any of these that can be in one more last-attempt (think i saw in the docs you can set one of these to null to undo it, i'll check docs again.)

    also interestingly, since the onSensor timeout method was added the hangs are happening consistently at the 42 hour mark:
    42 hours to hang
    42.667 hours to hang
    42.25 hours to hang
    42.6 hours to hang

    before that i also clocked hangs at 37 to 40 hours.

Children
No Data