[Question] No stupid questions - ask anything here
-
@surfboomerang i’m using data.json and may use its values inside the .js file
but i wish to be able to set values at the watch itself (if possible), not at vsCode or suuntoplus app.
imagine a co2 table (for freedive practice) where user must set specific personal values.- in such case, i need (= user need) some kind of a preliminary UI (before app starts) to be able to update settings…
-
@Dimitrios-Kanellopoulos Hello, should the BLE-connection system in the SDK also work in the simulator on windows?
-
@brechtvb no BLE works only on the physical wacth
-
@suuntopartnerteam or others, I have a few questions:
- type=“subscribe-when-shown” in an eval.
– Is it more efficient when the related subscribed information is not displayed?
– Can I overcome the 10 inputs limit using this? Considering I won’t display more than ±7 inputs at the same time.
– Do I still need to mention the related input in the manifest?
1bis. I am considering to make some fields to be displayed configurable which means that based on configuration, one input or the other will be used. How to overcome the 10 inputs limit in such a case?
- I do not find the setting to enable touch screen on Suunto Race S. It is also disabled in menu to select end of workout.
Thanks.
- type=“subscribe-when-shown” in an eval.
-
Hi, I tried to get offline maps data from some Caribbean islands but I cannot get them from the maps download. I was looking for st. Maarten or Saba for example. Can these maps be added to download please? They are visible on the maps itself, but not as offline map.
-
Does anyone tried to display array of values in <graph> element? I tried output array as variable and show it in graph using get compilation type but i am not suceasfull yet.
-
I try to get thedistance, bearing and coordinates of a POI
For the distance I use “/Navigation/Poi/Active/Distance” which indeed returns the distance.
For coordinates I try to use “/Navigation/Targetlocation/Coordinates”. This works in the simulator but no results on the watch
For bearing I use “/Navigation/Targetlocation/Bearing” which is undocumented, but suggested by the intellisense. This one also doesn’t report any values.Is it possible to get the bearing and coordinates of a selected POI?
-
@assaf1007 You are using two different strings for
getObjectandsetObject.This should be a minimal working example which pushes
settings.activeup by 1 whenever you start an exercise:var settings = null; function onLoad(input, output) { settings = { maxPace: 12, timelapse: 123, active: 0, }; loadSettings() } var loadSettings = function () { var loaded = localStorage.getObject("appSettings"); if (loaded != null) settings = loaded; // else localStorage.setObject("appSettings", settings); settings.active++; localStorage.setObject("appSettings", settings); }; function evaluate(_inp, _out) { setText("#active", String(settings.active)) } function getUserInterface() { return { template: 't' }; }and the html:
<uiView> <div> <div id="active" class="p-m"> 0 </div> </div> </uiView>So:
but i wish to be able to set values at the watch itself (if possible) … in such case, i need (= user need) some kind of a preliminary UI (before app starts) to be able to update settings…
Possible indeed! The ‘tennis score pro’ application has a start screen which saves the settings for the next time.
-
@suuntopartnerteam maybe not a stupid question, but is it possible to add two icons (a left and right arrow) to the f-ico classes in the style of F266 and F267? I was looking for something similar, but I wasn’t able to find it so I’ve just used F394 and F402 for now.
-
Hi everyone,
I have a quick question regarding BLE connectivity that might save me (and hopefully others) some time and unnecessary experimentation.
I’m currently working on a small add-on that retrieves and displays data from an external third-party device via BLE. Thanks to the documentation, I’ve already built a basic prototype that proves the core concept works.
However, I’ve hit a roadblock: the external device requires a PIN to establish a secure Bluetooth connection. When testing with devices that don’t require a PIN, the connection works flawlessly.
My issue is that I cannot find any mention in the documentation on how to explicitly handle PIN entry during the pairing process.
Does the current Suunto SDK support manual PIN entry pairing? If so, could someone point me toward the right methods or a code snippet?
Any insights would be greatly appreciated!