Public MIDI over Bluetooth Low Energy API.
Definition in file midi.h.
#include <stdbool.h>#include <stddef.h>#include <stdint.h>
Include dependency graph for midi.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | midi_notify (uint16_t conn_handle, uint16_t char_handle, const uint8_t *data, size_t len) |
| Send a MIDI BLE notification to the client. | |
| void | set_midi_ble_name (const char *name) |
| Set the name of the BLE device. Must be set before calling midi_init(). | |
| void | set_security_initiate_encryption (bool security_initiate_encryption_) |
| Configure whether the Arduino should initiate the bonding/secure connection. | |
| bool | midi_init () |
| Initialize the Bluetooth stack and register the MIDI BLE application with the Bluedroid driver. | |
| bool | midi_deinit () |
| Cleanup the MIDI BLE application and de-initialize the Bluetooth stack. | |
Send a MIDI BLE notification to the client.
Set the name of the BLE device. Must be set before calling midi_init().
Configure whether the Arduino should initiate the bonding/secure connection.
| bool midi_init | ( | ) |
Initialize the Bluetooth stack and register the MIDI BLE application with the Bluedroid driver.
| bool midi_deinit | ( | ) |
Cleanup the MIDI BLE application and de-initialize the Bluetooth stack.