I don't know. By Googling a bit I've found this class, perhaps this is what
you're looking for:
https://android.googlesource.com/platform/packages/apps/Bluetooth/+/marshmallow-mr3-release/src/com/android/bluetooth/gatt/GattService.java

Marina

On Wed, Mar 1, 2017 at 10:18 AM, Sayu Sekhar <[email protected]>
wrote:

> Thanks Marina
>  I had gone through the posted link and wanted to know if I can know the
> part of Android source which sets the advertising interval.
>
> -Sayu
>
> On Wednesday, March 1, 2017 at 6:30:55 PM UTC+5:30, Marina Cuello wrote:
>>
>> I believe you don't have specific options, just some presets. Check this
>> out: https://developer.android.com/reference/android/bluetoo
>> th/le/AdvertiseSettings.html
>>
>> Marina
>>
>> On Mon, Feb 27, 2017 at 5:41 AM, Sayu Sekhar <[email protected]>
>> wrote:
>>
>>> I am trying to create an LE Peripheral App on an Android phone. I
>>> observed that the APIs do not allow me to set the advertising interval for
>>> the advertising packets.
>>> Is it possible to set the advertising interval in the App maybe using an
>>> API or configuration?.
>>> If yes, how? If no, where and what is the advertising interval set in
>>> the Android source code, which I could modify for my testing>
>>>
>>> ------------------------------------------------------------
>>> -------------------------------------------------------------
>>> *Disclaimer:* This email message including any attachments is
>>> confidential, and may be privileged and proprietary to Agiliad. If you are
>>> not the intended recipient, please notify us immediately by replying to
>>> this message and destroy all copies of this message including any
>>> attachments. You are NOT authorized to read, print, retain, copy,
>>> disseminate, distribute, or use this message or any part thereof. Thank you.
>>> ------------------------------------------------------------
>>> ------------------------------------------------------------
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" 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 https://groups.google.com/group/android-developers.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/android-developers/f9c20031-aa7c-4776-982d-fff768853eb8%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/android-developers/f9c20031-aa7c-4776-982d-fff768853eb8%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
> ------------------------------------------------------------
> -------------------------------------------------------------
> *Disclaimer:* This email message including any attachments is
> confidential, and may be privileged and proprietary to Agiliad. If you are
> not the intended recipient, please notify us immediately by replying to
> this message and destroy all copies of this message including any
> attachments. You are NOT authorized to read, print, retain, copy,
> disseminate, distribute, or use this message or any part thereof. Thank you.
> ------------------------------------------------------------
> ------------------------------------------------------------
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" 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 https://groups.google.com/group/android-developers.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/android-developers/67cc5edc-515b-43c1-9b4b-
> 59d07fa1d5f7%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/67cc5edc-515b-43c1-9b4b-59d07fa1d5f7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" 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 https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CACaNmX1nQpAS1SRg%3DAB36%3D0wxjH7K_Px4b2GbirQsj6Pcb8LLQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to