08-14-2009 12:39 PM
I'm looking for a way to use the BB's USB to communicate with an Arduino Board (run by a microcontroller) that supports UART communication. So what I need is a very low level communication with such device.
I don't need all the USB stuff (channel registration blah blah). Just a simple "wait for incoming bytes until carriage return" that then I can print on screen. And also I'll put the device in "listening mode" and I'll need the BB to send a simple stream of bytes.
Is it possible?
08-19-2009 10:20 AM
The BlackBerry USB APIs are designed to work with the BlackBerry USB driver found on a PC and makes use of higher level communication (channels, etc). There are no low level USB APIs.
An option could be to plug a Bluetooth adapter into your USB port and communicate with a BlackBerry Smartphone over Bluetooth.
08-20-2009 04:30 AM
I found this class:
USBPort. It says "provide low level communication to the device's USB port", even though it says it's not portable. Anyway I don't care whether it's portable or not, provided that it works...
Tnx for your help!