drivers/nble: Use weak function definitions
Remove empty function declaration using weak autogenerated method. This solves API to NBLE constantly changing problem. Change-Id: I2ff90559dfbf78e9c34e602195d8a76ab9750a47 Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
parent
d2dde33254
commit
9162e6aef0
3 changed files with 0 additions and 185 deletions
|
@ -266,11 +266,6 @@ int bt_le_scan_stop(void)
|
|||
return -ENOSYS;
|
||||
}
|
||||
|
||||
void on_nble_gap_dtm_init_rsp(void *user_data)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void nble_log(const struct nble_log_s *param, char *format, uint8_t len)
|
||||
{
|
||||
#if defined(CONFIG_BLUETOOTH_DEBUG)
|
||||
|
@ -282,36 +277,6 @@ void nble_log(const struct nble_log_s *param, char *format, uint8_t len)
|
|||
#endif
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_status_evt(const struct nble_gap_sm_status_evt *ev)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_passkey_display_evt(const struct nble_gap_sm_passkey_disp_evt *ev)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_passkey_req_evt(const struct nble_gap_sm_passkey_req_evt *ev)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_to_evt(const struct nble_gap_timout_evt *ev)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_rssi_evt(const struct nble_gap_rssi_evt *ev)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_service_read_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_read_bda_rsp(const struct nble_service_read_bda_response *rsp)
|
||||
{
|
||||
if (rsp->status) {
|
||||
|
@ -326,16 +291,6 @@ void on_nble_gap_read_bda_rsp(const struct nble_service_read_bda_response *rsp)
|
|||
nble_get_version_req(NULL);
|
||||
}
|
||||
|
||||
void on_nble_gap_disconnect_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_pairing_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_config_rsp(struct nble_gap_sm_config_rsp *rsp)
|
||||
{
|
||||
if (rsp->status) {
|
||||
|
@ -348,89 +303,3 @@ void on_nble_gap_sm_config_rsp(struct nble_gap_sm_config_rsp *rsp)
|
|||
/* Get bdaddr queued after SM setup */
|
||||
nble_gap_read_bda_req(NULL);
|
||||
}
|
||||
|
||||
void on_nble_gap_clr_white_list_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_passkey_reply_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_connect_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_start_scan_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_stop_scan_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_cancel_connect_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_set_option_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_generic_cmd_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_conn_update_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_sm_clear_bonds_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_service_write_rsp(const struct nble_service_write_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_ble_set_enable_config_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_set_rssi_report_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_wr_white_list_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_dbg_rsp(const struct debug_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gap_start_advertise_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
|
||||
void on_nble_gap_stop_advertise_rsp(const struct nble_response *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
|
|
@ -807,13 +807,6 @@ void on_nble_get_version_rsp(const struct nble_version_response *par);
|
|||
*/
|
||||
void nble_gap_dtm_init_req(void *user_data);
|
||||
|
||||
/**
|
||||
* Response to @ref nble_gap_dtm_init_req.
|
||||
*
|
||||
* @param user_data Pointer to user data structure
|
||||
*/
|
||||
void on_nble_gap_dtm_init_rsp(void *user_data);
|
||||
|
||||
struct nble_gap_connect_evt {
|
||||
uint16_t conn_handle;
|
||||
struct nble_gap_connection_values conn_values;
|
||||
|
@ -978,6 +971,3 @@ struct nble_gap_sm_bond_info_rsp {
|
|||
void *user_data;
|
||||
struct nble_gap_sm_bond_info info;
|
||||
};
|
||||
|
||||
void on_nble_gap_sm_bond_info_rsp(const struct nble_gap_sm_bond_info_rsp *rsp,
|
||||
const bt_addr_le_t *peer_addr, uint16_t len);
|
||||
|
|
|
@ -417,23 +417,6 @@ int bt_gatt_unsubscribe(struct bt_conn *conn,
|
|||
}
|
||||
|
||||
void bt_gatt_cancel(struct bt_conn *conn)
|
||||
{
|
||||
}
|
||||
|
||||
void on_nble_gattc_write_rsp(const struct nble_gattc_write_rsp *ev,
|
||||
void *priv)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gattc_read_rsp(const struct nble_gattc_read_rsp *ev,
|
||||
uint8_t *data, uint8_t data_len, void *priv)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gattc_value_evt(const struct nble_gattc_value_evt *ev,
|
||||
uint8_t *buf, uint8_t buflen)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
@ -463,33 +446,6 @@ void on_nble_gatts_write_evt(const struct nble_gatt_wr_evt *evt,
|
|||
}
|
||||
}
|
||||
|
||||
void on_nble_gatts_get_attribute_value_rsp(const struct nble_gatts_attribute_rsp *rsp,
|
||||
uint8_t *data, uint8_t length)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gattc_discover_rsp(const struct nble_gattc_disc_rsp *rsp,
|
||||
const uint8_t *data, uint8_t len)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gatts_send_svc_changed_rsp(const struct nble_core_response *par)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gatts_set_attribute_value_rsp(const struct nble_gatts_attribute_rsp *rsp)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gatts_send_notif_ind_rsp(const struct nble_gatt_notif_ind_rsp *par)
|
||||
{
|
||||
BT_DBG("");
|
||||
}
|
||||
|
||||
void on_nble_gatts_read_evt(const struct nble_gatt_rd_evt *evt)
|
||||
{
|
||||
struct nble_gatts_rw_reply_params reply_data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue