Compare commits
2 Commits
Arduino-Na
...
master
| Author | SHA1 | Date |
|---|---|---|
|
|
929c2fc049 | |
|
|
8e740fb499 |
|
|
@ -2,15 +2,14 @@
|
|||
|
||||
#include <ArduinoBLE.h>
|
||||
|
||||
BLEService midiService(SERVICE_UUID);
|
||||
BLEStringCharacteristic midiChar(CHARACTERISTIC_UUID, // standard 16-bit characteristic UUID
|
||||
BLERead | BLEWrite | BLENotify | BLEWriteWithoutResponse, 16); // remote clients will be able to get notifications if this characteristic changes
|
||||
|
||||
#define BLE_POLLING
|
||||
|
||||
BEGIN_BLEMIDI_NAMESPACE
|
||||
|
||||
BLEService midiService(SERVICE_UUID);
|
||||
|
||||
BLEStringCharacteristic midiChar(CHARACTERISTIC_UUID, // standard 16-bit characteristic UUID
|
||||
BLERead | BLEWrite | BLENotify | BLEWriteWithoutResponse, 16); // remote clients will be able to get notifications if this characteristic changes
|
||||
|
||||
template<typename T, int rawSize>
|
||||
class Fifo {
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ public:
|
|||
_client->disconnect();
|
||||
_client = nullptr;
|
||||
|
||||
return !_client->isConnected();
|
||||
return true;
|
||||
}
|
||||
|
||||
void write(uint8_t *data, uint8_t length)
|
||||
|
|
|
|||
Loading…
Reference in New Issue