![]() |
nRF Connect SDK API 3.3.99
|
| void(* bt_fast_pair_fhn_info_cb::provisioning_state_changed) (bool provisioned) |
Indicate provisioning state changes.
This callback is called to indicate that the FHN accessory has been successfully provisioned or unprovisioned by the connected Bluetooth peer.
This callback does not report the initial provisioning state when the user enables Fast Pair with the bt_fast_pair_enable API. To check the initial state, use the bt_fast_pair_fhn_is_provisioned API.
This callback is executed in the cooperative thread context. You can learn about the exact thread context by analyzing the
CONFIG_BT_RECV_CONTEXT
configuration choice. By default, this callback is executed in the Bluetooth-specific workqueue thread (
CONFIG_BT_RECV_WORKQ_BT
).
| provisioned | true if the accessory has been successfully provisioned. false if the accessory has been successfully unprovisioned. |