Constructors

  • Parameters

    • sendRaw: XmodemProps

    Returns Xmodem

Properties

counter: number
rxBuffer: Uint8Array[]
sendRaw: XmodemProps
textEncoder: TextEncoder
txBuffer: Uint8Array[]

Methods

  • Returns void

  • Parameters

    • filename: string

    Returns Promise<number>

  • Parameters

    Returns Promise<number>

  • Parameters

    • command: XModem_Control
    • Optional buffer: Uint8Array
    • Optional sequence: number
    • Optional crc16: number

    Returns Promise<number>

  • Parameters

    • filename: string
    • data: Uint8Array

    Returns Promise<number>

  • Parameters

    Returns boolean

Generated using TypeDoc