Linux bluetooth development
 help / color / mirror / Atom feed
* Re: Setting LE advertisement interval, bluez
@ 2017-06-26 18:33 Ravi Minnikanti
  2017-06-27  7:01 ` Łukasz Rymanowski
  0 siblings, 1 reply; 2+ messages in thread
From: Ravi Minnikanti @ 2017-06-26 18:33 UTC (permalink / raw)
  To: linux-bluetooth

Hi all,

I implemented a GATT server using bluez DBus API and everything works well.
I want to know is there any way I can set advertisement interval from my
application. Advertisement Data is set and advertisment is enabled when 
I register my advertisement through DBus API. I don't see any mgmt API to 
just set advertisement interval.

Any help would be very useful.

Thanks,
Ravi

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Setting LE advertisement interval, bluez
  2017-06-26 18:33 Setting LE advertisement interval, bluez Ravi Minnikanti
@ 2017-06-27  7:01 ` Łukasz Rymanowski
  0 siblings, 0 replies; 2+ messages in thread
From: Łukasz Rymanowski @ 2017-06-27  7:01 UTC (permalink / raw)
  To: Ravi Minnikanti; +Cc: linux-bluetooth@vger.kernel.org

Hi Ravi,

On 26 June 2017 at 20:33, Ravi Minnikanti
<ravichandraminnikanti@gmail.com> wrote:
> Hi all,
>
> I implemented a GATT server using bluez DBus API and everything works wel=
l.
> I want to know is there any way I can set advertisement interval from my
> application. Advertisement Data is set and advertisment is enabled when
> I register my advertisement through DBus API. I don't see any mgmt API to
> just set advertisement interval.
>

I'm afraid the only way to play with advertising intverval is  via debugfs.
You are looking for adv_max_interval and adv_min_interval in
/sys/kernel/debug/bluetooth/hcix/

> Any help would be very useful.
>
> Thanks,
> Ravi

Best regards
=C5=81ukasz

> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth=
" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-27  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-26 18:33 Setting LE advertisement interval, bluez Ravi Minnikanti
2017-06-27  7:01 ` Łukasz Rymanowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox