Commit Graph

82 Commits

Author SHA1 Message Date
Roberto 586207d747 Some little modification in Scan times.
Removed a printf in Connect()
Removed avaliableSpace
2021-08-05 17:39:33 +02:00
RobertoHE 895089174b
Update and simplify connect()
(UNTESTED)
Connect() method is simplified. Only one client connection by object is allowed now. If any connection step fails during connection setup, this client is deleted and reset. This deleted client doesn't ocupe for NIMBLE_MAX_CONNECTIONS count now.
Some Serial.print() traces was commented.
Now NotifyCB() doesn't check space available in rx buffer.
2021-08-05 10:58:02 +02:00
Roberto 4e52f70062 Modified received(). Running Status and divided SysEx are accepted 2021-08-04 17:39:48 +02:00
Roberto 5a0fd77bc6 added a newline at the end of file 2021-07-09 19:13:46 +02:00
Roberto 43d9cfbc35 README.md equal like master repo 2021-07-09 19:11:18 +02:00
Roberto 49f7ec93db Removed non-functional BLE-MIDI_Client_ESP32.h 2021-07-09 18:40:21 +02:00
Roberto 5f7d493acd Added characterisctic protecction in write(). Clean-up the code 2021-07-09 18:36:37 +02:00
Roberto 665f343d74 Example added 2021-07-09 18:33:25 +02:00
Roberto 60cfe28c45 Merge branch 'master' of https://github.com/RobertoHE/Arduino-BLE-MIDI 2021-07-03 11:08:41 +02:00
Roberto b830648af4 Limpieza y estructuracion del codigo. Se han añadido defines al inicio del fichero para que modificar las caracteristicas de seguridad, nombre y parámetros de comunicacion. TODO: No depender del método read(), que salten los callback de manera automática 2021-07-03 11:08:22 +02:00
RobertoHE 65d96380b8 test 2021-06-08 16:12:04 +02:00
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 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