export const START_UPDATE_MESSAGE = new Uint8Array([
  0x4f, 0x6e, 0x65, 0xff, 0x46, 0x57, 0x55, 0xff,
]) // One FWU

export const HEADER_MESSAGE = new Uint8Array([
  0x4f, 0x6e, 0x65, 0xff, 0x00, 0x00, 0x00, 0x00,
])

export const UPDATE_READY_TO_START = new Uint8Array([
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4f, 0x6e, 0x65, 0x0, 0x11, 0xff,
  0xf0, 0x5a,
])
export const UPDATE_FAIL_CORRUPT = new Uint8Array([
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4f, 0x6e, 0x65, 0x0, 0x11, 0xff,
  0xf1, 0x5b,
])
export const UPDATE_FAIL_FILE_SIZE = new Uint8Array([
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4f, 0x6e, 0x65, 0x0, 0x11, 0xff,
  0xf2, 0x58,
])
export const UPDATE_FAIL_TIMEOUT = new Uint8Array([
  0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x4f, 0x6e, 0x65, 0x0, 0x11, 0xff,
  0xf3, 0x59,
])