UsfaPortList

"Usb Serial For Android" port-listing class.

Parameters

c

Context

Constructors

Link copied to clipboard
constructor(c: Context)

Properties

Link copied to clipboard
val c: Context

Functions

Link copied to clipboard
open override fun get(productId: Int, vendorId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided vendor and product ID.

open override fun get(): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine.

Link copied to clipboard
open override fun getByProductId(productId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided product ID.

Link copied to clipboard
open override fun getByVendor(vendorId: Int): List<ISerialPortWrapper>

Retrieves a list of serial ports on the target machine which match the provided vendor ID.