Thanks, Since esp32-s3 supports capacitive touch pins, I've now added touch code so we can use a TTP223 Capacitive Touch Sensor through the plastic back cover of the switch without needing to wire to any buttons. This allows us to wake the chip up if it's in sleep mode or sensing touch for 5 seconds allows us to reset the config file.Nice work !
Also done now is the bluetooth code on the esp32-s3 side, currently it allows us to connect to the esp32-s3 with the following UUID's:
SERVICE_UUID "8f41ca5d-f679-45bb-a603-9bc1c5eedefc"
CHARACTERISTIC_UUID "432954d8-eef6-41b4-9686-749f35e6fa6d"
COMMAND_UUID "0000abcd-0000-1000-8000-00805f9b34fb"
RESPONSE_UUID "0000dcba-0000-1000-8000-00805f9b34fb"
So for example if our bluetooth app on our phone is connected to the esp32-s3 we can send and receive like this:
If we send command - LIST, this will create a list of all the payloads stored in the payloads folder.
If we send commnad - SELECT:ourpayload.bin then we write a new file to esp32-s3 with the payload we selected.
I've added a few more commands for debugging, but no need to post them for now...
Still to do: Create an apk file for Android, I am going to make this with MIT app inventor 2 website and then post the aia file so people that don't know how to make an Android app can modify this easily to add their own commands, change the background or whatever.
Code will be put on github once this is completed, esp32-s3 code is finished now, so I just need to make the android app and then I'll release.










