#include <MIDI_Interfaces/BLEMIDI/BLEAPI.hpp>
Configuration options for the low-level BLE code.
Definition at line 150 of file BLEAPI.hpp.
Collaboration diagram for BLESettings:Public Attributes | ||
| const char * | device_name = "Control Surface MIDI" | |
| Device name (used for advertising) | ||
| struct { | ||
| uint16_t minimum = 0x000C | ||
| uint16_t maximum = 0x000C | ||
| } | connection_interval | |
| Connection intervals as multiples of 1.25 milliseconds (e.g.0x000C = 15 ms). | ||
| bool | initiate_security = false | |
| Set to true if you want the Arduino to always initiate the Bluetooth bonding or secure connection. | ||
Device name (used for advertising)
Definition at line 152 of file BLEAPI.hpp.
| uint16_t minimum = 0x000C |
Definition at line 156 of file BLEAPI.hpp.
| uint16_t maximum = 0x000C |
Definition at line 157 of file BLEAPI.hpp.
| struct { ... } connection_interval |
Connection intervals as multiples of 1.25 milliseconds (e.g.0x000C = 15 ms).
Set to true if you want the Arduino to always initiate the Bluetooth bonding or secure connection.
As a result, it will show up as a "paired" device on your computer/phone/tablet. If set to false, security is still supported, but the central device should take the initiative.
Definition at line 163 of file BLEAPI.hpp.