38.174 7938-8162/D/IOIOImpl: Waiting for IOIO connection38.174 7938-8162/V/IOIOImpl: Waiting for underlying connection38.174 7938-8162/D/BluetoothDevice: mAddress: XXXX38.174 7938-8162/V/BluetoothIOIOConnection: Attempting to connect to Bluetooth device: IOIO (71:14)38.174 7938-8162/W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback38.348 7938-8162/V/BluetoothIOIOConnection: Established connection to device IOIO (71:14) address: XXXX38.349 7938-8162/V/IOIOImpl: Waiting for handshake38.382 7938-8261/I/IncomingState: IOIO Connection established. Hardware ID: SPRK0020 Bootloader ID: IOIO0400 Firmware ID: IOIO050638.382 7938-8162/V/IOIOImpl: Querying for required interface ID38.407 7938-8162/V/IOIOImpl: Required interface ID is supported38.407 7938-8162/I/IOIOImpl: IOIO connection established38.609 7938-8261/I/IOIOProtocol: IOIO disconnected38.609 7938-8261/D/IOIOImpl: Physical disconnect.38.609 7938-8261/V/BluetoothIOIOConnection: Client initiated disconnect
--
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 ioio-users+unsubscribe@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
protected void setup() throws ConnectionLostException,
InterruptedException {
AnalogInput analogInput1 = ioio_.openAnalogInput(31);
}
I'm also using this constructor instead to get the mac address:
public IOIOLooper createIOIOLooper(final String connectionType, final Object extra)but that doesn't cause any problems.However, this has not been a problem with my Samsung. I've used up to 10 Analog connections on each at the same time.What do you think might be going on? I was thinking it's a timing issue in the setup function with AnalogInput, which makes trouble with the Odys and Lenovo tablet causing an early disconnect.It only settles, when I'm just using the LED in setup().
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
When opening an analog input, the IOIO starts streaming samples to the Android at 1kHz. If the Bluetooth stack is flaky, this might load it enough to break it. I've definitely seen some Android devices with poor Bluetooth implementations. You might have encountered one. I would also try a different dongle in case this is a compatibility issue.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+unsubscribe@googlegroups.com.
The IOIO doesn't support hubs
Yeah that must be it. I will look into the adapters first,however it seems the device is the problem. I've tried with a USB hub, but it said something about not having exactly two interfaces and worked only with one of the ioios.
I tried to look it up but came up empty what could that be?
Should be easy. There are numerous threads on this forum about how to do this. The first and most significant step is to be able to build and install the stock firmware yourself. The rest is really easy.
--
Should be easy. There are numerous threads on this forum about how to do this. The first and most significant step is to be able to build and install the stock firmware yourself. The rest is really easy.
On Oct 2, 2016 3:27 PM, "Martin Jensen" <xin...@gmail.com> wrote:
Can I reprogram the IOIO to send much less frequently? Maybe a custom firmware?--I only need something like 1 Hz or so for my project.Den søndag den 2. oktober 2016 kl. 21.22.41 UTC+2 skrev Martin Jensen:Okay thanks for the help I will be back
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 ioio-users+...@googlegroups.com.
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
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 connection38.174 7938-8162/V/IOIOImpl: Waiting for underlying connection38.174 7938-8162/D/BluetoothDevice: mAddress: XXXX38.174 7938-8162/V/BluetoothIOIOConnection: Attempting to connect to Bluetooth device: IOIO (71:14)38.174 7938-8162/W/BluetoothAdapter: getBluetoothService() called with no BluetoothManagerCallback38.348 7938-8162/V/BluetoothIOIOConnection: Established connection to device IOIO (71:14) address: XXXX38.349 7938-8162/V/IOIOImpl: Waiting for handshake38.382 7938-8261/I/IncomingState: IOIO Connection established. Hardware ID: SPRK0020 Bootloader ID: IOIO0400 Firmware ID: IOIO050638.382 7938-8162/V/IOIOImpl: Querying for required interface ID38.407 7938-8162/V/IOIOImpl: Required interface ID is supported38.407 7938-8162/I/IOIOImpl: IOIO connection established38.609 7938-8261/I/IOIOProtocol: IOIO disconnected38.609 7938-8261/D/IOIOImpl: Physical disconnect.38.609 7938-8261/V/BluetoothIOIOConnection: Client initiated disconnect
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)
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
ioiodude --port=COM6 --reset --force write myioioApp.ioioappWriting image...Caught IOException. Exiting.
tools/make-ioio-bundle firmware/app_layer_v1/dist MyOutputBundle.ioioapp IOIO0030
1. The errors you're seeing are a symptom of data corruption between the IOIO and the phone. I works suspect the dongle or the phone.
2. The timer value you're setting is limited to 16 bit, so 65535 is your max. You can slow down the timer or use a different one, but this will have other implications, since those timers are used for other things too.
3. Are you seeing the ioiodude errors with the official ioioapp files or only with yours? If the latter, try to assess their validity by unzipping them (they're really just zip archives) and examining their contents for reasonable size 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 ioio-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+...@googlegroups.com.
You shouldn't need to change the bootloader. Not sure what the issue is. Does flashing the stock bundles such as the application firmware or blink work OK for you?
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+unsubscribe@googlegroups.com.