NIIMBOT packet object with CRC32 checksum. Used in firmware process.

Hierarchy (view full)

Constructors

Properties

_data: Uint8Array
HEAD: Uint8Array = ...
TAIL: Uint8Array = ...

Accessors

  • get checksum(): number
  • Calculate CRC checksum from command and data

    Returns number

  • get dataLength(): number
  • Data length (header, command, dataLen, checksum, tail are excluded).

    Returns number

Methods