![]() |
nRF Connect SDK API 3.3.99
|
| void(* bt_fast_pair_fhn_pf_ranging_mgmt_cb::ranging_capability_request) (struct bt_conn *conn, uint16_t ranging_tech_bm) |
Ranging Capability Request received.
This callback is mandatory. It is called when a Ranging Capability Request message is received by the application from the connected peer. The application must determine which of the requested ranging technologies it supports and then respond using the bt_fast_pair_fhn_pf_ranging_capability_response_send API. The response can be sent asynchronously if the capability preparation of certain ranging technologies requires time to complete.
This callback is executed in the cooperative thread context. You can learn about the exact thread context by analyzing the
CONFIG_BT_RECV_CONTEXT
Kconfig option. By default, this callback is executed in the Bluetooth-specific workqueue thread (
CONFIG_BT_RECV_WORKQ_BT
).
| conn | Connection object. |
| ranging_tech_bm | Bitmask of the ranging technologies requested by the connected peer, composed of bt_fast_pair_fhn_pf_ranging_tech_id bit positions. |