Commit Graph

14 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
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
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 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