The other necessary bit was to update the dependencies to work with the C6, which is weirdly difficult?
I had to use an alternate espressif32 package and update h2zero/NimBLE-Arduino to 2.1.0 which deprecates NimBLEAdvertisedDeviceCallbacks, so that has to be modified in the code to NimBLEScanCallbacks

