Skip to contentSkip to conversation

Setting LE advertisement interval, bluez

DISCUSSION Ravi Minnikanti 2 participants 2 messages Jun 26, 2017 – Jun 27, 2017 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi Ravi,

Quoted 3 lines · Ravi Minnikanti

Hi all,

I implemented a GATT server using bluez DBus API and everything works wel=

l.

Quoted 5 lines

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/

Quoted 4 lines

Any help would be very useful.

Thanks,
Ravi

Best regards
=C5=81ukasz

Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth=

" in

Quoted 2 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html