drivers/nble: Add debug for SM config response
Change-Id: I96b124cdf1808e1c948dd8a6511847511eacfbd2 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
f23f8c3e96
commit
7d91d3331f
1 changed files with 7 additions and 2 deletions
|
@ -314,9 +314,14 @@ void on_ble_gap_sm_pairing_rsp(const struct ble_core_response *par)
|
|||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_ble_gap_sm_config_rsp(struct ble_gap_sm_config_rsp *par)
|
||||
void on_ble_gap_sm_config_rsp(struct ble_gap_sm_config_rsp *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
if (rsp->status) {
|
||||
BT_ERR("SM config failed, status %d", rsp->status);
|
||||
return;
|
||||
}
|
||||
|
||||
BT_DBG("state %u", rsp->state);
|
||||
}
|
||||
|
||||
void on_ble_gap_clr_white_list_rsp(const struct ble_core_response *par)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue