Commit Graph

122 Commits

Author SHA1 Message Date
Roberto b8831e4d3e Reconnect mechanism done in avaliable funcion. Avaliable is called in MIDI.read() in funtional code. FIXED: Write method now works. TODO: Clear debug comments and structure the code. Change scanDone and doConnect global variables inside AdviceCB class. BUG: If input buffer is completly full it is not possible send or recive anything 2021-06-05 14:19:52 +02:00
Roberto 75069b93ea First stable client connection. TODO: autoReconnect and ConnectTo 2021-05-31 18:46:43 +02:00
lathoub aa0f6bc44a added end() method, stop'ping BLE 2021-05-28 21:06:07 +02:00
lathoub e0fb12b9c0
Merge pull request #28 from per1234/mbed_nano
Add mbed_nano to list of compatible architectures
2021-05-06 09:01:21 +02:00
per1234 37ac074af7
Add mbed_nano to list of compatible architectures
In the 2.0.0 release of the Arduino Mbed OS Boards platform, the mbed architecture split into four architectures:
- mbed_edge: Arduino Edge Control
- mbed_nano: Nano 33 BLE and Nano RP2040 Connect
- mbed_rp2040: Raspberry Pi Pico
- mbed_portenta: Portenta H7

The mbed architecture should be retained for backwards support, but the new mbed_nano should also be added to avoid spurious incompatibility warnings and the library's examples being shown under the File > Examples > INCOMPATIBLE menu of the Arduino IDE when the Nano 33 BLE board is selected.
2021-05-04 02:01:20 -07:00
lathoub 0cc25e9ced
Update MidiBle.ino 2020-12-20 23:38:43 +01:00
lathoub 30d101bca6
Update MidiBle.ino 2020-12-20 23:37:03 +01:00
lathoub f4927cd4ea reworked basic demo
led comes on when connected, noteOn turns it off, NoteOff turn it back on
2020-12-20 23:10:35 +01:00
lathoub 4aee6708ca Windows connection to ESP32
Windows connection to ESP32, based on suggestion from @wakwak-koba (I get notes in the MIDIBerry input monitor using ESP32, but not using NimBLE ?? (MidiBle example)
2020-10-25 22:52:27 +01:00
lathoub cc1d4ef1e1
Merge pull request #22 from wakwak-koba/ESP32_NimBLE
Fixed not being able to pair with Windows when using NimBLE, thank you @wakwak-koba !
2020-10-25 19:13:08 +01:00
wakwak_koba d8746c2967 Revert examples 2020-10-25 06:14:46 +09:00
wakwak_koba ab02fbc108 Fixed not being able to pair with Windows when using NimBLE
and, consideration for boards that don't implement the `LED_BUILTIN` constant
2020-10-23 08:12:52 +09:00
lathoub 9b41d732ef
Update README.md 2020-10-18 07:49:50 +02:00
lathoub 71ec6db9bc
Update README.md 2020-10-11 11:49:14 +02:00
lathoub 8fd2a1904a
Delete .gitmodules 2020-10-11 11:46:37 +02:00
lathoub 5dd5e5f087 Merge branch 'master' of https://github.com/lathoub/Arduino-BLE-MIDI 2020-10-11 11:46:17 +02:00
lathoub ed82872725 Delete .development 2020-10-11 11:46:06 +02:00
lathoub a3206579e4
Update README.md 2020-10-11 11:45:28 +02:00
lathoub 56386ace3c
Update README.md 2020-10-11 11:44:25 +02:00
lathoub cec5fe3f13
Update README.md 2020-10-11 11:39:36 +02:00
lathoub f274037f81 rename BLEMIDI to BLEMIDI_Transport & cleanup
- rename BLEMIDI to BLEMIDI_Transport (avoid class name collision)
- cleanup
2020-10-11 11:37:45 +02:00
lathoub 5f8a38a5b8 cleanup 2020-10-03 17:13:12 +02:00
lathoub ba7c598a52 complete send SysEx (over multiple packets)
Test multiple packets by sending sysex11 over a buffer of 5 bytes of more (change byte mTxBuffer[Settings::MaxBufferSize];)

Interesting edge cases are with buffer len: 5,7 and 12 (with sysex11)
2020-10-03 10:02:49 +02:00
lathoub 359c9acd22 added basic sysex (1 packet) + example 2020-10-03 06:19:37 +02:00
lathoub 700159ab93 BLE-MIDI => BLEMIDI in filenames 2020-10-03 04:20:53 +02:00
lathoub b22cc18fc0 from feat/2.0.0 2020-10-03 04:11:56 +02:00
lathoub 35c5aab271
Update library.properties
consistent naming in sentence for all MID Transport layer of the MIDI library ("MIDI I/Os for Arduino")
2020-09-19 07:18:18 +02:00
lathoub 33d3c7fd11
Update README.md 2020-09-09 09:13:47 +02:00
lathoub 7505448441
Update README.md 2020-09-09 09:13:15 +02:00
lathoub 6eaf748522
fix bug that points to non-exiting file
Thank you @alf45tar for pointing this out
2020-01-05 16:55:32 -05:00
lathoub 940c1aa886
Merge pull request #10 from arik-caspi/BLE-Midi-Client
Adding Support for BLE Midi Client
2020-01-05 10:58:48 +01:00
Arik Caspi 89731d5def Adding Support for BLE Midi Client
Currently library only support BLE Midi server
Adding the option connect as client
2019-12-21 13:01:41 +02:00
lathoub 01edf0c6be removed wrong ref to submodule 2019-08-06 18:42:08 +02:00
lathoub a23461e4f7 added midi-common submodule 2019-08-06 18:34:56 +02:00
lathoub 4daf0a477e removed submodule 2019-08-06 18:33:37 +02:00
lathoub 71a32806e1 abstract MIDI interface using submodule
1) abstract MIDI interface using submodule
2) modify ble_esp32 to abstract MIDI interface (renamed serialize to write)
3) fixed #include path
4) exmaple sends NoteOn/NoteOff and removed call to read();
2019-08-05 22:17:47 +02:00
lathoub 3db6908619
Merge pull request #6 from dacodekid/master
Fix sendChannelMessage Signature on SendNoteOn/Off
2019-02-23 08:41:05 +01:00
Da CodeKid 79c7d4ec22
Fix sendChannelMessage Signature on SendNoteOn/Off
Fix sendChannelMessage call Signature on SendNoteOn & SendNoteOff functions
2019-02-18 14:35:25 -05:00
lathoub 810429cdd2
Update README.md 2018-12-31 11:20:45 +01:00
lathoub 876e6fd2bd
Update README.md
added inspiration by Pedalino
2018-12-31 11:20:33 +01:00
lathoub 0e06b9846b
Merge pull request #5 from alf45tar/master
Update Ble_esp32.h
2018-12-31 11:00:48 +01:00
alf45tar e18a6fd005
Update Ble_esp32.h 2018-12-31 10:44:26 +01:00
lathoub d36f526949
Merge pull request #4 from comoc/add-cccd-2902
add BLE2902
(to accept notify registration at the client.)
2018-12-23 13:39:42 +01:00
Akihiro Komori 98cdddfb16 add BLE2902 2018-12-11 15:00:25 +09:00
lathoub 90410c60b8 added NoteOff 2018-11-11 09:07:06 -05:00
lathoub 6cb35ccdea more parsing of messages 2018-11-11 08:58:28 -05:00
lathoub 26c4973e12 implemented parser for incoming messages 2018-11-11 08:49:56 -05:00
lathoub e91e4209b1 renamed receive -> read
similar to MIDI on Arduino by 47effects
2018-11-10 20:20:22 -05:00
lathoub 920fbe1644 cleanup 2018-11-10 20:07:47 -05:00
lathoub c3f40ace79 added virtual serialization methods
the serialization methods are the one that will send the MIDI buyes - either Serial, over AppleMIDI or BLE MIDI
2018-11-10 11:33:23 -05:00