Bluetooth Address Type - Fixed (public)


Jie Zhou <zhoujie@...>
 

Hi all, 

Looking at the bluetooth API and the sample bluetooth code, tt seems that the default advertised address addr->type is random. I think this is because of security reasons, so it is using resolvable private addresses. Is there a way for me to change the address type to public (i.e. fixed) for my curie board? I see it in the API that there is cases for public bluetooth address. However, I just can't seem to find how to change the addr-type to public. I see the #define BT_ADDRLE_PUBLIC 0x00 in  include/bluetooth/hci.h, but don't know how to implement it. Does anyone know how to do this?

Thanks,
Jie


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