Control Surface
2.1.2
MIDI Control Surface library for Arduino
Toggle main menu visibility
Loading...
Searching...
No Matches
src
MIDI_Interfaces
BLEMIDI
ESP32
advertising.h
Go to the documentation of this file.
1
#pragma once
2
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
#include <esp_gap_ble_api.h>
14
17
void
advertising_set_service_uuid
(
const
uint8_t uuid[], uint16_t length);
19
void
advertising_set_connection_interval
(uint16_t itvl_min, uint16_t itvl_max);
21
void
advertising_get_connection_interval
(uint16_t *itvl_min,
22
uint16_t *itvl_max);
25
bool
advertising_config
(
void
);
29
bool
advertising_handle_config_complete_event
(esp_ble_gap_cb_param_t *param);
33
bool
advertising_handle_config_response_complete_event
(
34
esp_ble_gap_cb_param_t *param);
36
void
advertising_start
(
void
);
37
38
#ifdef __cplusplus
39
}
40
#endif
advertising_set_service_uuid
void advertising_set_service_uuid(const uint8_t uuid[], uint16_t length)
Set the UUID of the service to be advertised.
advertising_get_connection_interval
void advertising_get_connection_interval(uint16_t *itvl_min, uint16_t *itvl_max)
Get the connection interval range from the advertising data.
advertising_start
void advertising_start(void)
Start advertising, after already being configured.
advertising_set_connection_interval
void advertising_set_connection_interval(uint16_t itvl_min, uint16_t itvl_max)
Set the connection interval range in the advertising data.
advertising_handle_config_complete_event
bool advertising_handle_config_complete_event(esp_ble_gap_cb_param_t *param)
Callback that indicates that the configuration of the advertising data was complete.
advertising_config
bool advertising_config(void)
Configure the advertising data, register with the Bluetooth driver.
advertising_handle_config_response_complete_event
bool advertising_handle_config_response_complete_event(esp_ble_gap_cb_param_t *param)
Callback that indicates that the configuration of the advertising response data was complete.
Generated by
1.17.0