I have a Gear 360 camera and an official bluetooth remote is on it's way from Ebay.
I want to be able to trigger my camera shutter using an HM-10 bluetooth module:
Samsung have not released any SDK or documentation for the Gear 360 and it's bluetooth remote.
I want to know if and how i can program the arduino to use the HM-10 as a substitute for the official bluetooth remote.
On my android tablet i have connected to the HM-10 and queried it's servcies using nRF Connect for Mobile.
nRF Connect for Mobile logs this info about the camera:
I can pair my HM-10 with my camera using a USB serial adapter and AT commands.
So how do i go about establishing what the HM-10 must do to activate the camera shutter?
Could i program an android device (using b4a) or an arduino (using b4r) as a master bluetooth device offering the same services as the camera offers (as in the log from nRF Connect for Mobile)?
Then connect the official bluetooth controller to this master device and click it's remote shutter button.
On the master read the command/data that comes from the remote.
Now i know the 'bluetooth command' that the official remote sends, i can send the same command using and arduino and HM-10?
Is this all possible?
I want to be able to trigger my camera shutter using an HM-10 bluetooth module:
- A spare servo channel on my quadcopter connected to an arduino.
- Arduino connected to HM-10 via serial.
- HM-10 paired with camera.
- Camera suspended from my quadcopter.
Samsung have not released any SDK or documentation for the Gear 360 and it's bluetooth remote.
I want to know if and how i can program the arduino to use the HM-10 as a substitute for the official bluetooth remote.
On my android tablet i have connected to the HM-10 and queried it's servcies using nRF Connect for Mobile.
nRF Connect for Mobile logs this info about the camera:
nRF Connect, 2016-10-07
Gear 360(??????) (8C:1A:BF:??:??:??)
V 07:47:55.058 Connecting to 8C:1A:BF:??:??:??...
D 07:47:55.126 gatt = device.connectGatt(autoConnect = false)
D 07:47:55.707 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
D 07:47:55.747 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I 07:47:55.766 Connected to 8C:1A:BF:??:??:??
D 07:47:55.792 wait(600ms)
V 07:47:56.428 Discovering services...
D 07:47:56.474 gatt.discoverServices()
D 07:47:56.492 [Callback] Services discovered with status: 0
I 07:47:56.514 Services discovered
V 07:47:56.539 Generic Access (0x1800)
- Device Name [R] (0x2A00)
- Appearance [R] (0x2A01)
Generic Attribute (0x1801)
- Service Changed (0x2A05)
Client Characteristic Configuration (0x2902)
V 07:48:00.418 Reading all characteristics...
V 07:48:00.467 Reading characteristic 00002a00-0000-1000-8000-00805f9b34fb
D 07:48:00.495 gatt.readCharacteristic(00002a00-0000-1000-8000-00805f9b34fb)
I 07:48:00.525 Read Response received from 00002a00-0000-1000-8000-00805f9b34fb, value: (0x) 47-65-61-72-20-33-36-30-28-39-34-43-41-37-46-29, "Gear 360(??????)"
A 07:48:00.547 "Gear 360(??????)" received
V 07:48:00.566 Reading characteristic 00002a01-0000-1000-8000-00805f9b34fb
D 07:48:00.585 gatt.readCharacteristic(00002a01-0000-1000-8000-00805f9b34fb)
I 07:48:00.613 Read Response received from 00002a01-0000-1000-8000-00805f9b34fb, value: (0x) 20-06
A 07:48:00.636 "[1568] Unknown" received
V 07:48:04.978 Disconnecting...
D 07:48:05.021 gatt.disconnect()
D 07:48:05.040 [Callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I 07:48:05.066 Disconnected
D 07:48:05.085 gatt.refresh() (hidden)
I can pair my HM-10 with my camera using a USB serial adapter and AT commands.
So how do i go about establishing what the HM-10 must do to activate the camera shutter?
Could i program an android device (using b4a) or an arduino (using b4r) as a master bluetooth device offering the same services as the camera offers (as in the log from nRF Connect for Mobile)?
Then connect the official bluetooth controller to this master device and click it's remote shutter button.
On the master read the command/data that comes from the remote.
Now i know the 'bluetooth command' that the official remote sends, i can send the same command using and arduino and HM-10?
Is this all possible?