All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups
WatchInfo

Detailed Description

Provides information about the watch itself.

This API provides access to information such as the watch model, watch color and watch firmware version.

Function Documentation

WatchInfoColor watch_info_get_color ( void  )

Provides the color of the watch.

Returns
WatchInfoColor representing the color of the watch.
WatchInfoVersion watch_info_get_firmware_version ( void  )

Provides the version of the firmware running on the watch.

Returns
WatchInfoVersion representing the version of the firmware running on the watch.
WatchInfoModel watch_info_get_model ( void  )

Provides the model of the watch.

Returns
WatchInfoModel representing the model of the watch.

Data Structure Documentation

struct WatchInfoVersion

Data structure containing the version of the firmware running on the watch. The version of the firmware has the form X.[X.[X]]. If a version number is not present it will be 0. For example: the version numbers of 2.4.1 are 2, 4, and 1. The version numbers of 2.4 are 2, 4, and 0.

Data Fields
uint8_t major Major version number.
uint8_t minor Minor version number.
uint8_t patch Patch version number.

Enumeration Type Documentation

The different watch colors.

Enumerator
WATCH_INFO_COLOR_UNKNOWN 

Unknown color.

WATCH_INFO_COLOR_BLACK 

Black.

WATCH_INFO_COLOR_WHITE 

White.

WATCH_INFO_COLOR_RED 

Red.

WATCH_INFO_COLOR_ORANGE 

Orange.

WATCH_INFO_COLOR_GREY 

Grey.

WATCH_INFO_COLOR_STAINLESS_STEEL 

Stainless Steel.

WATCH_INFO_COLOR_MATTE_BLACK 

Matte Black.

WATCH_INFO_COLOR_BLUE 

Blue.

WATCH_INFO_COLOR_GREEN 

Green.

WATCH_INFO_COLOR_PINK 

Pink.

The different watch models.

Enumerator
WATCH_INFO_MODEL_UNKNOWN 

Unknown model.

WATCH_INFO_MODEL_PEBBLE_ORIGINAL 

Original Pebble.

WATCH_INFO_MODEL_PEBBLE_STEEL 

Pebble Steel.