Suunto app Forum Suunto Community Forum
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    [Question] No stupid questions - ask anything here

    Scheduled Pinned Locked Moved Suunto Plus Development
    29 Posts 14 Posters 1.0k Views 14 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      SuuntoPartnerTeam @Isotop7
      last edited by SuuntoPartnerTeam

      @Isotop7 Good question! This is somewhat hidden in the documentation. You can respond to a lap button press using the onLap callback:

      function onLap(input, output) { ... }
      

      Also note that the lap button will work automatically, as long as you don’t override its user input handling.

      Automatic laps can be handled with the onAutoLap callback:

      function onAutoLap(input, output) { ... }
      
      1 Reply Last reply Reply Quote 1
      • Tomas5T Offline
        Tomas5 Gold Members
        last edited by Tomas5

        What are memory restrictions for different watch? How much memory can i use to allocate variables?

        To clarify, i want render graph for HR and Altitude, i will store value every second. Do i need to agregate or can i just store all values in array? For 24h event it would be around 200kB if i use Uint8Array.

        Of course i will do aggregation as it is not needed to store all values but i want to know how strict limits are.

        Suunto Ambit 2 > Suunto 5 > Suunto Race 2

        Dimitrios KanellopoulosD 1 Reply Last reply Reply Quote 0
        • Dimitrios KanellopoulosD Offline
          Dimitrios Kanellopoulos Community Manager @Tomas5
          last edited by

          @Tomas5 that will defo crash. It can be hard for computers as well and has 0 benefit storing 1s reso on 200px (or so for example) screen.

          You want to be storing max the pixels to show the data. And that is not much .

          Community Manager / Admin @Suunto
          Creator of quantified-self.io a portal that allows you to analyze your data from various providers, upload fit activity files to Suunto app, gpx routes and more…

          Tomas5T 1 Reply Last reply Reply Quote 0
          • Tomas5T Offline
            Tomas5 Gold Members @Dimitrios Kanellopoulos
            last edited by Tomas5

            @Dimitrios-Kanellopoulos i agree and that was “overkill” example but knowing hardware limitations can greatly improve how specific algorithm is done. And can prevent crashes cased by using all memory. Without this knowledge it is based only on trial and error which is not great.

            Maybe just some recommendations from dev team like don’t use more than 1kB of memory per Suunto Plus app at a time or something like that.

            I am thinking about 2 scenarios:

            1. Do just simple 45minute graph like native one.
            2. Do 15/30/60/full graph with changeable view by button

            But second one will require more memory. At least 4-5 times more than scenario one.

            And than second issue i want HR and Altitude and maybe some other graphs. Based on memory restrictions i can make single S+ with changeable view or multiple smaller S+ with just one value.

            Suunto Ambit 2 > Suunto 5 > Suunto Race 2

            1 Reply Last reply Reply Quote 0
            • surfboomerangS Offline
              surfboomerang
              last edited by surfboomerang

              @dimitrios-kanellopoulos, @suuntopartnerteam To upload the developed SuuntoPlus app the instructions state that you have to apply for the Suunto Partner Program.

              If I apply via this link: https://survey.alchemer.eu/s3/90553908/PARTNER-Become-a-Suunto-Partner it seems that it’s still aimed for companies rather than individuals. Is this the correct way to apply?

              Suunto Vertical Titanium Solar
              OnePlus Nord 4

              1 Reply Last reply Reply Quote 0
              • Tomas5T Offline
                Tomas5 Gold Members
                last edited by Tomas5

                I see in documentation that for getting data for graph i don’t need store anything and i can read

                Activity/Log/-1/Move/0/HeartRate/Avg/Data

                But it looks like it doesn’t work.

                And in section:

                In: Native resources in the watch
                I see that {Window} doesn’t support “Log” so which part of documentation is incorrect? Or do i understand something wrong?

                There is even Example with this Hearth Rate graph but seems it doesn’t work in simulator and in watch too. @suuntopartnerteam can you point me in correct direction? Thanks.

                Btw. Why sometimes in examples path to data start with / and sometimes not? Is it something like absolute and relative path?

                Suunto Ambit 2 > Suunto 5 > Suunto Race 2

                1 Reply Last reply Reply Quote 0
                • O Offline
                  orienteerdev
                  last edited by

                  Hi,

                  I have question related to input data of S+ app. I have an app idea where the S+ app is the core and handles the logic. However, it would need location points as input and these inputs could be user specific and/or exercise specific. Thus the S+ app would require a way to get that input data somehow such that users could provide it.

                  I tried to discover whether it would be possible to provide the input data using S+ Guides but I did not find any indications from SuuntoPlus Reference that it would be possible to access the json of S+ Guide. If that would be possible then S+ Guides could be created via Cloud API and would be available for S+ app via Suunto App.

                  Another option I thought was utilizing routes. However I couldn’t find a reference is it possible to access stored routes in S+ app. I.e. I do not want user to start navigation but just have access to location points of stored route.

                  TL/DR

                  • Is it possible to access S+ Guide (data) from S+ app?
                  • Is it possible to access stored routes from S+ app (without navigation enabled)?
                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    chus1962 @SuuntoPartnerTeam
                    last edited by

                    Hi!

                    • Windows 10 Pro 64-bit
                    • Suunto Race S

                    I can’t connect the watch to SuuntoPlus Editor (to Deploy to Watch), neither via USB nor via BT (after MobileApp > Forget to unpair the watch).

                    surfboomerangS P 2 Replies Last reply Reply Quote 0
                    • surfboomerangS Offline
                      surfboomerang @chus1962
                      last edited by

                      @chus1962 Is the “Discover” option enabled on your watch under connection settings?

                      Suunto Vertical Titanium Solar
                      OnePlus Nord 4

                      C 1 Reply Last reply Reply Quote 0
                      • A Offline
                        assaf1007
                        last edited by

                        Is there a documentation API ? i’m unable to find how to use current (accurate) HR as input (looked for “in” in manifest.json,couldn’t find…). i wish to try calculate HRV with statistics in real time & eventually use it/publish it.

                        (race2)

                        P 1 Reply Last reply Reply Quote 0
                        • C Offline
                          chus1962 @surfboomerang
                          last edited by chus1962

                          @surfboomerang Yes, of course. Perhaps the problem is with the USB Bluetooth device (Generic Bluetooth Adapter). But what about using a USB connection?

                          1 Reply Last reply Reply Quote 0
                          • brechtvbB Offline
                            brechtvb Bronze Member @Dimitrios Kanellopoulos
                            last edited by brechtvb

                            @Dimitrios-Kanellopoulos The documentation says:

                            *Current watch firmwares:

                            Suunto 3, Suunto 5, Suunto 5 Peak, Suunto 9, Suunto 9 Baro and Suunto 9 Peak

                            Support only one connection at a time.
                            ATT Maximum Transmission Unit (MTU) (i.e the maximum length of an ATT packet) is fixed to 23.
                            Suunto 9 Peak Pro, Suunto Vertical, Suunto Vertical 2, Suunto Race, Suunto Race S、Suunto Race 2、Suunto Ocean, Suunto Ocean Lite

                            Support two connections at a time.
                            ATT Maximum Transmission Unit (MTU) (i.e the maximum length of an ATT packet) is fixed to 127.*

                            This looks like a device-wide limit? Will this be improved?

                            This is a strong llimitation.

                            1 Reply Last reply Reply Quote 0
                            • U Offline
                              Unpaired8373
                              last edited by

                              I have a questions regarding the canvas element:
                              can I call a drawing function from main.js

                              1 Reply Last reply Reply Quote 0
                              • P Online
                                Pottu @chus1962
                                last edited by

                                @chus1962 I have had some connecting problems as well. I have Suunto Race and for me this worked:

                                1. Forget mobileapp from watch.
                                2. Connect watch to laptop with bluetooth.
                                3. Sometimes the watch show automatically connected in vscode. If not try with “Enable BLE Debug Logging” from Command Palette.
                                4. If still not connecting disconnect from laptop bluetooth and start again from start.
                                1 Reply Last reply Reply Quote 0
                                • P Online
                                  Pottu @assaf1007
                                  last edited by

                                  @assaf1007 Documentation can be found at least from vscode Command Palette: control + shift + p (or f1) and SuuntoPlus: Open Documentaton

                                  Input for heartrate would be like

                                  "in": [
                                    {
                                      "name": heartrate,
                                      "source": "/Activity/Move/-1/HeartRate/Current", 
                                      "type": "subscribe" 
                                    }
                                  ],
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  Suunto Terms | Privacy Policy