From 17dccb8dde5e65703d7be822b6e07ae52d45eda1 Mon Sep 17 00:00:00 2001 From: pschatzmann Date: Mon, 14 Oct 2024 00:26:19 +0200 Subject: [PATCH] set_discovery_mode_callback --- docs/html/_bluetooth_a2_d_p_source_8h_source.html | 4 ++-- docs/html/class_bluetooth_a2_d_p_source-members.html | 10 +++++----- docs/html/class_bluetooth_a2_d_p_source.html | 8 ++++---- docs/html/functions.html | 6 +++--- docs/html/functions_func.html | 6 +++--- docs/html/search/all_e.js | 10 +++++----- docs/html/search/functions_e.js | 10 +++++----- src/BluetoothA2DPSource.h | 2 +- 8 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/html/_bluetooth_a2_d_p_source_8h_source.html b/docs/html/_bluetooth_a2_d_p_source_8h_source.html index 6031893..51f8b42 100644 --- a/docs/html/_bluetooth_a2_d_p_source_8h_source.html +++ b/docs/html/_bluetooth_a2_d_p_source_8h_source.html @@ -208,7 +208,7 @@
185  ssid_callback = callback;
186  }
187 
-
189  virtual void set_bt_discovery_mode_callback(void(*callback)(esp_bt_gap_discovery_state_t discoveryMode)){
+
189  virtual void set_discovery_mode_callback(void(*callback)(esp_bt_gap_discovery_state_t discoveryMode)){
190  discovery_mode_callback = callback;
191  }
192 
@@ -320,12 +320,12 @@
virtual void start(const char *name, music_data_channels_cb_t callback=NULL)
starts the bluetooth source
Definition: BluetoothA2DPSource.cpp:145
~BluetoothA2DPSource()
Destructor.
Definition: BluetoothA2DPSource.cpp:135
BluetoothA2DPSource()
Constructor.
Definition: BluetoothA2DPSource.cpp:115
-
virtual void set_bt_discovery_mode_callback(void(*callback)(esp_bt_gap_discovery_state_t discoveryMode))
Define callback to be notified about bt discovery mode state changes.
Definition: BluetoothA2DPSource.h:189
virtual void set_reset_ble(bool doInit)
Defines if the BLE should be reset on start.
Definition: BluetoothA2DPSource.cpp:1073
virtual void set_pin_code(const char *pin_code, esp_bt_pin_type_t pin_type=ESP_BT_PIN_TYPE_VARIABLE)
Defines the pin code. If nothing is defined we use "1234".
Definition: BluetoothA2DPSource.cpp:137
virtual void set_auto_reconnect(bool active)
activate / deactivate the automatic reconnection to the last address (per default this is on)
Definition: BluetoothA2DPSource.h:103
virtual void set_ssid_callback(bool(*callback)(const char *ssid, esp_bd_addr_t address, int rrsi))
Define callback to be notified about the found ssids.
Definition: BluetoothA2DPSource.h:184
virtual void bt_av_hdl_stack_evt(uint16_t event, void *p_param)
Definition: BluetoothA2DPSource.cpp:557
+
virtual void set_discovery_mode_callback(void(*callback)(esp_bt_gap_discovery_state_t discoveryMode))
Define callback to be notified about bt discovery mode state changes.
Definition: BluetoothA2DPSource.h:189
virtual void bt_app_rc_ct_cb(esp_avrc_ct_cb_event_t event, esp_avrc_ct_cb_param_t *param)
callback function for AVRCP controller
Definition: BluetoothA2DPSource.cpp:892
virtual void set_ssp_enabled(bool active)
activate Secure Simple Pairing
Definition: BluetoothA2DPSource.h:98
virtual void start(music_data_channels_cb_t callback=NULL)
Starts w/o indicating the name. Connections will be managed via set_ssid_callback()
Definition: BluetoothA2DPSource.h:126
diff --git a/docs/html/class_bluetooth_a2_d_p_source-members.html b/docs/html/class_bluetooth_a2_d_p_source-members.html index fbafc9b..4efe316 100644 --- a/docs/html/class_bluetooth_a2_d_p_source-members.html +++ b/docs/html/class_bluetooth_a2_d_p_source-members.html @@ -182,11 +182,11 @@ set_auto_reconnect(bool active)BluetoothA2DPSourceinlinevirtual set_auto_reconnect(esp_bd_addr_t addr)BluetoothA2DPSourceinlinevirtual set_bluedroid_config_t(esp_bluedroid_config_t cfg)BluetoothA2DPCommoninline - set_bt_discovery_mode_callback(void(*callback)(esp_bt_gap_discovery_state_t discoveryMode))BluetoothA2DPSourceinlinevirtual - set_connectable(bool connectable)BluetoothA2DPCommoninlinevirtual - set_connected(bool active)BluetoothA2DPCommonvirtual - set_default_bt_mode(esp_bt_mode_t mode)BluetoothA2DPCommoninlinevirtual - set_discoverability(esp_bt_discovery_mode_t d)BluetoothA2DPCommonvirtual + set_connectable(bool connectable)BluetoothA2DPCommoninlinevirtual + set_connected(bool active)BluetoothA2DPCommonvirtual + set_default_bt_mode(esp_bt_mode_t mode)BluetoothA2DPCommoninlinevirtual + set_discoverability(esp_bt_discovery_mode_t d)BluetoothA2DPCommonvirtual + set_discovery_mode_callback(void(*callback)(esp_bt_gap_discovery_state_t discoveryMode))BluetoothA2DPSourceinlinevirtual set_event_queue_size(int size)BluetoothA2DPCommoninline set_event_stack_size(int size)BluetoothA2DPCommoninline set_last_connection(esp_bd_addr_t bda) (defined in BluetoothA2DPCommon)BluetoothA2DPCommonprotectedvirtual diff --git a/docs/html/class_bluetooth_a2_d_p_source.html b/docs/html/class_bluetooth_a2_d_p_source.html index 793c810..18f00ec 100644 --- a/docs/html/class_bluetooth_a2_d_p_source.html +++ b/docs/html/class_bluetooth_a2_d_p_source.html @@ -180,10 +180,6 @@ void set_bluedroid_config_t (esp_bluedroid_config_t cfg)  Defines the esp_bluedroid_config_t: Available from IDF 5.2.1.
  - -virtual void set_bt_discovery_mode_callback (void(*callback)(esp_bt_gap_discovery_state_t discoveryMode)) - Define callback to be notified about bt discovery mode state changes.
virtual void set_connectable (bool connectable)  Bluetooth connectable.
@@ -199,6 +195,10 @@ virtual void set_discoverability (esp_bt_discovery_mode_t d)  Bluetooth discoverability. More...
  + +virtual void set_discovery_mode_callback (void(*callback)(esp_bt_gap_discovery_state_t discoveryMode)) + Define callback to be notified about bt discovery mode state changes.
void set_event_queue_size (int size)  Defines the queue size of the event task.
diff --git a/docs/html/functions.html b/docs/html/functions.html index 87fb62f..0cd4dca 100644 --- a/docs/html/functions.html +++ b/docs/html/functions.html @@ -367,9 +367,6 @@

- s -