I didn't find a documented method to trigger the bell sound by a connect iq code. Would be nice to tap on a datafield (area) to ring the bell - which would be easier and faster than the two taps which are needed actually.
I didn't find a documented method to trigger the bell sound by a connect iq code. Would be nice to tap on a datafield (area) to ring the bell - which would be easier and faster than the two taps which are needed actually.
Oh it can be heard (sometimes it is needed to press it two or three times) but it takes me two seconds or so to tap the screen AND hit the SMALL bell icon during a ride. It would be easier for me if a larger screen area would do this "bing".
Request: an Attention.TONE_BELL constant allowing to play this internal tone.
I made a datafield with multiple areas to control the backlight (show/hide light control, light on/off, next/previous light mode). This can be done during the ride without difficulties.
Off topic:
the best way to ring the bell is to use Garmin Edge Remote. You can assign the bell to one of the buttons.
The following would work fine - but the 'loud' beep is quietly compared to the 'real' beep tone.
PS: because the forum doesn't allow me to paste simple code, I'd to replace all '(' with '<<' and ')' with '>>' characters.
class BirdField extends Ui.DataField { }
class BirdTap extends Ui.BehaviorDelegate
{
function initialize<<>>
{
BehaviorDelegate.initialize<<>>;
}
function onTap<<ClickEvent>>
{
if <<<<ClickEvent.getCoordinates<<>>[1]<160>> && <<Attention has :playTone>>>>
{
for <<var i=0; i<5; i++>>
{ Attention.playTone<<Attention.TONE_LOUD_BEEP>>; }
/* Silence on Edge 1050
if <<Attention has :ToneProfile>>
{
var toneProfile =
[
new Attention.ToneProfile<<3000,250>>,
new Attention.ToneProfile<<4000,250>>,
new Attention.ToneProfile<<5000,150>>
];
Attention.playTone<<{:toneProfile=>toneProfile}>>;
}
*/
}
return true;
}
}
class BirdApp extends App.AppBase
{
function getInitialView<<>> { return [new BirdField<<>>, new BirdTap<<>>]; }
}
Or use an even cheaper bell: https://www.aliexpress.com/item/1005009233362510.html
even if it would, I don't think anyone but maybe you would hear it
Or use an even cheaper bell: https://www.aliexpress.com/item/1005009233362510.html
As a non-cyclist, I also wonder why a mechanical bell apparently isn't good enough for some cyclists, as it seems it would be better than an electronic bell in most ways.
But Garmin must've added this feature to newer Edges for a reason. There must be some demand for it.
And OP isn't the first person to ask if the "virtual bell" can be triggered via CIQ.