I've got a new tablet Huawei Mediatab T1 with Android 4.4.1

It runs, somewhat. 

Every now and then I get this:

E/IOIOProtocol: Protocol error: 
                ioio.lib.impl.IOIOProtocol$ProtocolError: Received 
unexpected command: 0x9
                    at ioio.lib.impl.IOIOProtocol$IncomingThread.run(
IOIOProtocol.java:928)
D/IOIOImpl: Physical disconnect.
V/BluetoothIOIOConnection: Client initiated disconnect


Den mandag den 5. september 2016 kl. 23.09.36 UTC+2 skrev Martin Jensen:
>
> I've got two IOIO's on bluetooth which works on my two Samsung tablets, 
> Tab 2 7.0 (5.1.1) and Note 10.1 (6.0.1) but not on my Lenovo Tab 2 A7-10 
> (5.0)
>
> It gives me this:
> 38.174 7938-8162/D/IOIOImpl: Waiting for IOIO connection
> 38.174 7938-8162/V/IOIOImpl: Waiting for underlying connection
> 38.174 7938-8162/D/BluetoothDevice: mAddress: XXXX
> 38.174 7938-8162/V/BluetoothIOIOConnection: Attempting to connect to 
> Bluetooth device: IOIO (71:14)
> 38.174 7938-8162/W/BluetoothAdapter: getBluetoothService() called with no 
> BluetoothManagerCallback
> 38.348 7938-8162/V/BluetoothIOIOConnection: Established connection to 
> device IOIO (71:14) address: XXXX
> 38.349 7938-8162/V/IOIOImpl: Waiting for handshake
> 38.382 7938-8261/I/IncomingState: IOIO Connection established. Hardware 
> ID: SPRK0020 Bootloader ID: IOIO0400 Firmware ID: IOIO0506
> 38.382 7938-8162/V/IOIOImpl: Querying for required interface ID
> 38.407 7938-8162/V/IOIOImpl: Required interface ID is supported
> 38.407 7938-8162/I/IOIOImpl: IOIO connection established
> 38.609 7938-8261/I/IOIOProtocol: IOIO disconnected
> 38.609 7938-8261/D/IOIOImpl: Physical disconnect.
> 38.609 7938-8261/V/BluetoothIOIOConnection: Client initiated disconnect
>
>
Then I get this:
E/IOIOProtocol: Protocol error: 
                ioio.lib.impl.IOIOProtocol$ProtocolError: 
java.lang.ArrayIndexOutOfBoundsException: length=47; index=110
                    at 
ioio.lib.impl.IOIOProtocol$IncomingThread.run(IOIOProtocol.java:941)
                 Caused by: java.lang.ArrayIndexOutOfBoundsException: 
length=47; index=110
                    at 
ioio.lib.impl.IncomingState.handleAnalogPinStatus(IncomingState.java:288)
                    at 
ioio.lib.impl.IOIOProtocol$IncomingThread.run(IOIOProtocol.java:762)

Furthermore:

E/IOIOProtocol: Protocol error: 
                ioio.lib.impl.IOIOProtocol$ProtocolError: 
java.lang.NullPointerException
                    at 
ioio.lib.impl.IOIOProtocol$IncomingThread.run(IOIOProtocol.java:941)
                 Caused by: java.lang.NullPointerException
                    at 
ioio.lib.impl.IncomingState$DataModuleState.dataReceived(IncomingState.java:120)
                    at 
ioio.lib.impl.IncomingState.handleUartData(IncomingState.java:297)
                    at 
ioio.lib.impl.IOIOProtocol$IncomingThread.run(IOIOProtocol.java:790)
D/IOIOImpl: Physical disconnect.
V/BluetoothIOIOConnection: Client initiated disconnect


 I'm not sure I figured out how to turn the speed down on ADC, but I found 
Timer3 or something and set it from 1999 to 1999999 for 1 second instead, I 
might be wrong. 
Also I get:
ioiodude --port=COM6 --reset --force write myioioApp.ioioapp
Writing image...
Caught IOException. Exiting.

When trying to write it with IOIOdude. Maybe I'm not building right? 
I use make-all all with j8 for speed and then I use:
tools/make-ioio-bundle firmware/app_layer_v1/dist MyOutputBundle.ioioapp 
IOIO0030

to build it with.


 

> So it's basically disconnecting / connecting all the time.
>
> I've noticed this line:
> getBluetoothService() called with no BluetoothManagerCallback
>
> this only shows on my Lenovo tablet, but it's only a warning and Stack 
> Overflow says you can ignore this.
>
> Will this not work on my Lenovo tablet? or could I try something to make 
> it work universally? Tell me if you need some more information or I can 
> turn on debugging etc.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ioio-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to