Re: Is it possible to change scan parameters for BT LE scans?
Re: Is it possible to change scan parameters for BT LE scans?
- Subject: Re: Is it possible to change scan parameters for BT LE scans?
- From: Etan Kissling <email@hidden>
- Date: Wed, 09 Jan 2013 10:15:05 +0000
- Thread-topic: Is it possible to change scan parameters for BT LE scans?
You cannot specify scanning options on iOS using public APIs. However, iOS supports active scanning.
Note that you should put static data in your scan_rsp part as additional packets have to be exchanged to retrieve them. Dynamic data should be put in your advertisement data.
I have not tested it but it may be reasonable that iOS does not send a SCAN_REQ for each and every advertisement report of the same device. Also, as the SCAN_RSP data arrives at a later point in time than the original advertisement data, you may not see it at all.
What I tested in the SCAN_RSP data until now is only a partial device name. This works perfectly (but is not available on the first received advertisement yet) and is overridden as soon as you connect to the device with the name stored in the GAP service.
As the name is managed by iOS, other rules may apply for custom SCAN_RSP data.
I also suggest using the TI packet sniffer for ~50$ to see when the iphone actually sends these scan_req packets.
Etan
On 09.01.2013, at 09:59, "Jimmy Adler" <email@hidden> wrote:
> I have an issue detecting kCBAdvDataManufacturerData from a 3:rd party device using BT LE. I get the kCBAdvDataLocalName advertisement, but not the one containing the Data.
>
> When using a PC testapplication I'm able to get the kCBAdvDataManufacturerData by setting the scan_interval to 10ms and scan_window to 10ms and using active scanning.
>
> Problem is that as far as I can see, these parameters are not accessible on the IOS device, or can the paramters be sent in when starting the scan using the options dictionary in some way?
>
> Is this problem solvable without having access to and altering the code in the device?
>
> Best regards,
>
> Jimmy
> _______________________________________________
> 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