gopro / OpenGoPro

An open source interface specification to communicate with a GoPro camera with accompanying demos and tutorials.
https://gopro.github.io/OpenGoPro/
MIT License
626 stars 142 forks source link

Pairing mode after restart #523

Open ruzrulit opened 1 month ago

ruzrulit commented 1 month ago

I have a mobile app that set a livestream on gopro via BLE.

Case: when the battery goes low, i need to replace it. After replacement the stream should continue automatically without any interaction.

Problem: the connection could not be established automatically because the pairing mode is off after battery changing and a ble manager cannot find it during the scanning.

Question: is it possible to set gopro camera that way, so the pairing mode will be on all the time? or is there any other solution? or technically now it is not possible?

gstewart-gpsw commented 1 month ago

If you have paired once, you should be able to connect after battery replace. The pairing keys are stored and not dependent on the battery.

ruzrulit commented 1 month ago

The pairing keys are the same, it's true. The problem is, that the ble manager does not find during scanning after battery replace. I need to switch on again the "Device connection" on the GoPro to be able to discover the camera.

piratinskii commented 1 month ago

I have same problem and I don't know how to fix it. But my connection just crash sometimes and I have to open Connection - Quik App every time to fix it. Program just says that it can't connect to my camera.