forked from Blendman974/faceclaw
Refactor: g2flash protocol doesn't have so many magic numbers
This commit is contained in:
1 parent
306accf06d
commit
ea9bfae6af
22 files changed
+231
-99
No files matched your search
@@ -0,0 +1,36 @@
|
||||
/** 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_TYPE_MASK = 127
|
||||
export const CFW_MSG_FLAG_LENSES_DIFFER = 128
|
||||
Reference in new issue
Block a user