Re: Bluetooth Address Type - Fixed (public)


Jie Zhou <zhoujie@...>
 

Hi Johan,

Works like a charm. Haha, completely forgot about having to flash the BLE core with hci_uart. My firmware was still at 1.8.0. Thanks Johan and Vinayak, you guys are the best!

Thanks,
JieĀ 

On Fri, Oct 27, 2017 at 10:51 PM, Jie Zhou <zhoujie@...> wrote:
Hi Johan,

Thanks for the clarification, below is my scan_adv output from the most recent master branch.
Inline image 1

MAC address still changes. I can see there are three warnings causing it to default into temporary static random address. The Vendor HCI extension is not available, I'm guessing this is referring to the HCI commands for the curie chip (arduino_101/tinytile) is not available. Is there an vendor HCI extension for the arduino_101 that I can include in zephyr? I'm using make BOARD=arduino_101 flash for the tinyTILE. The other option would be like what Vinayak is doing - running a combine built to read from the registers directly. I would like to not have to erase factory data and risk losing some capabilities of the board.

Can't thank you guys enough for the help,
Jie

On Fri, Oct 27, 2017 at 9:58 PM, Johan Hedberg <johan.hedberg@...> wrote:
Hi Jie,

On Fri, Oct 27, 2017, Jie Zhou wrote:
> Still have the same issue where MAC address changes every time.
> [image: Inline image 1]
> I'm in version zephyr 1.9.1

You need to use the master branch as I suggested. Not 1.9.1. I don't
think the necessary patches are part of any release yet. I think this
worked for Vinayak because with a combined build the host reads the
values directly from the registers instead of using HCI.

Johan


Join devel@lists.zephyrproject.org to automatically receive all group messages.