7#ifndef BT_FAST_PAIR_FHN_PF_BLE_CS_H_
8#define BT_FAST_PAIR_FHN_PF_BLE_CS_H_
11#include <zephyr/bluetooth/addr.h>
int bt_fast_pair_fhn_pf_ble_cs_ranging_capability_encode(const struct bt_fast_pair_fhn_pf_ble_cs_ranging_capability *capability_desc, struct bt_fast_pair_fhn_pf_ranging_tech_payload *capability_payload)
Encode a descriptor of the BLE CS ranging capability into a technology-specific payload.
bool bt_fast_pair_fhn_pf_ble_cs_security_level_bm_check(uint8_t bm, enum bt_fast_pair_fhn_pf_ble_cs_security_level level)
Check if a security level is set in a bitmask.
bt_fast_pair_fhn_pf_ble_cs_security_level
Bluetooth Low Energy (BLE) Channel Sounding (CS) security levels.
Definition ble_cs.h:33
@ BT_FAST_PAIR_FHN_PF_BLE_CS_SECURITY_LEVEL_UNKNOWN
Definition ble_cs.h:35
@ BT_FAST_PAIR_FHN_PF_BLE_CS_SECURITY_LEVEL_ONE
Definition ble_cs.h:38
@ BT_FAST_PAIR_FHN_PF_BLE_CS_SECURITY_LEVEL_FOUR
Definition ble_cs.h:47
@ BT_FAST_PAIR_FHN_PF_BLE_CS_SECURITY_LEVEL_TWO
Definition ble_cs.h:41
@ BT_FAST_PAIR_FHN_PF_BLE_CS_SECURITY_LEVEL_THREE
Definition ble_cs.h:44
int bt_fast_pair_fhn_pf_ble_cs_ranging_config_decode(const struct bt_fast_pair_fhn_pf_ranging_tech_payload *config_payload, struct bt_fast_pair_fhn_pf_ble_cs_ranging_config *config_desc)
Decode a technology-specific payload into a descriptor of the BLE CS technology ranging configuration...
void bt_fast_pair_fhn_pf_ble_cs_security_level_bm_write(uint8_t *bm, enum bt_fast_pair_fhn_pf_ble_cs_security_level level, bool value)
Set or clear a security level bit in a bitmask.
bt_addr_t addr
Definition ble_cs.h:88
uint8_t supported_security_level_bm
Definition ble_cs.h:83
Descriptor of the BLE CS technology capability payload.
Definition ble_cs.h:79
bt_addr_t addr
Definition ble_cs.h:138
enum bt_fast_pair_fhn_pf_ble_cs_security_level selected_security_level
Definition ble_cs.h:133
Descriptor of the BLE CS technology configuration payload.
Definition ble_cs.h:131