Bluetooth Server Mode with ESP32-S3-Zero and iOS #15
Replies: 2 comments 3 replies
-
Thanks for the feedback and compliments. I don't have an iOS devices to test it on. I tested using Midi Chief, setting the output device to be the TnxBT, and it worked. I am not a Midi expert but the Midi command to change Tonex preset should be a Program Change command to channel 0, with the program set a number from 0 to 19. One thing that might help here, if you comment out the initUSB() in main, then you can use the USB port to see the log messages. Once we get that figured out, you can put USB comms back on for final test. case ESP_GATTS_WRITE_EVT:
|
Beta Was this translation helpful? Give feedback.
-
Thanks, I followed your advice and got it to work! I changed this one line in midi_control.c
By reading the log data, i found that my iOS App (Loopy Pro) uses random values for these first two values. In the code they have both to be 0x80, so I changed this line quick and dirty. Original line: Changed line: What do these two first values mean anyway? Thanks, again! Greets SR |
Beta Was this translation helpful? Give feedback.
-
Hello community,
I compiled and flashed the project successfully on my ESP32-S3-Zero with the help of the directions and VS Code. In case of the client mode I got it to work with my M-Wave chocolate controller. Yey thanks a lot!!!!
Now, being curious, I tested the server mode by just switching the "Tonex Controller Bluetooth Support" to "Bluetooth Server". I got it compiled, flashed and working so far that I can successfully connect to "TnxBT" Bluetooth via my iOS device. I tried different apps to send the PC commands via Bluetooth but the Tonex does not react. It kept me thinking, maybe iOS Bluetooth midi is not supported in this case, did you test it? Maybe I have to change some other setting?
Thanks it advance, great work and project!
SR
Beta Was this translation helpful? Give feedback.
All reactions