I've paired successfully. I am simply trying to send MIDI
Instead of successfully establishing a connection, I get this nonsense on the serial port, and it never fires the connect callback. Windows seems to think it's connected, however
The worst part is, about 1 in every 10 times it works. Frankly, I don't like the way you call new and delete everywhere either. Heap fragmentation is a thing, and the struggle is real. This library is huge and slow and I don't how much of that has to do with what you're wrapping, but between the problems I'm having with it, and the time it takes to actually upload and test due to the size, it makes developing painful. Sometimes less is more.
Anyway, here's my code. I take it I must be doing something wrong. Forgive my deinit routine. I'm sure it doesn't work yet. I don't know what you allocated that I have to free.
I've paired successfully. I am simply trying to send MIDI Instead of successfully establishing a connection, I get this nonsense on the serial port, and it never fires the connect callback. Windows seems to think it's connected, however
The worst part is, about 1 in every 10 times it works. Frankly, I don't like the way you call new and delete everywhere either. Heap fragmentation is a thing, and the struggle is real. This library is huge and slow and I don't how much of that has to do with what you're wrapping, but between the problems I'm having with it, and the time it takes to actually upload and test due to the size, it makes developing painful. Sometimes less is more.
Anyway, here's my code. I take it I must be doing something wrong. Forgive my deinit routine. I'm sure it doesn't work yet. I don't know what you allocated that I have to free.