Files
faceclaw/app/g2/cfw-message-type.ts

39 lines
1.6 KiB
TypeScript

/** Message IDs and header flags mirror g2flash/patches/zlib_glue.c. */
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_BOUNDING_BOX = 3
export const CFW_MSG_BUZZER = 5
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_FULL_FRAME = 6
export const CFW_MSG_DIAGNOSTICS = 7
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_MULTI_SEGMENT = 8
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_RECT_COPY = 9
export const CFW_MSG_COMPASS = 10
export const CFW_MSG_CLEANUP = 11
export const CFW_MSG_RETIRED_12 = 12
export const CFW_MSG_RETIRED_13 = 13
export const CFW_MSG_RETIRED_14 = 14
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_STOCK_FONT_STRING = 15
export const CFW_MSG_AMBIENT_LIGHT = 16
export const CFW_MSG_RING_BATTERY = 17
export const CFW_MSG_RETIRED_CACHE_WRITE = 18
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_CACHED_IMAGE = 19
/** Retired wire ID; used internally by the phone optimizer. */
export const CFW_MSG_CACHED_TEXT = 20
export const CFW_MSG_UPLOAD_RESOURCE = 21
export const CFW_MSG_EVICT_RESOURCE = 22
export const CFW_MSG_PANEL_READ = 23
export const CFW_MSG_PANEL_WRITE = 24
export const CFW_MSG_PANEL_PATTERN = 25
export const CFW_MSG_DRAW_CALLS = 26
export const CFW_MSG_SET_ROOT_DISPLAY_LIST = 27
export const CFW_MSG_PRESENT = 28
export const CFW_MSG_CREATE_SURFACE = 29
export const CFW_MSG_BRIGHTNESS = 30
export const CFW_MSG_ENTER_EVENHUB = 31
export const CFW_MSG_TYPE_MASK = 127
export const CFW_MSG_FLAG_LENSES_DIFFER = 128