High-level Nim wrapper for Pebble Watch Info API.
Provides information about the watch hardware and firmware.
Procs
proc color(): WatchInfoColor {.inline, ...raises: [], tags: [], forbids: [].}
- Get the watch case color. Equivalent to C function watch_info_get_color(). Source Edit
proc firmwareVersion(): tuple[major: uint8, minor: uint8, patch: uint8] {. inline, ...raises: [], tags: [], forbids: [].}
- Get the firmware version as a tuple (major, minor, patch). Equivalent to C function watch_info_get_firmware_version(). Source Edit
proc isColorPlatform(): bool {.inline, ...raises: [], tags: [], forbids: [].}
- Check if running on a color-capable platform. Source Edit
proc model(): WatchInfoModel {.inline, ...raises: [], tags: [], forbids: [].}
- Get the watch model (e.g. WatchModelBasalt, WatchModelChalk). Equivalent to C function watch_info_get_model(). Source Edit