Re: Advertising in background
Re: Advertising in background
- Subject: Re: Advertising in background
- From: Andras Kovi <email@hidden>
- Date: Sat, 13 Apr 2013 17:34:44 +0200
Hi Fred,
It seems like something has changed in iOS 6.1.3 My latest tests show that both the device name and service uuids (of my iPhone) are discovered by my mac mini regardless of the backgrounded mode. This setup used to be problematic too. I haven't tested with another iPhone.
Before this change I couldn't find any solution for this issue if the scanning had to be done in background (cannot scan with nil services). In foreground all found devices would have to be contacted that are found when scanning with nil services.
Regards,
Andras
On 2013.04.13., at 14:00, Frederic Visticot <email@hidden> wrote:
> I Have made some "advertising tests".
> - When the app is active, the advertising data contains the "advertising service ID"
> - When the app is inactive, the advertising data DOES NOT contain the "advertising service ID"
>
> This is the main difference because the PDU length is 30 when background and 34 when active
>
> The pb I see with that solution is that it is not possible for another device (in background) to detect the "advertising device" in background as well..
>
> Because:
> To detect a device when in background mode:
> 1. the "advertising device" needs to send the service ID
> 2. The scaning device needs to filter on service ID
>
> Any solution to send the serviceID even in background mode ?
> _______________________________________________
> 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