Hi Joakim,
Thanks for the reply, Let me put the question differently.
1) scanForPeripheralsWithServices is it a blocking call ?
2) When it times out ?, in case if we don't send stopScan.
Or it just keeps on scanning the devices periodically and invokes didDiscoverPeripheral?
If i understand correctly, 'scan interval' means the interval between the two scanning process.
Use Case: Application started scanning process, but the device is not ready for advertising, and the application goes into background mode, after some time the device advertises. Sometimes my application finds the devices, sometime not. So, i am not
sure what affects when it is unsuccessful of finding devices.
Kindly correct if i understood wrongly?
Thanks,
Jelari.
From: Joakim Linde [email@hidden]
Sent: Tuesday, September 18, 2012 7:16 PM
To: Ramprakash Jelari Thinakaran (WT01 - HLS)
Cc: email@hidden
Subject: Re: how to find scan window and scan interval?
What do you need it for?
Thanks,
Joakim
Hi,
I am using scanForPeripheralsWithServices API, to scan devices with specific service id given as a parameter.
What i would like to know is how to get the values of both scan Window, and scan interval in the iOS application?
Is it possible first of all ?
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
|