Reads the Goal Met Vibration pick, and turns a comma list of milliseconds into a rhythm the watch can buzz. More...
#include <stdint.h>Go to the source code of this file.
Enumerations | |
| enum | GoalVibeKind { GOAL_VIBE_KIND_NONE , GOAL_VIBE_KIND_SHORT , GOAL_VIBE_KIND_LONG , GOAL_VIBE_KIND_DOUBLE , GOAL_VIBE_KIND_CUSTOM , GOAL_VIBE_KIND_LIST } |
| What a Goal Met Vibration pick plays. More... | |
Functions | |
| GoalVibeKind | goal_vibe_pattern_kind (const char *pick) |
| What a pick plays, read from its first character. | |
| int | goal_vibe_pattern_parse (const char *text, uint32_t *out, int capacity) |
| Reads a list of milliseconds such as "100,80,300" into the caller's buffer. | |
Reads the Goal Met Vibration pick, and turns a comma list of milliseconds into a rhythm the watch can buzz.
The tune comes from the settings page, not the watch. The pick is a short string: empty for None, one letter for a plain pulse (S, L, or D), C for the wearer's own pattern, or a comma list of milliseconds for a fanfare. So the watch carries no tune tables of its own.