Avatar for user113695

user113695

Member since Jun 2020 • Last active Oct 2021
  • 6 conversations
  • 15 comments

JavaScript novice and tinkerer.

Most recent activity

  • in Bangle.js
    Avatar for user113695

    Perhaps one further clarification: the app currently only reads the 'speed' portion of the data sent by the sensor, I wonder if that is somehow related to your problem... Is there a way to set the sensor to 'speed only' mode?

  • in Bangle.js
    Avatar for user113695

    Hi,
    I am the author of the app. Unfortunately I am spread a little thin at the moment and will not be able to debug this in detail in the next few days (but will hopefully get to it eventually).
    I have tested the app with two different sensors, a Wahoo brand sensor and a no-name sensor from a China direct import website (I don't have access to the latter right now, so I can't check on the exact name or make). Both worked without any special tweaks, so I am not sure what is going on here.
    That being said, I will have to work on the app anyways to adapt it to the new Bangle 2 layout. I will also try to source a Bk805 sensor to see if I can test it out...
    Marko

  • in Bangle.js
    Avatar for user113695

    Looks like you have an extra comma "," after the last closing curly bracket in your apps.json file and you are missing a final closing square bracket "]".

  • in Bangle.js
    Avatar for user113695

    Great, that sounds very useful.
    How do you generate the agps data to be uploaded - I briefly looked at your HTML file, is this something you process server-side every day? Looks like the binary files in http://www.espruino.com/agps are all time-stamped sometime yesterday.
    Marko

  • in Bangle.js
    Avatar for user113695

    Hi,
    Is the graphics frame buffer on the Bangle memory-mapped and accessible from within JS? Or is data transferred in chunks to the LCD controller via SPI?
    Thanks,
    Marko

  • in Bangle.js
    Avatar for user113695

    Thanks for adding the compiler flags, it works beautifully. I put in a pull request for the app to be added to the app loader.

  • in Bangle.js
    Avatar for user113695

    Hi,
    This is a bit of an app-store policy question:
    I wrote an STL viewer app (STL is a relatively simple file format for representing 3d models and is often used in the hobbyist 3d printing realm). The app can read ASCII formatted STL files and displays a shaded 3d view of its contents that can be rotated around on the watch screen (see attached image).
    I concede this is probably not the most useful app for a smartwatch, but perhaps it is still worth adding to the app store.
    However, to get even marginally useful framerates for all but the very simplest models, I ended up doing a lot of the linear algebra and data manipulations in inline C using 32 bit floats and the processor's FPU (thanks to @fanoush for figuring out how to do that). For the FPU code to compile I had to host my own local Espruino compiler.
    Therefore, in order for others to install the app on their watch the app store version would have to contain a binary blob of the compiled routines (encapsulated in a base64 string). Obviously I would provide the C code as well, but it would be much harder for the casual user to play around with the code than with a strictly JS-only app.
    Any thoughts on this?
    Thanks,
    Marko

Actions