You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I would like to add support for sending data to the Bangle.js watch and am seeking guidance.
Bangle.js has a concept of "clockinfos" which are a kind of widget, containing some numeric or textual data and an icon, which can be displayed on any number of "clocks" (watchfaces).
I have written some alpha-quality "clockinfos" which display blood glucose, time since last reading, and would like to write a few more. I am sending data to the clockinfos in a roundabout way from xDrip+ -> Gluco Data Handler -> Tasker -> GadgetBridge. This has worked for prototyping, but the data is one-way and it is not ideal to require 3 apps in addition to xDrip+.
On the xDrip+ side, I would send a string like Bangle.emit("<event name>", {<event data>}) to the 'Nordic UART' Bluetooth LE service provided by the Bangle. I would also like to be able to snooze xDrip alarms from the watch via button press.
Looking over the xDrip codebase, I do see there is some prior art for Nordic UART connection (CGM). And I see there is support for various smart watches. I have some experience with Android development but it's not my forte.
What recommendations do you have for getting started? Would one of the smart watch integrations be better to use as a reference?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I would like to add support for sending data to the Bangle.js watch and am seeking guidance.
Bangle.js has a concept of "clockinfos" which are a kind of widget, containing some numeric or textual data and an icon, which can be displayed on any number of "clocks" (watchfaces).
I have written some alpha-quality "clockinfos" which display blood glucose, time since last reading, and would like to write a few more. I am sending data to the clockinfos in a roundabout way from xDrip+ -> Gluco Data Handler -> Tasker -> GadgetBridge. This has worked for prototyping, but the data is one-way and it is not ideal to require 3 apps in addition to xDrip+.
On the xDrip+ side, I would send a string like
Bangle.emit("<event name>", {<event data>})
to the 'Nordic UART' Bluetooth LE service provided by the Bangle. I would also like to be able to snooze xDrip alarms from the watch via button press.Looking over the xDrip codebase, I do see there is some prior art for Nordic UART connection (CGM). And I see there is support for various smart watches. I have some experience with Android development but it's not my forte.
What recommendations do you have for getting started? Would one of the smart watch integrations be better to use as a reference?
Beta Was this translation helpful? Give feedback.
All reactions