ConstReadonlyCALENDAR_LOC_MAX: 16How long an event location can be, in characters.
ReadonlyCALENDAR_SLOTS_MAX: 6How many events the agenda strip can carry.
ReadonlyCALENDAR_TITLE_MAX: 24How long an event title can be, in characters.
ReadonlyFORECAST_COLS_MAX: 8How many columns a forecast strip can carry. The watch re-clamps the count anyway, so slicing here just keeps the count byte honest and the packer in step with the other two.
ReadonlyFORECAST_NO_TEMP: -1000A forecast column with no reading ships this marker so the watch draws a placeholder.
ReadonlyMUSIC_ART_COLOURS_MAX: 16How many colours now playing art's palette can hold, which is all a 4-bit pixel can name.
ReadonlyMUSIC_ART_SIDE_MAX: 100How wide or tall now playing art can be, in pixels, so the largest still fits a watch's inbox.
ReadonlyMUSIC_TEXT_MAX: 32How long a now playing title or artist can be, in characters.
ReadonlyNO_PLUGIN_MARKER: -2Sent in place of a plugin reading while nothing on the phone serves it, so the watch can tell a missing plugin from a reading still to come. The phone's battery carries it as its level, and now playing as its playing flag.
ReadonlyPHONE_NO_LEVEL: -1The phone's battery level for no reading, such as before the plugin's first update.
ReadonlySETTINGS_REQUEST_FRESH: 2A settings request for only whether the watch booted with nothing saved.
ReadonlySETTINGS_REQUEST_FULL: 1A settings request for the watch's whole snapshot, to seed the settings page from.
ReadonlySTOCK_LABEL_MAX: 11How wide a watchlist label is, in characters.
ReadonlySTOCK_SLOTS_MAX: 4How many tickers the watchlist strip can carry.
Every cap and marker value the two sides of a strip have to agree on.
The watch reads these back out of
c/core/wire/wire_caps.g.h, whichnpm run build:conditionswrites from this table. They are the numbers a decode is bounds-checked against, so a pair that drifted would truncate a strip or refuse a whole message with nothing to show for it.A text cap here counts characters. The C side gets that plus one, because its buffer has to hold a terminator as well.