Bluetooth: controller: Impl. check for active remote initiated CPR
Checking if a remote initiated CPR is currently active on given conn Signed-off-by: Erik Brockhoff <erbr@oticon.com>
This commit is contained in:
parent
84a8294624
commit
4ae3dc8cb2
|
@ -942,6 +942,15 @@ void ull_cp_conn_param_req_neg_reply(struct ll_conn *conn, uint8_t error_code)
|
|||
llcp_rp_conn_param_req_neg_reply(conn, ctx);
|
||||
}
|
||||
}
|
||||
|
||||
uint8_t ull_cp_remote_cpr_pending(struct ll_conn *conn)
|
||||
{
|
||||
struct proc_ctx *ctx;
|
||||
|
||||
ctx = llcp_rr_peek(conn);
|
||||
|
||||
return (ctx && ctx->proc == PROC_CONN_PARAM_REQ);
|
||||
}
|
||||
#endif /* CONFIG_BT_CTLR_CONN_PARAM_REQ */
|
||||
|
||||
#if defined(CONFIG_BT_CTLR_DF_CONN_CTE_RSP)
|
||||
|
|
|
@ -135,6 +135,12 @@ void ull_cp_conn_param_req_neg_reply(struct ll_conn *conn, uint8_t error_code);
|
|||
*/
|
||||
uint8_t ull_cp_remote_dle_pending(struct ll_conn *conn);
|
||||
|
||||
/**
|
||||
* @brief Check if a remote connection param reg is in the
|
||||
* works.
|
||||
*/
|
||||
uint8_t ull_cp_remote_cpr_pending(struct ll_conn *conn);
|
||||
|
||||
/**
|
||||
* @brief Initiate a Termination Procedure.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue