- Posts: 4
- Joined: Thu Jul 11, 2019 1:27 pm
- Real Name: Peter Marsoun
Hey to all.
I'm trying to control the BMPCC 4k camera via bluetooth & Linux (Ubuntu - Bluez).
There is lack of detailed info about bluetooth control from BlackMagic, so methods of try&fail I got camera communicating, however not fully.
I'm able to connect the camera via BLE (gatttool connect) and read characteristics (UUIDs).
After that I'm able to read some of them, like Camera type / manufacturer. However some of them can not be read:
"Error: Characteristic value/descriptor read failed: Attribute can't be read"
Camera and computer are not paired, because GATTTOOL does not provide any pairing methods.
Bluetoothctl is not able to pair the camera properly unfortunately.
Must be camera paired to read all GATT UUIDs?
Must i write something to the camera to make it work?
Or what I'm missing?
^Croot@Alterum:~# gatttool -b D0:CF:5E:38:40:A0 -I
[D0:CF:5E:38:40:A0][LE]> connect
Attempting to connect to D0:CF:5E:38:40:A0
Connection successful
[D0:CF:5E:38:40:A0][LE]> characteristics
handle: 0x0002, char properties: 0x02, char value handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0004, char properties: 0x02, char value handle: 0x0005, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x0007, char properties: 0x02, char value handle: 0x0008, uuid: 00002a29-0000-1000-8000-00805f9b34fb
handle: 0x0009, char properties: 0x02, char value handle: 0x000a, uuid: 00002a24-0000-1000-8000-00805f9b34fb
handle: 0x000c, char properties: 0x08, char value handle: 0x000d, uuid: 5dd3465f-1aee-4299-8493-d2eca2f8e1bb
handle: 0x000e, char properties: 0x20, char value handle: 0x000f, uuid: b864e140-76a0-416a-bf30-5876504537d9
handle: 0x0011, char properties: 0x10, char value handle: 0x0012, uuid: 6d8f2110-86f1-41bf-9afb-451d87e976c8
handle: 0x0014, char properties: 0x1a, char value handle: 0x0015, uuid: 7fe8691d-95dc-4fc5-8abd-ca74339b51b9
handle: 0x0017, char properties: 0x08, char value handle: 0x0018, uuid: ffac0c52-c9fb-41a0-b063-cc76282eb89c
handle: 0x0019, char properties: 0x02, char value handle: 0x001a, uuid: 8f1fd018-b508-456f-8f82-3d392bee2706
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0010
Characteristic value/descriptor: 00 00
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000f
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000f
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000e
Characteristic value/descriptor: 20 0f 00 d9 37 45 50 76 58 30 bf 6a 41 a0 76 40 e1 64 b8
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000e
Characteristic value/descriptor: 20 0f 00 d9 37 45 50 76 58 30 bf 6a 41 a0 76 40 e1 64 b8
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000e
Characteristic value/descriptor: 20 0f 00 d9 37 45 50 76 58 30 bf 6a 41 a0 76 40 e1 64 b8
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0002
Characteristic value/descriptor: 02 03 00 00 2a
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000c
Characteristic value/descriptor: 08 0d 00 bb e1 f8 a2 ec d2 93 84 99 42 ee 1a 5f 46 d3 5d
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000c
Characteristic value/descriptor: 08 0d 00 bb e1 f8 a2 ec d2 93 84 99 42 ee 1a 5f 46 d3 5d
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> sec-level high
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> sec-level medium
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
I'm trying to control the BMPCC 4k camera via bluetooth & Linux (Ubuntu - Bluez).
There is lack of detailed info about bluetooth control from BlackMagic, so methods of try&fail I got camera communicating, however not fully.
I'm able to connect the camera via BLE (gatttool connect) and read characteristics (UUIDs).
After that I'm able to read some of them, like Camera type / manufacturer. However some of them can not be read:
"Error: Characteristic value/descriptor read failed: Attribute can't be read"
Camera and computer are not paired, because GATTTOOL does not provide any pairing methods.
Bluetoothctl is not able to pair the camera properly unfortunately.
Must be camera paired to read all GATT UUIDs?
Must i write something to the camera to make it work?
Or what I'm missing?
^Croot@Alterum:~# gatttool -b D0:CF:5E:38:40:A0 -I
[D0:CF:5E:38:40:A0][LE]> connect
Attempting to connect to D0:CF:5E:38:40:A0
Connection successful
[D0:CF:5E:38:40:A0][LE]> characteristics
handle: 0x0002, char properties: 0x02, char value handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0004, char properties: 0x02, char value handle: 0x0005, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x0007, char properties: 0x02, char value handle: 0x0008, uuid: 00002a29-0000-1000-8000-00805f9b34fb
handle: 0x0009, char properties: 0x02, char value handle: 0x000a, uuid: 00002a24-0000-1000-8000-00805f9b34fb
handle: 0x000c, char properties: 0x08, char value handle: 0x000d, uuid: 5dd3465f-1aee-4299-8493-d2eca2f8e1bb
handle: 0x000e, char properties: 0x20, char value handle: 0x000f, uuid: b864e140-76a0-416a-bf30-5876504537d9
handle: 0x0011, char properties: 0x10, char value handle: 0x0012, uuid: 6d8f2110-86f1-41bf-9afb-451d87e976c8
handle: 0x0014, char properties: 0x1a, char value handle: 0x0015, uuid: 7fe8691d-95dc-4fc5-8abd-ca74339b51b9
handle: 0x0017, char properties: 0x08, char value handle: 0x0018, uuid: ffac0c52-c9fb-41a0-b063-cc76282eb89c
handle: 0x0019, char properties: 0x02, char value handle: 0x001a, uuid: 8f1fd018-b508-456f-8f82-3d392bee2706
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0019
Characteristic value/descriptor: 02 1a 00 06 27 ee 2b 39 3d 82 8f 6f 45 08 b5 18 d0 1f 8f
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0010
Characteristic value/descriptor: 00 00
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000f
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000f
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000e
Characteristic value/descriptor: 20 0f 00 d9 37 45 50 76 58 30 bf 6a 41 a0 76 40 e1 64 b8
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000e
Characteristic value/descriptor: 20 0f 00 d9 37 45 50 76 58 30 bf 6a 41 a0 76 40 e1 64 b8
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000e
Characteristic value/descriptor: 20 0f 00 d9 37 45 50 76 58 30 bf 6a 41 a0 76 40 e1 64 b8
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x0002
Characteristic value/descriptor: 02 03 00 00 2a
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000c
Characteristic value/descriptor: 08 0d 00 bb e1 f8 a2 ec d2 93 84 99 42 ee 1a 5f 46 d3 5d
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000c
Characteristic value/descriptor: 08 0d 00 bb e1 f8 a2 ec d2 93 84 99 42 ee 1a 5f 46 d3 5d
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> sec-level high
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read
[D0:CF:5E:38:40:A0][LE]> sec-level medium
[D0:CF:5E:38:40:A0][LE]> char-read-hnd 0x000d
Error: Characteristic value/descriptor read failed: Attribute can't be read