blob: bd4dd659c0cdd680f08cf9749fa63e97dd5cbf5b [file] [log] [blame]
/*
* Copyright (c) 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* declare the list of functions sorted by signature */
#define LIST_FN_SIG_NONE \
FN_SIG_NONE(on_nble_up)
#define LIST_FN_SIG_S \
FN_SIG_S(on_ble_get_version_rsp, \
const struct ble_version_response *) \
FN_SIG_S(on_ble_gap_connect_evt, \
const struct ble_gap_connect_evt *) \
FN_SIG_S(on_ble_gap_disconnect_evt, \
const struct ble_gap_disconnect_evt *) \
FN_SIG_S(on_ble_gap_conn_update_evt, \
const struct ble_gap_conn_update_evt *) \
FN_SIG_S(on_ble_gap_sm_status_evt, \
const struct ble_gap_sm_status_evt *) \
FN_SIG_S(on_ble_gap_sm_passkey_display_evt, \
const struct ble_gap_sm_passkey_disp_evt *) \
FN_SIG_S(on_ble_gap_sm_passkey_req_evt, \
const struct ble_gap_sm_passkey_req_evt *) \
FN_SIG_S(on_ble_gap_to_evt, \
const struct ble_gap_timout_evt *) \
FN_SIG_S(on_ble_gap_rssi_evt, \
const struct ble_gap_rssi_evt *) \
FN_SIG_S(on_ble_common_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_connect_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_cancel_connect_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_read_bda_rsp, \
const struct ble_service_read_bda_response *) \
FN_SIG_S(on_ble_gap_disconnect_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_sm_config_rsp, \
struct ble_gap_sm_config_rsp *) \
FN_SIG_S(on_ble_gap_sm_passkey_reply_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_generic_cmd_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_conn_update_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_sm_clear_bonds_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_service_write_rsp, \
const struct ble_service_write_response *) \
FN_SIG_S(on_ble_set_enable_config_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_set_rssi_report_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_dbg_rsp, \
const struct debug_response *) \
FN_SIG_S(on_ble_gatts_send_svc_changed_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gatts_send_notif_ind_rsp, \
const struct ble_gatt_notif_ind_rsp *) \
FN_SIG_S(on_ble_get_bonded_device_list_rsp, \
const struct ble_get_bonded_device_list_rsp*) \
FN_SIG_S(on_ble_gap_start_advertise_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gap_stop_advertise_rsp, \
const struct ble_core_response *) \
FN_SIG_S(on_ble_gatts_read_evt, \
const struct nble_gatt_rd_evt *)
#define LIST_FN_SIG_P \
FN_SIG_P(on_ble_gap_dtm_init_rsp, void *)
#define LIST_FN_SIG_S_B \
FN_SIG_S_B(ble_log, const struct ble_log_s *, \
char *, uint8_t) \
FN_SIG_S_B(on_ble_gattc_value_evt, \
const struct ble_gattc_value_evt *, \
uint8_t *, uint8_t) \
FN_SIG_S_B(on_ble_gatts_write_evt, \
const struct ble_gatt_wr_evt *, \
const uint8_t *, uint8_t) \
FN_SIG_S_B(on_ble_gatts_get_attribute_value_rsp, \
const struct ble_gatts_attribute_response *, \
uint8_t *, uint8_t) \
FN_SIG_S_B(on_ble_gatt_register_rsp, \
const struct ble_gatt_register_rsp *, \
const struct ble_gatt_attr_handles *, \
uint8_t) \
FN_SIG_S_B(on_ble_gattc_discover_rsp, \
const struct ble_gattc_disc_rsp *, \
const uint8_t *, uint8_t)
#define LIST_FN_SIG_B_B_P
#define LIST_FN_SIG_S_P \
FN_SIG_S_P(on_ble_gattc_write_rsp, \
const struct ble_gattc_write_rsp *, void*)
#define LIST_FN_SIG_S_B_P \
FN_SIG_S_B_P(on_ble_gattc_read_rsp, \
const struct ble_gattc_read_rsp *, \
uint8_t *, uint8_t, void*)
#define LIST_FN_SIG_S_B_B_P