Re: Stored profile limits
Re: Stored profile limits
- Subject: Re: Stored profile limits
- From: Arvydas Sidorenko <email@hidden>
- Date: Thu, 25 Apr 2013 18:09:37 +0100
Are you talking about cached profiles of paired devices? If so, there
is no way to clear it programmatically using public API, but if you
are interested in private API as a temporary solution
CoreBluetooth.framework can do it.
For example:
BluetoothManager *mgr = [BluetoothManager sharedInstance];
BOOL prevPairingEnabled = [mgr devicePairingEnabled];
[mgr setDevicePairingEnabled:YES];
NSMutableArray *devArray = [mgr pairedLEDevices];
for (BluetoothDevice *dev in devArray)
{
[dev unpair];
}
[mgr setDevicePairingEnabled:prevPairingEnabled];
In case of any failure you will notice in output window -
BluetoothManager is rather verbose.
On Thu, Apr 25, 2013 at 2:32 PM, Jeff Hosack
<email@hidden> wrote:
> We are using an iPod to test BLE devices in the production environment.
> Each test leaves behind a Bluetooth profile in settings. I never found a
> way to clear these out programmatically, so the plan was to clear them
> manually at some interval. How many profiles can likely exist before
> problems start to occur? Our customer is reporting that they have started
> seeing failures to pair with new devices with as little as 11, and also with
> 44 stored profiles. They said that after clearing some profiles, it started
> working again. If there is no known limit, what else could cause this?
>
>
>
> Also, I will ask again, is there a way to clear a profile in code?
>
>
>
> Jeff
>
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Bluetooth-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden