fel
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class to represent an Allwinner USB request for a device in FEL mode.

Hierarchy

  • AwUsbRequest

Index

Constructors

constructor

  • Parameters

    • Optional data: Buffer

    Returns AwUsbRequest

Properties

Static magic

magic: Buffer = Buffer.from('AWUC', "ascii")

The Allwinner USB Request Magic (AWUC)

Methods

getCommand

getCommandLen

  • getCommandLen(): number
  • Returns number

getData

  • getData(): Buffer
  • Returns Buffer

getLen

  • getLen(): number
  • Returns number

getTag

  • getTag(): number
  • Returns number

setCommand

  • Parameters

    Returns void

setCommandLen

  • setCommandLen(commandLen: number): void
  • Parameters

    • commandLen: number

    Returns void

setLen

  • setLen(len: number): void
  • Parameters

    • len: number

    Returns void

setTag

  • setTag(tag: number): void
  • Parameters

    • tag: number

    Returns void

Static checkMagic

  • checkMagic(data: Buffer): boolean
  • Checks to make sure the input data contains the magic string

    Parameters

    • data: Buffer

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc