AnotherStranger
Member since May 2023 • Last active Jun 2023Most recent activity
-
On Bangle.js 2v18 firmware you can actually use Advertising and request it to keep advertising even while the Bangle is connected, so that could be an option - but Web Bluetooth's handling of scanning for Advertising isn't available on as many platforms as Web Bluetooth connections .
Does this mean that calling setAdvertising would suffice on 2v18?
Can I advertise complex objects the same way i would using setServices? -
Hey there I got your example working using following code:
NRF.setServices({ 0x180D: { // heart_rate 0x2A37: { // heart_rate_measurement notify: true, value : [0x06, 0], } } }, { advertise: [ '180D' ] }); Bangle.setHRMPower(1); Bangle.on('HRM', function(hrm) { NRF.updateServices({ '180d': { '2a37': { value: [0x06, hrm.bpm], notify: true } } }); });
With this code, I could see the heart rate inside the nRF connect app as well as in FitoTrack for Android. However, I got two problems to solve: First, setServices requires a BLE restart. Secondly, if the device is already connected to e.g. gadgetbridge it is not discoverable except when I trigger it within the bluetooth settings.
-
Yeah, I found this one, too.
However, it seems to be not that trivial as in my (very narrow) understanding of this issue, someone wanted to do exactly this in this Thread: https://forum.espruino.com/conversationsÂ/387132/#comment17001076 -
My idea was to scan for the log files of the recorder app and parse them into activities. For this to work, gadgetbridge would need to pull and parse these files from the watch. However, I have no experience with Banglejs programming, so I don't know whether that's possible.
Another alternative would be to expose the HRM sensor as smart Heart rate measurement device.
-
Hello there,
I've recently gotten my hands on a BangleJs 2 smartwatch and have been thoroughly enjoying exploring its cool features. However, I have a couple of questions that I'm hoping the knowledgeable folks in this community can help me with.
First off, I'm curious to know if it's possible to tap into the heart rate monitor (HRM) sensor data on the BangleJs 2 smartwatch via apps like OpenTracks using Gadgetbridge. Having access to this data within external applications would be super handy for tracking and monitoring my physical activities.
On another note, I'd love to know if the BangleJs 2 smartwatch plays nice with displaying recorded activities within Gadgetbridge. Specifically, I'm eager to find out if I can view and analyze my sports activities or workouts right within the Gadgetbridge interface. I stumbled upon this link (https://codeberg.org/Freeyourgadget/GadgÂetbridge/wiki/Sports-Activities-WorkoutsÂ) which provides some interesting insights into the sports activities and workouts features in Gadgetbridge. If the BangleJs 2 smartwatch can seamlessly integrate with Gadgetbridge for these features, it would be an absolute game-changer, offering me a convenient and comprehensive overview of my progress.
Any input on how I can achieve this goal or get similar results is highly appreciated ;-).
Thank you very much!
Sorry for the confusion! I want to advertise this object in order to comply to the standard: