The PIN code can be changed with a pretty small tweak of the firmware. If
someone really cars a lot, it is possible to make it so that the PIN can be
configured without having to recompile the firmware every time.
On Feb 28, 2015 12:06 PM, <[email protected]> wrote:

> I agree, there needs to be a way to prevent any random tablet/phone from
> connecting to a random IOIO board, simply by knowing the passkey is 4545.
> Has anyone successfully implemented this yet?  I have an application where
> the IOIO will be controlling parts of an electric car so it is critical
> that noone except my tablet can connect to the IOIO.  I would like to use
> bluetooth because it provides convenient electrical isolation between the
> 800V battery pack and the tablet on the dashboard of the car.
>
>
>
>
> On Wednesday, February 20, 2013 at 6:09:13 AM UTC+13, Ytai wrote:
>>
>> You want to look around bt_connection.c, where the application layer of
>> Bluetooth is handled. My guess would be that you can modify it to:
>>
>>    1. If a link key exists in flash, reject any pairing attempts and any
>>    connection with a different key.
>>    2. If not, complete pairing normally and store the key in flash.
>>
>> You'll presumably need to add some method of clearing the key. The
>> IOIO-OTG bootloader has a notion of configuration memory that you can use
>> in the application layer and wipe by the bootloader.
>>
>>
>> On Tue, Feb 19, 2013 at 1:19 AM, ioioROOKIE <[email protected]> wrote:
>>
>>> Any other Android connecting to IOIO :)
>>>
>>>
>>> On Tuesday, February 19, 2013 9:18:39 AM UTC+2, Ytai wrote:
>>>
>>>> Do you want to prevent any other IOIO from connecting to your Android
>>>> or any other Android connecting to your IOIO?
>>>> I assumed you meant that latter, in which case you'll need to modify
>>>> the firmware.
>>>>
>>>>
>>>> On Mon, Feb 18, 2013 at 10:50 PM, ioioROOKIE <[email protected]> wrote:
>>>>
>>>>> So you say, if i change
>>>>>
>>>>> public BluetoothIOIOConnection(BluetoothDevice device) {
>>>>>  device_ = device;
>>>>> name_ = device.getName();
>>>>> address_ = device.getAddress();
>>>>>  }
>>>>>
>>>>> here in BluetoothIOIOConnection.java IOIOBT and check if it is paired
>>>>> and get mac address and if it is same connect again it only pairs with the
>>>>> device first paired or I have make my changes somewhere else
>>>>>
>>>>> On Tuesday, February 19, 2013 8:09:23 AM UTC+2, Ytai wrote:
>>>>>
>>>>>> I think this should be possible with some hacks to the firmware to
>>>>>> store a link key in flash upon first pairing and then only accept
>>>>>> connections with this key.
>>>>>>
>>>>>>
>>>>>> On Mon, Feb 18, 2013 at 9:20 PM, ioioROOKIE <[email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I want to have my IOIO connected to only one android tablet that I
>>>>>>> could specify over bluetooth. Is that possible, I know i could send a
>>>>>>> signal continuously as a service but are there any other ways to do it?
>>>>>>>
>>>>>>> Thanks in Advance
>>>>>>>
>>>>>>> --
>>>>>>> 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 http://groups.google.com/group/ioio-users?hl=en.
>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>  --
>>>>> 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 http://groups.google.com/group/ioio-users?hl=en.
>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>> 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 http://groups.google.com/group/ioio-users?hl=en.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
> 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 http://groups.google.com/group/ioio-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 http://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to