Google fast pair Service and BLE

Hello Nordic Team,

I have a working project that uses BLE to communicate with a mobile app, and I am now looking to integrate Google Fast Pair as an additional feature.

I’m trying to combine BLE LBS and Fast Pair Input Device functionality using Zephyr. However, when I add the prj.conf configuration for BLE LBS to the Fast Pair Input Device project, Fast Pair advertising stops working.

Is it possible to run both standard BLE services (like LBS) and Google Fast Pair simultaneously? If so, could you please guide me on how to properly configure this within Zephyr?

Thank you in advance for your support.

i am using nrodic 5340dk sdk 2.9.0

Best regards,
kelk

Parents
  • Hello,

    Yes, fast pair can be combined with any Bluetooth service. I also think it's easiest to use the Pair input device project as a starting point like you did and then replace the HID service with the LBS functionality from the LBS sample. 

    However, when I add the prj.conf configuration for BLE LBS to the Fast Pair Input Device project, Fast Pair advertising stops working.

    Did the debug log show were the program failed?

    Best regards,

    Vidar

  • Hi Vidar,

    here is are the logs:

    *** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
    *** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
    Starting Bluetooth Peripheral LBS example
    I: 2 Sectors of 4096 bytes
    I: alloc wra: 1, e18
    I: data wra: 1, 350
    I: HW Platform: Nordic Semiconductor (0x0002)
    I: HW Variant: nRF53x (0x0003)
    I: Firmware: Standard Bluetooth controller (0x00) Version 45.41337 Build 3074452168
    I: No ID address. App must call settings_load()
    Bluetooth initialized
    I: Identity: DB:4F:69:8C:B8:FD (random)
    I: HCI: version 6.0 (0x0e) revision 0x206b, manufacturer 0x0059
    I: LMP: version 6.0 (0x0e) subver 0x206b
    Advertising LBS successfully started
    I: Starting Bluetooth Fast Pair input device example
    I: Bluetooth initialized
    W: opcode 0x2027 status 0x12 
    E: Failed to add IRK to controller
    I: Settings loaded
    W: fp_storage_ak module already uninitialized
    W: fp_storage_ak module already uninitialized
    E: modules_init returned error -22
    E: Fast Pair enable failed (err: -22)
    

Reply
  • Hi Vidar,

    here is are the logs:

    *** Booting nRF Connect SDK v2.9.0-7787b2649840 ***
    *** Using Zephyr OS v3.7.99-1f8f3dc29142 ***
    Starting Bluetooth Peripheral LBS example
    I: 2 Sectors of 4096 bytes
    I: alloc wra: 1, e18
    I: data wra: 1, 350
    I: HW Platform: Nordic Semiconductor (0x0002)
    I: HW Variant: nRF53x (0x0003)
    I: Firmware: Standard Bluetooth controller (0x00) Version 45.41337 Build 3074452168
    I: No ID address. App must call settings_load()
    Bluetooth initialized
    I: Identity: DB:4F:69:8C:B8:FD (random)
    I: HCI: version 6.0 (0x0e) revision 0x206b, manufacturer 0x0059
    I: LMP: version 6.0 (0x0e) subver 0x206b
    Advertising LBS successfully started
    I: Starting Bluetooth Fast Pair input device example
    I: Bluetooth initialized
    W: opcode 0x2027 status 0x12 
    E: Failed to add IRK to controller
    I: Settings loaded
    W: fp_storage_ak module already uninitialized
    W: fp_storage_ak module already uninitialized
    E: modules_init returned error -22
    E: Fast Pair enable failed (err: -22)
    

Children
No Data
Related