NIIMBOT packet object

Hierarchy (view full)

Constructors

Properties

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

Accessors

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

    Returns number

Methods

  • [0x55, 0x55, CMD, DATA_LEN, DA =//= TA, CHECKSUM, 0xAA, 0xAA]

    Returns Uint8Array