Exported Functions
- group Pb_Adv_Exported_Functions
-
Functions
-
bool pb_adv_link_open(uint8_t ctx_index, uint8_t dev_uuid[16])
-
Open the advertisement provisioning link.
- Parameters:
ctx_index – [in] Provisioning context index.
dev_uuid – [in] UUID of the remote device to open the link with.
- Return values:
true – Indicates link has been successfully opened.
false – Indicates failure to open link; check UUID validity and network conditions for possible issues.
- Returns:
-
Result of the operation.
-
bool pb_adv_link_close(uint8_t ctx_index, pb_adv_link_close_reason_t reason)
-
Close the advertisement provisioning link.
- Parameters:
ctx_index – [in] Provisioning context index.
reason – [in] Reason for link closure pb_adv_link_close_reason_t.
- Return values:
true – Indicates link has been successfully closed.
false – Indicates failure to close link; ensure transactions have ended and the link is not actively in use.
- Returns:
-
Result of the operation.
-
bool pb_adv_link_open(uint8_t ctx_index, uint8_t dev_uuid[16])