From ac9c45e03c55070855f57d1c4fd0c70e74e1bad5 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Tue, 28 Jul 2015 11:14:10 +0200 Subject: [PATCH] added empty gap le auto connection functions --- src/hci.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/hci.c b/src/hci.c index b561e52ad..17c6023b8 100644 --- a/src/hci.c +++ b/src/hci.c @@ -3081,6 +3081,36 @@ le_command_status_t gap_disconnect(hci_con_handle_t handle){ return BLE_PERIPHERAL_OK; } +/** + * @brief Auto Connection Establishment - Start Connecting to device + * @param address_typ + * @param address + * @returns 0 if ok + */ +int gap_auto_connection_start(uint8_t address_typ, bd_addr_t address){ + log_error("gap_auto_connection_start not implemented yet"); + return 1; +} + +/** + * @brief Auto Connection Establishment - Stop Connecting to device + * @param address_typ + * @param address + * @returns 0 if ok + */ +int gap_auto_connection_stop(uint8_t address_typ, bd_addr_t address){ + log_error("gap_auto_connection_stop not implemented yet"); + return 1; +} + +/** + * @brief Auto Connection Establishment - Stop everything + * @note Convenience function to stop all active auto connection attempts + */ +void gap_auto_connection_stop_all(void){ + log_error("gap_auto_connection_stop_all not implemented yet"); +} + /** * @brief Set callback for Bluetooth Hardware Error */