Loading...
Searching...
No Matches
wire_caps.g.h File Reference

Strip caps and marker values shared by the phone and the watch. More...

Go to the source code of this file.

Macros

#define STOCK_SLOTS_MAX   4
 How many tickers the watchlist strip carries.
#define STOCK_SYMBOL_LEN   12
 A watchlist label, 11 characters plus its terminator.
#define CALENDAR_SLOTS_MAX   6
 How many events the agenda strip carries.
#define CAL_TITLE_LEN   25
 An event title, 24 characters plus its terminator.
#define CAL_LOC_LEN   17
 An event location, 16 characters plus its terminator.
#define MUSIC_TEXT_LEN   33
 A now playing title or artist, 32 characters plus its terminator.
#define MUSIC_ART_SIDE_MAX   100
 How wide or tall now playing art can be, in pixels.
#define MUSIC_ART_COLOURS_MAX   16
 How many colours now playing art's palette can hold.
#define PHONE_NO_LEVEL   (-1)
 The phone's battery level for no reading.
#define WIRE_NO_PLUGIN   (-2)
 Sent in place of a plugin reading while nothing on the phone serves it.
#define WEATHER_FORECAST_COLS   8
 How many columns a forecast strip carries.
#define WEATHER_NO_TEMP   (-1000)
 A column with no reading, so the watch draws a placeholder.
#define WX_FORECAST_NIGHT_BIT   0x80
 Set on an hourly forecast code for a column after dark.
#define SETTINGS_REQUEST_FULL   1
 A settings request for the watch's whole snapshot.
#define SETTINGS_REQUEST_FRESH   2
 A settings request for only whether the watch booted empty.

Detailed Description

Strip caps and marker values shared by the phone and the watch.

Generated from the framework's ts/pkjs/wire.ts, so the phone and the watch read the same numbers.