Commit Graph

156 Commits

Author SHA1 Message Date
alf45tar 3f9b48cb1a
Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts 2021-12-08 12:51:48 +01:00
alf45tar f8236efa5f
Moved SERVICE_UUID and CHARACTERISTIC_UUID inside namespace to avoid conflicts 2021-12-08 12:49:56 +01:00
lathoub 4724511fa8
Update README.md 2021-09-24 12:01:16 +02:00
lathoub c05b5301c5
Update README.md 2021-09-24 11:58:09 +02:00
lathoub 5698c0c4ae
added support for RP2040 2021-09-24 11:56:13 +02:00
lathoub dbeadf5a7f events return a pointer to this for easy event chaining 2021-09-23 22:25:31 +02:00
lathoub 950ff4e219 updated parser for MultiPart SysEx
Thanks to @RobertoHE
2021-09-23 17:44:40 +02:00
lathoub e0afefb9a2 re-advertise after disconnect (ESP32 & ESP32_NimBLE) 2021-09-22 22:42:12 +02:00
lathoub 927b3ac8be
Merge pull request #36 from RobertoHE/master
Improve transmissions in client mode (thank you @RobertoHE)
2021-09-21 22:06:03 +02:00
Roberto b3df11a0ea Update Communication Parameters 2021-09-21 18:22:25 +02:00
Roberto 6ea32b340f Transmision power 2021-09-21 18:16:13 +02:00
RobertoHE f9ad1e5b83
Transmition speed Improved WriteNoResponse
Now it sends data to server in Write Without Response mode. This increase the transmission speed and it get adapted to MIDI over BLE protocol.
Some devices needs a first message with confirmation for clean security flags. After a connection or after an error, the first message is sended like Write (with response).
2021-09-21 17:39:06 +02:00
lathoub 6045d2270c setName 2021-09-19 16:48:20 +02:00
lathoub 3b08fec7da
remove duplicate end()
thanks @alf45tar for spotting!
2021-08-10 17:02:41 +02:00
lathoub 697e0d40b0
Delete BLE-MIDI_Client_ESP32.h
see PR #30
2021-08-06 09:12:51 +02:00
lathoub f1e0982e6b
Merge pull request #30 from RobertoHE/master
Client for BLEMIDI
2021-08-06 09:11:31 +02:00
RobertoHE 3c8f54c459
Create BLE-MIDI_Client_ESP32.h
For pull request only
2021-08-06 08:29:48 +02:00
RobertoHE c87819b42e
Delete src/hardware/src directory 2021-08-06 08:27:37 +02:00
RobertoHE ab1dd1567f
Create BLE-MIDI_Client_ESP32.h 2021-08-06 08:23:03 +02:00
lathoub 841754ce96 Update .gitignore 2021-08-06 06:55:46 +02:00
RobertoHE ad26e7b4ed
Undo Changes for PullRequest
Conflict with other opened pull request
2021-08-06 00:00:04 +02:00
Roberto 31817fba8e Parser Upgraded 2021-08-05 21:31:42 +02:00
RobertoHE 6d00baaf53
Merge pull request #1 from RobertoHE/Client_Upgrade
Update and simplify connect()
2021-08-05 17:41:40 +02:00
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 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