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:
Andrei Emeltchenko 2016-02-10 11:53:36 +02:00 committed by Anas Nashif
commit 7d91d3331f

View file

@ -314,9 +314,14 @@ void on_ble_gap_sm_pairing_rsp(const struct ble_core_response *par)
BT_DBG(""); 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) void on_ble_gap_clr_white_list_rsp(const struct ble_core_response *par)