Skip to content

连续读取数据 #6

@guchainews

Description

@guchainews

大神,能否写一个连续读取数据的DEMO。我照着https://github.com/anotherlab/UsbSerialForAndroid写了一个,使用的是 Dispatcher.UIThread while(true) { step() } ,但是只能读一次数据,第二次就报错: "Read failed,Result:-1,Address:132,Direction:In,EndpointNumber:4,Type:XferBulk,MaxPacketSize:64,Buffer:,Offset:0,Length:2048,Timeout:10000"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions