Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Andrey Sidorov
    @sidorares
    but not write and read at the same time?
    Scott McWhirter
    @konobi
    yup
    and then usb has maximum chunk sizes too, so you have to follow that rule too
    Andrey Sidorov
    @sidorares
    what do you mean by protocol? afaik I was able to write and read simultaneously over tcp
    I wish some library handle all this complexity
    Scott McWhirter
    @konobi
    tcp you can, usb you can't
    Andrey Sidorov
    @sidorares
    ok :)
    Scott McWhirter
    @konobi
    though it can also depend on the mode being used
    shouldn't be too tricky though
    you can put duplex streams into readable/writeable mode fairly easily
    Andrey Sidorov
    @sidorares
    hey @konobi how are you? I'm finally with android 4.4.2 phone and very keen to look at your usb code again
    Had an attempt yesterday and it failed with some libusb exception
    Scott McWhirter
    @konobi
    howdy
    yeah... the usb code is suffering from being full-duplex rather than half-duplex
    I believe that's the only real stickling point
    Scott McWhirter
    @konobi
    @sidorares that make any sense?
    Andrey Sidorov
    @sidorares
    so do I need to make it half duplex?
    Scott McWhirter
    @konobi
    yup
    Andrey Sidorov
    @sidorares
    ok, I'll try to hack in that direction
    Scott McWhirter
    @konobi
    yeah... usb is a tricksy protocol
    Callum Styan
    @cstyan
    @sidorares have you tried your TCP implementation on linux and osx?
    Andrey Sidorov
    @sidorares
    Hi! Yes, I have
    Callum Styan
    @cstyan
    Okay, I’ve got usb working, still in a semi hardcoded state but it’s progress
    Andrey Sidorov
    @sidorares
    great. I'd like to try
    Callum Styan
    @cstyan
    the code will be up later, but I’ve started some ADB documentation stuff here https://github.com/cstyan/adbDocumentation
    Scott McWhirter
    @konobi
    @cstyan where/hard/whatwhat
    Andrey Sidorov
    @sidorares
    oh. Missed that documentation
    Callum Styan
    @cstyan
    :)