Hi Guys,
I read a lof of articles about this problem, but there wasn't answer what would be good for me.
I use a diy ioio with a serially connected rfid reader. I use a home made b4a (b4x.com) program. Te rfid reader reads 13bytes in each 5 seconds, repeatedly.
When I use this with android 4.2, and ADB (usb debugger on), IOIO 1.4 and IOIOib, it works fine. When I use it with android 4.4 or 5.01 (both tested), IOIO 2.05 lib, open accessory, usb debugger off, then after 10-20 readings the same program hangs with 'Stream has benn closed'. I verified, the rfid reader reads further and sends its signal, but the stream is closed... I don't close this stream anywhere, and I can't figure out what is the reason of this error. The ioio firmware is the latest of course.
I don't thought somebody will say which row of source program is faulty, just a question if someone met such a problem: it is a hardware or software issue ?
best regards
Steve
I read a lof of articles about this problem, but there wasn't answer what would be good for me.
I use a diy ioio with a serially connected rfid reader. I use a home made b4a (b4x.com) program. Te rfid reader reads 13bytes in each 5 seconds, repeatedly.
When I use this with android 4.2, and ADB (usb debugger on), IOIO 1.4 and IOIOib, it works fine. When I use it with android 4.4 or 5.01 (both tested), IOIO 2.05 lib, open accessory, usb debugger off, then after 10-20 readings the same program hangs with 'Stream has benn closed'. I verified, the rfid reader reads further and sends its signal, but the stream is closed... I don't close this stream anywhere, and I can't figure out what is the reason of this error. The ioio firmware is the latest of course.
I don't thought somebody will say which row of source program is faulty, just a question if someone met such a problem: it is a hardware or software issue ?
best regards
Steve