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_MAX_SLOTS   STOCK_SLOTS_MAX
 The old name for STOCK_SLOTS_MAX, deprecated.
#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 CALENDAR_MAX_SLOTS   CALENDAR_SLOTS_MAX
 The old name for CALENDAR_SLOTS_MAX, deprecated.
#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 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.