Google Find My Device Network implementation

Hello, 

I need to implement Find My Device for nRF52833. 

From Sample I could find "samples/bluetooth/fast_pair/Locator Tag" example. I tried to go through it. but I could not able to map with fast pair specification(Fast Pair  |  Google for Developers). 

I want to check in which function advertisement is prepared ?

How keys(account keys,anti-snoofing keys) are sent in encrypted ?

In the advertisement which data we are sending(like fast pair UUID, Model id, anti snoofing keys, unique mac address,salt field ) etc ?  

Parents Reply
  • You should study the file fp_adv.c.

    I have not looked into the details of this, but this seems to be where it sets and starts the advertising in the locator_tag sample. 

    fp_adv_payload_set() seems to be the function that populates the ad[] and sd[] (advertising data and scan_response data). Exactly what it is put in here I don't know, but it comes from the specification from Google.

    From looking around, the UUID itself is coming from:

    bt_le_ext_adv_set_data() -> fndb_frame_data -> fmdn_frame_payload -> BT_UUID_16_ENCODE(FMDN_FRAME_UUID), FMDN_FRAME_TYPE_UTP_MODE_OFF,, where FMDN_FRAME_UUID is 0xFEAA.
    Best regards,
    Edvin
Children
No Data
Related