goprowifihack icon indicating copy to clipboard operation
goprowifihack copied to clipboard

GoPro MAX: Exiting pairing mode with BLE

Open MDThomsen opened this issue 2 years ago • 1 comments

Problem:

When trying to pair with the GoPro MAX using Android without using the official GoPro app, the camera will remain in the pairing mode afterwards. Is there a BLE equivalent characteristic that can be written to to exit the pairing mode? Similarly to this WiFi command:

http://10.5.5.9/gp/gpControl/command/wireless/pair/complete?success=1&deviceName=...

From my testing it seems that the WiFI does not get enabled when the camera is in pairing mode.

Details:

  • GoPro Camera(s): GoPro Max
  • Firmware Version: 01.30

MDThomsen avatar Aug 23 '22 13:08 MDThomsen

Hi, I just solved this problem for me and I would like to share the solution!

I write the following value to characteristic GP-0091 "Network Management Command" ("b5f90091-aa8d-11e3-9046-0002a5d5c51b"): byte[] msg = {0x0f, 0x03, 0x01, 0x08, 0x00, 0x12, 0x09, 'G', 'o', 'E', 'a', 's', 'y', 'P', 'r', 'o'};

Where

byte[0] = length of the payload, 
byte[1-5] = pair completed command, 
byte[6] = length of the name of the master and 
byte[7-x] the name of the master

The solution will be included in the next version of GoEasyPro Android, in the sendBtPairComplete() function.

Edit: I have successfully tested the function with Hero5 and Hero8.

sepp89117 avatar Jan 16 '23 14:01 sepp89117