Replies: 5 comments 3 replies
-
Hi @ricfor, and welcome to the repo! Run on Android as a native appYou can’t really access native functionality from PWAs, they remain web apps, but with the ability to install on Home Screen and cashe resources for offline use. This ability is present in the current code, but it is disabled. Learn PWAAssuming you already know HTML, CSS and Javascript, this is a good place to start: https://web.dev/learn/pwa/ Work with BLE and ANT+ devicesHere are some resources for Web-bluetooth: A guide: https://developer.chrome.com/articles/bluetooth/ While Web-bluetooth is a standart thing, WebANT+ is just a personal project of mine. In 2021 Google shipped into Chrome Web Serial API, which along with the Web USB API, made communicating with ANT+ USB dongle from a web page possible. While my project has big chunks of the ANT+ protocol implemented it remains a prove of concept. I am currently stuck on a bug, where the connection stops reading every 4 minutes, and then resumes after another 4 minutes, and keeps repeating. I am not systems engineer and writing low level USB code goes a bit over my head. I tried reading the USB spec, but that thing is pretty big. If you have any experience with this kind of stuff it would be great if you can help. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Web-bluetooth requires https, getting an error at requestDevice looks like this could be the issue. If you decide to make the app is installable on your fork, which will also get you offline use, here are the steps:
|
Beta Was this translation helpful? Give feedback.
-
Yeah, sure. You will need to add so that it becomes:
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to run Flux into an Android device as a native app ?
Where I can find resource to learn PWA in order to work with BLE and ANT+ devices ?
For example I need to control oder devices or change some visualizations, add translations etc.
Congratulations for your excellent work.
I paired Flux with my Elite Suito trainer and Wahoo HRM and seems OK.
Tomorrow I want to try to pair Assioma Pedals and check a workout.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions