nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
Precision Finding API for Fast Pair FHN

The Precision Finding API for the Find Hub Network (FHN) extension. More...

Data Structures

struct  bt_fast_pair_fhn_pf_ranging_tech_payload
 
struct  bt_fast_pair_fhn_pf_ranging_mgmt_cb
 

Enumerations

enum  bt_fast_pair_fhn_pf_ranging_tech_id { BT_FAST_PAIR_FHN_PF_RANGING_TECH_ID_UWB = 0 , BT_FAST_PAIR_FHN_PF_RANGING_TECH_ID_BLE_CS = 1 , BT_FAST_PAIR_FHN_PF_RANGING_TECH_ID_WIFI_NAN_RTT = 2 , BT_FAST_PAIR_FHN_PF_RANGING_TECH_ID_BLE_RSSI = 3 }
 

Functions

bool bt_fast_pair_fhn_pf_ranging_tech_bm_check (uint16_t bm, enum bt_fast_pair_fhn_pf_ranging_tech_id id)
 Check if a ranging technology is set in a bitmask.
 
void bt_fast_pair_fhn_pf_ranging_tech_bm_write (uint16_t *bm, enum bt_fast_pair_fhn_pf_ranging_tech_id id, bool value)
 Set or clear a ranging technology bit in a bitmask.
 
int bt_fast_pair_fhn_pf_ranging_capability_response_send (struct bt_conn *conn, uint16_t ranging_tech_bm, struct bt_fast_pair_fhn_pf_ranging_tech_payload *capability_payloads, uint8_t capability_payload_num)
 Send a Ranging Capability Response message.
 
int bt_fast_pair_fhn_pf_ranging_config_response_send (struct bt_conn *conn, uint16_t ranging_tech_bm)
 Send a Ranging Configuration Response message.
 
int bt_fast_pair_fhn_pf_stop_ranging_response_send (struct bt_conn *conn, uint16_t ranging_tech_bm)
 Send a Stop Ranging Response message.
 
int bt_fast_pair_fhn_pf_ranging_mgmt_cb_register (const struct bt_fast_pair_fhn_pf_ranging_mgmt_cb *cb)
 Register ranging management callbacks.
 

Detailed Description

The Precision Finding API for the Find Hub Network (FHN) extension.

The API is only available when the

CONFIG_BT_FAST_PAIR_FHN_PF 

Kconfig option is enabled.

It is required to use the Precision Finding API in the cooperative thread context. API function exceptions that do not follow this rule mention alternative requirements explicitly in their API documentation. Following the cooperative thread context requirement guarantees proper synchronization between the user operations and the module operations.