Commit Graph

46 Commits

Author SHA1 Message Date
lathoub fa85454114 parser pointer types as int, not byte
increase pointer size, spec says message can have any length (quick internet search indicate packet length can be larger than 255)
2021-08-04 05:40:29 +02:00
lathoub 3d44ddc3a7 updated examples (SysEx with RealTime msg in the middle) 2021-08-04 05:13:53 +02:00
lathoub 20354c247c further refinement of the parser
need to further check edge cases:
- RealTime msg in the middle of a regular msg
- RealTime msg in the middle of a SysEx
2021-08-04 05:06:05 +02:00
lathoub 652c390483 Update BLEMIDI_Transport.h
cleanup
2021-08-03 21:39:38 +02:00
lathoub ecd2c2bf22 check for complete sysex 2021-08-03 21:38:17 +02:00
lathoub 687676dc44 bug fix
https://github.com/lathoub/Arduino-BLE-MIDI/issues/27
2021-08-03 10:53:43 +02:00
lathoub 802f7a3c9c further cleanup 2021-08-02 22:05:04 +02:00
lathoub a76ebc82c6 cleanup 2021-08-02 21:18:33 +02:00
lathoub 5cfcf20262 Bug Fix and support for multipart SysEx 2021-08-02 19:01:59 +02:00
lathoub aa0f6bc44a added end() method, stop'ping BLE 2021-05-28 21:06:07 +02: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
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 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 6eaf748522
fix bug that points to non-exiting file
Thank you @alf45tar for pointing this out
2020-01-05 16:55:32 -05: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 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
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
alf45tar e18a6fd005
Update Ble_esp32.h 2018-12-31 10:44:26 +01:00
Akihiro Komori 98cdddfb16 add BLE2902 2018-12-11 15:00:25 +09: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
lathoub 6c0b22e2ca abstract MIDI interface according to 47effects/midi 2018-11-04 08:41:54 +01:00
lathoub 761df08866 removed submodule MIDI 2018-11-03 19:26:04 +01:00
lathoub 9794faffa3 added comment 2018-11-03 17:51:10 +01:00
lathoub 68ff069833 moved all specific MIDI code, types to a single file 2018-11-03 17:46:41 +01:00
lathoub 355b2e7065 added abstract Midi Interface class
added abstract Midi Interface class, that needs to be specialized for BLE, AppleMIDI or SerialMIDI - first attempt
2018-11-03 17:08:45 +01:00
lathoub 1faeb6d0e7 use of the auto type specifier 2018-11-03 11:06:10 +01:00
lathoub b92377bd5c copied BLE MIDI copy from Pedalino (alf45tar)
Copied all BLE MIDI related code from Pedalino (alf45tar) and pasted here. Thank you alf45tar!
2018-11-03 10:33:47 +01:00
lathoub 42235de680 aligning code with 47Effects/Midi and AppleMIDI projects
noteOn -> sendNoteOn
2018-11-02 17:12:45 +01:00
lathoub 0eaffcc058 add MIDI submodule 2018-10-27 16:07:10 +02:00
lathoub 296853a43f generic MIDI commands in a seperate header 2018-10-27 13:12:58 +02:00
lathoub 2fc509e318 added all output MIDI command stubs 2018-10-27 11:12:10 +02:00
lathoub 7de74ffd23 added noteOn 2018-10-24 12:04:31 +02:00
lathoub c6b246f9dd added connected/disconnected events 2018-10-24 11:27:29 +02:00
lathoub ebc5cce602 added first device: esp32 2018-10-24 00:13:43 +02:00
lathoub f5ac29968e proof of concept 2018-10-23 22:04:00 +02:00