Search found 6 matches

by ligi
Sun Nov 04, 2012 6:09 am
Forum: UNIX and Linux Discussion Forum
Topic: Android support
Replies: 20
Views: 218475

Re: Android support

I tried a lot of parameter-combinations to send 0x04, 0x01 with controlTransfer, but I cannot get this LED to light up - either I am doing something totally wrong or the LED is broken ;-(
by ligi
Fri Nov 02, 2012 2:48 am
Forum: UNIX and Linux Discussion Forum
Topic: Android support
Replies: 20
Views: 218475

Re: Android support

there is one other way to write to the device:

Code: Select all

mDeviceConnection.controlTransfer(requestType, request, value, index, buffer, length, timeout)
but then I am not sure what requestType and request are supposed to be
by ligi
Thu Nov 01, 2012 5:04 pm
Forum: UNIX and Linux Discussion Forum
Topic: Android support
Replies: 20
Views: 218475

Re: Android support

intf.getEndpointCount() returns 1 and this is UsbConstants.USB_DIR_IN - how can I send to the Device?
by ligi
Thu Nov 01, 2012 4:57 pm
Forum: UNIX and Linux Discussion Forum
Topic: Android support
Replies: 20
Views: 218475

Re: Android support

thanks for the hint with 0x04 0x01, but I cannot find an endopoint to write to (ep.getDirection() == UsbConstants.USB_DIR_OUT)
by ligi
Sat Oct 27, 2012 4:33 am
Forum: UNIX and Linux Discussion Forum
Topic: Android support
Replies: 20
Views: 218475

Re: Android support

@ngomes: thanks - I just updated the link @jwick @ngomes - will post a link to the videos once they are uploaded - we recorded with a HD-Cam - some small phone-videos are already in this stream: https://plus.google.com/u/0/events/c6dp6cucjo43rbp6ncpufftkqtk - but I would wait for the HD-Videos PS: a...
by ligi
Mon Oct 22, 2012 1:30 pm
Forum: UNIX and Linux Discussion Forum
Topic: Android support
Replies: 20
Views: 218475

Re: Android support

just wanted to say thanks for the Question and the provided code snipped - used that at a hackathon to control a AR.Drone with a SpaceNavigator attached to a Nexus 7 - you can find the source here: https://github.com/ligi/SpaceAR.Drone and some more info here: https://docs.google.com/presentation/d/...