sdkmanager 1.0.4 + sim + Forerunner 245 still doesn't have the new System 5 functions

I installed sdk manager 1.0.4, downloaded SDK 4.1.1 and set as default. I compiled my test app with minApiLevel="3.3.0" to match what I have in the physical device and ran it on the simulator on FR245. Unfortunately I still get the following error message when I get to Toybox.SensorHistory.getBodyBatteryHistory({}) :

"The currently running device does not support this function. Please see if there is a device update in the Connect IQ SDK Manager."

  • OK, I don't know why it didn't work. I had to stop the simulator again, then open sdkmanager, change back to SDK 4.0.10 (BTW I also deleted the 4.1.0-beta), then to 4.1.1 again, and then opening the simulator finally worked. For some reason previously I still had 4.1.0-beta in the simulator. 

  • It works fine with the 4.1.1 SDK and a fr245 target.  If it doesn't for you, close the sim, maybe restart vscode if you get dew devices, or set a new SDK.  The sim is very much tied to the SDK.  Here's my test app on the fr245, showing bb (body battery) and st (stress), including the number of samples and the min-max