mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 15:39:59 +00:00
added empty gap le auto connection functions
This commit is contained in:
parent
b04dfa37ba
commit
ac9c45e03c
30
src/hci.c
30
src/hci.c
@ -3081,6 +3081,36 @@ le_command_status_t gap_disconnect(hci_con_handle_t handle){
|
|||||||
return BLE_PERIPHERAL_OK;
|
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
|
* @brief Set callback for Bluetooth Hardware Error
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user