This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: How to find the smart phone MAC

Part Number: CC2640R2F
Other Parts Discussed in Thread: BLE-STACK

Tool/software: TI-RTOS

Hello all,

       How  to find   the smart phone MAC address(BLE)  by   multi_role(SDK example)?I need a real MAC address.

  • Wade,

    Most phones use Resolvable Private Addresses (RPA's). When using RPA the Device Address changes over time. Address can be matched, or resolved, to an Identity Address for tracking by trusted peers.

    RPAs can be associated with a long-term identity address using an IRK. During Phase 3 of the pairing process, BLE-Stack devices using RPAs exchange their IRKs and their Identity Addresses with their peers, as described in [Vol3] Part H, Section 3.6 of the Bluetooth Core Specification Version 4.2. From this point on, given that a peer has shared a valid, non-zero IRK and uses a Resolvable Private Address, the peer device can resolve this RPA into the associated Identity Address.


    If a Peer using an RPA exchanges an IRK containing all zeros, the IRK will not be considered valid and its RPA will not be resolved. Only devices using Random Static, Public, or Non-Resolvable Private device addresses should exchange a zero-IRK.

    Once bonded with the peer device, you will receive the public ID and it's IRK. After bonding, you can call linkDB_getInfo() to receive the peer devices public BDADDR as I understand it.
  • Hi Evan,

    linkDB_getInfo ()is the connection parameters, do not contain the cellphone BLE MAC.