Issue connection for "Google find my device"

Hello

Environment:

  • nRF Connect SDK Version: v2.7.0-rc2
  • Board: nRF52840 DK
  • Operating System: Windows 10
  • Android Phones: Samsung S20 (Android 13) / POCO F3 (Android 13)

Description:

I am using the locator_tag example in the nRF Connect SDK to test the "Google Find My Device" feature. The project was built with the default MODEL_ID and ANTI_SPOOFING_KEY.

When running the project on the nRF52840 DK, I receive the connection pop-up from the "Google Find My Device" application and start the connection process.

However, I consistently encounter an issue connecting from the app (see attached picture).



I have tested with both my phones, and the "Find My Device" feature is active and functioning on both devices with different accounts. Despite this, the issue persists.

Below are the logs from the nRF52840 DK, which seem to be normal, with no warnings or errors except for the "Key discarded (timeout)" message.

nRF52840 DK Logs:



I: Settings loaded
I: FMDN: setting battery level to 100 %
I: FMDN level: Normal
I: DULT level: Full
I: Fast Pair: RPA expired
I: Fast Pair: setting RPA timeout to 775 [s]
I: Fast Pair: prepared the advertising set
D: FMDN State: TX power set to 0 [dBm]
D: FMDN State: enabled
I: DULT enabled
D: Fast Pair is enabled
I: FMDN: state changed to unprovisioned
I: Fast Pair: advertising in the discoverable mode
I: Sample has started
I: Connected
D: Personalized Name is empty
D: Personalized Name was not notified (Key-based Pairing)
D: Key-based Pairing write: res=80 conn=0x200022b8
D: Account Key stored
I: Fast Pair: Account Key write
I: Fast Pair: automatically switched to non-discoverable advertising mode
I: Fast Pair: advertising inactive due to an active connection
D: Account Key write: res=16 conn=0x200022b8
D: Beacon Actions GATT Read Request
D: Beacon Actions: challenge-response enabled for the next write:
D: f5 e0 1c a0 4a e5 77 14 |....J.w.
D: Beacon Actions read: res=9 conn=0x200022b8
I: Beacon Actions CCCD write, handle: 0, value: 0x0001
D: Beacon Actions GATT Write Request:
D: 01 08 6e 59 a1 7d 29 c1 |..nY.}).
D: 13 41 |.A
D: Beacon Actions: consuming random nonce read operation
D: Beacon Actions response:
D: 01 09 13 bb 57 8c 8b 79 |....W..y
D: c4 d7 02 |...
D: Beacon Actions write: res=10 conn=0x200022b8
I: Beacon Actions CCCD write, handle: 0, value: 0x0000
I: Key discarded (timeout)
I: Performing reset to factory settings...
D: FMDN State: disabled
I: DULT reset completed
D: Fast Pair is disabled
I: Fast Pair: automatically switched to disabled advertising mode
I: Fast Pair: advertising inactive due to an active connection
I: Factory Reset: resetting Bluetooth identity within the factory reset
I: Fast Pair: RPA expired
I: Fast Pair: the last timeout has occurred 309 [s] ago
I: Fast Pair: setting RPA timeout to 751 [s]
I: Fast Pair: prepared the advertising set
D: FMDN State: TX power set to 0 [dBm]
D: FMDN State: enabled
I: DULT enabled
D: Fast Pair is enabled
I: Reset to factory settings has completed
I: FMDN: state changed to unprovisioned
I: Please press a button to put the device in the Fast Pair discoverable advertising mode after a reset to factory settings
I: Disconnected (reason 22)
I: Fast Pair: advertising in the disabled mode
D: FMDN Clock: storing the last value: 600 [s]

Questions:

  1. Is the behavior observed in the nRF52 logs normal when connecting to a new Android phone?
  2. Could the issue be related to using the default debug MODEL_ID and ANTI_SPOOFING_KEY provided in the sample?

Thank you for your assistance.

Youssef

Parents
  • Hi, 

    I: Please press a button to put the device in the Fast Pair discoverable advertising mode after a reset to factory settings

    After the factory reset operation, the Fast Pair discoverable advertising gets automatically disabled to prevent a restart of the Fast Pair procedure. You need to press a button to set your accessory in the Fast Pair discoverable advertising mode and make it available for the next FMDN provisioning. See Bluetooth Fast Pair: Locator tag doc. 

    Regards,
    Amanda H.

  • Hi Amanda

    Thank you for your replay.

    I did press the button after reset to factory setting.

    here are the logs from the nRF52840DK 

    ** Booting nRF Connect SDK v2.7.0-rc2-b2d45030365f ***
    *** Using Zephyr OS v3.6.99-f047959a650c ***
    I: Starting Bluetooth Fast Pair locator tag example
    I: 2 Sectors of 4096 bytes
    I: alloc wra: 0, f28
    I: data wra: 0, f0
    I: SoftDevice Controller build revision:
    I: 6d 38 c5 3b 03 9c 98 a4 |m8.;....
    I: 87 09 7c fd 21 77 4e c1 |..|.!wN.
    I: 0e a7 52 bd             |..R.
    I: HW Platform: Nordic Semiconductor (0x0002)
    I: HW Variant: nRF52x (0x0002)
    I: Firmware: Standard Bluetooth controller (0x00) Version 109.50488 Build 2560361275
    I: No ID address. App must call settings_load()
    I: Bluetooth initialized
    I: Identity[0]: F3:B5:6C:77:7E:C2 (random)
    I: Identity[1]: D8:DB:12:86:9A:42 (random)
    I: HCI: version 5.4 (0x0d) revision 0x11f3, manufacturer 0x0059
    I: LMP: version 5.4 (0x0d) subver 0x11f3
    I: Settings loaded
    I: FMDN: setting battery level to 100 %
    I:      FMDN level: Normal
    I:      DULT level: Full
    I: Fast Pair: RPA expired
    I: Fast Pair: setting RPA timeout to 763 [s]
    I: Fast Pair: prepared the advertising set
    D: FMDN State: TX power set to 0 [dBm]
    D: FMDN State: enabled
    I: DULT enabled
    D: Fast Pair is enabled
    I: FMDN: state changed to unprovisioned
    I: Fast Pair: advertising in the disabled mode
    I: Sample has started
    I: Performing reset to factory settings...
    D: FMDN State: disabled
    I: DULT reset completed
    D: Fast Pair is disabled
    I: Fast Pair: advertising in the disabled mode
    I: Factory Reset: resetting Bluetooth identity within the factory reset
    I: Fast Pair: RPA expired
    I: Fast Pair: the last timeout has occurred 3 [s] ago
    I: Fast Pair: setting RPA timeout to 763 [s]
    I: Fast Pair: prepared the advertising set
    D: FMDN State: TX power set to 0 [dBm]
    D: FMDN State: enabled
    I: DULT enabled
    D: Fast Pair is enabled
    I: Reset to factory settings has completed
    I: FMDN: state changed to unprovisioned
    I: Please press a button to put the device in the Fast Pair discoverable advertising mode after a reset to factory settings
    I: Fast Pair: advertising in the discoverable mode
    I: Connected
    W: Notify name not supported (KBP request)
    D: Key-based Pairing write: res=80 conn=0x200022a8
    D: Account Key stored
    I: Fast Pair: Account Key write
    I: Fast Pair: automatically switched to non-discoverable advertising mode
    I: Fast Pair: advertising inactive due to an active connection
    D: Account Key write: res=16 conn=0x200022a8
    D: Beacon Actions GATT Read Request
    D: Beacon Actions: challenge-response enabled for the next write:
    D: 8c e0 4e 2d 38 a6 3e d6 |..N-8.>.
    D: Beacon Actions read: res=9 conn=0x200022a8
    I: Beacon Actions CCCD write, handle: 0, value: 0x0001
    D: Beacon Actions GATT Write Request:
    D: 01 08 9d 53 e3 ad ce c5 |...S....
    D: 06 1a                   |..
    D: Beacon Actions: consuming random nonce read operation
    D: Beacon Actions response:
    D: 01 09 9e 5a 47 1f 0d 50 |...ZG..P
    D: b3 66 02                |.f.
    D: Beacon Actions write: res=10 conn=0x200022a8
    I: Beacon Actions CCCD write, handle: 0, value: 0x0000
    I: Disconnected (reason 19)
    I: Fast Pair: advertising in the non-discoverable mode

    I got disconnect event with reason 19 after just 2-3 second of the connection.

    In the android phone, I got the connect pop-up, click connect -->
    it will communicate with nRF52 -->
    dialogBox from  Find My Device app appears contains the Use responsibly , I click Agree and Continue-->

    then I got issue connecting dialog.


    The disconnect with reason 19, is it the normal behavior ?
    Why the nRF52 locator tag have issue connecting dialog, Could it be related to using the Nordic debug model ID and key ?

    Regards
    Youssef

  • Hi, 

    Do you register the account with Google for the FMDN feature?

    Please see the note in the Testing section:

    If the test Android device uses a primary email account that is not on Google’s email allow list for the FMDN feature, testing steps will fail at the FMDN provisioning stage for the default debug (uncertified) device model. To be able to test with debug device models, register your development email account by completing Google’s device proposal form. You can find the link to the device proposal form in the Fast Pair Find My Device Network extension specification.

Reply Children
No Data
Related