-
Okay great info thanks!
I'm afraid you can't. As far as I've seen iOS just caches the services and there's not that much that can be done about it - you just need to reboot the phone, or use an Android phone which won't cache them.
The sig has a gatt value called "Services Chagned" if this is set to true, the iPhone will reinit the cache. You might want to consider this for the future, I know nordic provides this falg to be set. https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gatt.service_changed.xml
Yes and no. It'll automatically power save, but if you started it with the TTL converter on the serial port then serial will stay initialised, and that takes some power (~1mA?). You can use
Serial1.unsetup()
to disable it, or once you have saved your code just booting without the converter attached will mean that serial isn't initialised.I'm afraid you can't. As far as I've seen iOS just caches the services and there's not that much that can be done about it - you just need to reboot the phone, or use an Android phone which won't cache them.