nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
pf.h File Reference
#include <zephyr/bluetooth/conn.h>

Go to the source code of this file.

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.