RobertoHE
81462befb2
Add Notification and Response parameters to Config
...
Added after Nimble Lib update.
end() updated.
2022-11-21 17:45:01 +01:00
RobertoHE
fe3412b289
Minor Syntax correction
...
Tabulation indentation fixed after last commit changes and other minor changes in comments
2022-06-21 19:19:32 +02:00
RobertoHE
24dce9ac6a
Changed #define for Struct in Config
...
Mayor changes in all configuration setup.
Create a custom Config Struct for the client, it heritages from regular repo Struct and adds specific settings of the class.
All configurations, including onPassRequest function, may be configured in the upper layers of the code, like in main.c
2022-06-21 19:05:44 +02:00
RobertoHE
39c16474b3
Increased readability in onResult
...
Improved IF-syntaxis
2022-06-21 18:53:46 +02:00
RobertoHE
53e01392be
Debug Verbose
...
Serial.print changed by debugging verbose. It may be abled using #define MIDIBLECLIENTVERBOSE
2022-06-21 18:46:23 +02:00
RobertoHE
3fc460ea21
Merge pull request #2 from RobertoHE/patch-1
...
fixed template sintaxis of Client
2022-06-06 16:34:14 +02:00
RobertoHE
c69bb30ff1
Change Define Template
2022-06-06 16:32:10 +02:00
lathoub
75e994c95d
working on nRF52
2022-06-05 14:11:40 +02:00
lathoub
3c789b0b5f
removed all event code
...
cleanup - removed all polling code
2022-06-05 10:26:47 +02:00
lathoub
edd2f21a39
Update BLEMIDI_ArduinoBLE.h
...
added : _midiChar.writeValue((uint8_t)0);
otherwise the device will disconnect immediately
2022-06-04 22:34:11 +02:00
lathoub
8c605fea37
Update BLEMIDI_Transport.h
...
removed logging
2022-06-04 22:33:24 +02:00
lathoub
c8334f6b02
rewrote non-customer constructors
2022-06-04 15:09:46 +02:00
RobertoHE
26eeb9261a
Update BLEMIDI_Client_ESP32.h
...
Some bug fixed related with AdvertisedDeviceCallbacks and templates.
#define BLEMIDI_CREATE_INTANCE fixed
2022-06-02 18:42:59 +02:00
lathoub
8536bc4ddf
Update BLEMIDI_ESP32.h
2022-06-02 15:59:22 +02:00
lathoub
b91186d6a1
added BLE Client template arguments
...
modig
2022-06-02 15:59:14 +02:00
lathoub
948fc1165f
added template params
2022-06-01 23:44:24 +02:00
lathoub
ab44659ce3
changed template arg to _Setting
2022-06-01 08:30:12 +02:00
lathoub
1ae439d76c
tmp simplified template arg to int
2022-06-01 08:14:45 +02:00
lathoub
12c1e135d4
first commit for customSettings
2022-05-31 23:01:42 +02: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
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
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
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
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
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
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