A GoPro camera to be precise, even though the docs state that
The list of connected peripherals can include those that other apps have connected.
Steps to repdoruce: (iPhone, iOS 16.2)
- Pair a new GoPro camera using GoPro's official Quik app
- Double check that the samera is on
- Double check that the samera shows as connected in Settings iOS app under bluetooth devices
- Launch our app and call https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518924-retrieveconnectedperipherals
- Nothing is returned (a scan finds it though)
- Scan for devices and connect pair/it using our app
- retrieveConnectedPeripherals starts returning the GoPro