Commit Graph

26 Commits

Author SHA1 Message Date
Atsushi Sasaki 8e740fb499 fix panic'ed bug when call BLEMIDI_Client_ESP32::end() is called 2022-09-19 17:38:11 +09:00
Roberto ebe18daaea Bug fixed of dad42b4dde (diff-bf9bc149421b933caf483239631a8722a328bfd41cd331fa986737433b42fcd7). 2022-01-18 16:51:55 +01:00
Roberto dad42b4dde Force New Connection
Add functionalities for https://github.com/lathoub/Arduino-BLE-MIDI/issues/40 issue.
2021-12-23 18:41:39 +01:00
lathoub e0afefb9a2 re-advertise after disconnect (ESP32 & ESP32_NimBLE) 2021-09-22 22:42:12 +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 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
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 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 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 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 b22cc18fc0 from feat/2.0.0 2020-10-03 04:11:56 +02:00