Nanaloveyuki/madk/transport does not have a README file
pub(open) trait UsbTransport {
fn info(Self) -> DeviceInfo raise TransportError
fn control(Self, ControlTransfer, Int) -> Bytes raise TransportError
fn bulk_write(Self, Int, Bytes, Int) -> Int raise TransportError
fn bulk_read(Self, Int, Int, Int) -> Bytes raise TransportError
fn close(Self) -> Unit raise TransportError
}fn ControlTransfer::in_request(request_type~ : Int, request~ : Int, value~ : Int, index~ : Int, length~ : Int) -> ControlTransfer raise TransportErrorfn ControlTransfer::out_request(request_type~ : Int, request~ : Int, value~ : Int, index~ : Int, data~ : Bytes) -> ControlTransfer raise TransportErrorfn DeviceInfo::new(vendor_id~ : Int, product_id~ : Int, bulk_in_endpoint~ : Int?, bulk_out_endpoint~ : Int?) -> DeviceInfo raise TransportErrorInstall
Download zipTransport-independent Android Open Accessory protocol support for MoonBit.