OK, I'm working on a Motorola i730, which implements midp 2.0. I need to open a serial connection (which i've done) ala
then I need to open both an input and an output stream, which is easy enough:
here's the tricky part:
I need to have both streams running simultaneously. This is for a custom device I'm building. The output stream is used to send voltage to a NAND gate, which when closed disallows all i/o, so the OutputStream must be sending data in order for the InputStream to work. I have tried as many configurations as I can think of, and I'm running out of ideas. Any help would be greatly appreciated. I've included my latest attempt (this is in a commandAction method, for
testing) below:
Jason Fox