ubuntu - Disable support for Random Address for LE Advertising in Bluez 5.31 -


i using bt/le dual mode dongle run in le mode custom manufacture data (to act oob medium). functionality works in ubuntu desktop system (kernel - 3.13.0-57-generic) fails in raspbian (kernel - 4.0.9+). guess has kernel implementation of hci not sure.

in ubuntu, running dual mode dongle in le mode can see mac address using hcitool (lescan). if run in raspbian can see random address advertising rather public address advertising.

also using static-addr command btmgmt not working. (still getting random address).

so, how disable random address or how can use public address instead of random address?

thanks in advance.

it seems triggered activated privacy feature.

see section 10.7.1 privacy feature in peripheral of core 4.0 specification.

support of privacy feature in peripheral depends on presence , value of 2 characteristics: peripheral privacy flag characteristic defined in section 12.3 , reconnection address characteristic defined in sec- tion 12.4. when peripheral privacy flag characteristic set 1, privacy enabled (also known privacy enabled peripheral).

also check 12.3 peripheral privacy flag characteristic details on attribute handle , value, maybe can spot in device.

why there difference between ubuntu , raspi, can guess version not same.

you try check btmon if can spot differences in hci commands sent bluetooth modules on advertisement configuration.


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -