Android Things- Pico i.MX7 USB port data accessing directly From flash drive - android-things

My doubt about Android The Pico Pro kit (Pico i.MX7 Dual development board).For my project in want access the external data files,so i preference to use the USB port on the board. It is possible to copy or move file from flash drive to internal memory using USB port .But I need directly need to access the files from flash drive(Pen drive) .
Is it possible!
If any one know help me....

Related

iOS application using USB MSC or MTP(Mass Storage or Media Transfer Protocol)

currently I'm considering the iOS application like below,
Application:
Using the lightning USB3 camera adapter, by MSC(Mass Storage Class) or MTP(Media Transfer Protocol),
browse and copy files from devices which have USB connector to iPhone.
Lightning USB3 camera adapter
http://www.apple.com/jp/shop/product/MK0W2AM/A/lightning-usb-3カメラアダプタ
I asked Apple, with TSI(Technical Support Incident) for creating such iOS application, and they said iOS SDK doesn't support MSC / MTP.
By using Apple's USB Host Adapter(Lightning USB3 Camera Adapter), is there any way to create application to browse files in connected device by USB cable with MSC or MTP ?
I'd appreciate if you would answer the questions or give me some information.
Thank you.

ASCII code on an external device through USB port

Is it possible to send an ASCII code on an external device through USB port using IOS API? I assume that it is possible through bluetooth connection, but I'm not sure through USB connector. Any thoughts?
I would appreciate if someone could put me in the right direction.
Thanking you in advance
That largely depends on the level of sophistication of this "external device". If this external device is just a bare metal embedded device without some sort of operating system you definitely need MFI.
Otherwise, you can run a usbmuxd server (e.g. on Raspberry PI with Linux) to establish a connection via USB. Usbmuxd is basically the technology that Apple uses to communicate between iOS devices and Desktop apps such as iTunes or Xcode. And yes, it is App Store compliant, e.g., Duet Display uses this approach to make an iPad a secondary display for your Desktop via USB.
There are several open source libraries that provide a high level API, e.g., PeerTalk or DarkLightning.

Ios filesharing without iTunes or an internet connection

I am working on developing an enterprise application for ios 7 that needs to work offline and then sync with a desktop client (that I also need to write) for data transfer.
My company does not allow wireless or cell data in this area, and would strongly prefer to not use iTunes either.
The question is, how do you transfer data from an iPad over the usb cable to a custom windows program, without iTunes.
The simplest answer would be: iExplorer (http://www.macroplant.com/iexplorer/) plus some kind of a script to automate the data sync.
Otherwise, you can use the ExternalAccessory framework to communicate with the desktop via a USB tether. This would necessitate a desktop client running simultaneously to communicate with the device.
peertalk (https://github.com/rsms/peertalk) does what you want, however the computer side library is only for mac os. Maybe you can port the protocol to windows by looking at that (the license is BSD)
Edit: this guy managed to have it run under linux. It sits on usbmuxd, which also has a windows port, so it shouldn't be impossible.

usb printer and stm32F4 host communication

I want to interface my printer with my stm32F407VGT6 board, and I don't know which usb driver library to choose (OTG/DEVICE/HOST).
I want to send / receive microcontroller commands to the printer.
thank you in advance :).
You can either use the USB host library, or the OTG (On The Go) library which allows you to be host or device. You should also take care that you are using the right library for your chip.

Simulate a USB flash drive with PC

I have a peculiar question.
The case is that I have a TV that can use as source a USB flash drive for playing movies.
Do you think it would be possible to directly connect a PC and the TV USB to USB and using some software interface to determine the PC to act like a flash drive.
I think it can be done with a hardware driver, but I'm wondering if it can be done without that.
No, you can't, not even by writing a new driver.
A flash drive is a USB device, but your computer has only USB host ports. There's different circuitry needed in a device vs. a host (there are circuits that can do both, called USB on-the-go, but those are only found in peripherals).
Actually, you can - kind of.
http://www.eye.fi
This is a special adapter with a Wi-Fi adapter built in that allows you to connect to a computer (or the Internet).
Not quite what you asked but the effect is similar.

Resources