- Posts: 3
- Joined: Tue Dec 17, 2019 11:14 am
- Real Name: Steven Dakin
Hi
I am working on controlling a BMPP4K from Matlab (a scientific programming environment) which support low energy bluetooth devices. All I want to do is trigger "record" and "stop-record" in software.
I first pair the device from Windows. My camera later shows up when I list devices in Matlab and I can connect to it and see a nice list of characteristics:
"Generic Access" "1800" "Device Name" "2A00" {["Read" ]}
"Generic Access" "1800" "Appearance" "2A01" {["Read" ]}
"Device Information" "180A" "Manufacturer Name String" "2A29" {["Read" ]}
"Device Information" "180A" "Model Number String" "2A24" {["Read" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "5DD3465F-1AEE-4299-8493-D2ECA2F8E1BB" {["Write" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "B864E140-76A0-416A-BF30-5876504537D9" {["Indicate"]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "6D8F2110-86F1-41BF-9AFB-451D87E976C8" {["Notify" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "7FE8691D-95DC-4FC5-8ABD-CA74339B51B9" {1×3 string }
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "FFAC0C52-C9FB-41A0-B063-CC76282EB89C" {["Write" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "8F1FD018-B508-456F-8F82-3D392BEE2706" {["Read" ]}
I think my woes are very similar to others who have posted to this forum: I can connect, read attributes like device name etc, but I cannot control the device by writing to UUID: 5DD3465F-1AEE-4299-8493-D2ECA2F8E1BB
Changing the name by writing to UUID: FFAC0C52-C9FB-41A0-B063-CC76282EB89C doesn;t work either (does the changed name show up in the Bluetooth menu for ANYONE?)
Either
(a) i'm missing something about what codes I should be sending or the device or
(b) my camera doesn't consider itself paired when accessed from Matlab (it lists its status as 0x03 i.e. powered and connected right? should be 0x07 if paired as well?)
Any advice (from developers on other platforms too!) would be greatly appreciated.
I am working on controlling a BMPP4K from Matlab (a scientific programming environment) which support low energy bluetooth devices. All I want to do is trigger "record" and "stop-record" in software.
I first pair the device from Windows. My camera later shows up when I list devices in Matlab and I can connect to it and see a nice list of characteristics:
"Generic Access" "1800" "Device Name" "2A00" {["Read" ]}
"Generic Access" "1800" "Appearance" "2A01" {["Read" ]}
"Device Information" "180A" "Manufacturer Name String" "2A29" {["Read" ]}
"Device Information" "180A" "Model Number String" "2A24" {["Read" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "5DD3465F-1AEE-4299-8493-D2ECA2F8E1BB" {["Write" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "B864E140-76A0-416A-BF30-5876504537D9" {["Indicate"]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "6D8F2110-86F1-41BF-9AFB-451D87E976C8" {["Notify" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "7FE8691D-95DC-4FC5-8ABD-CA74339B51B9" {1×3 string }
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "FFAC0C52-C9FB-41A0-B063-CC76282EB89C" {["Write" ]}
"Custom" "291D567A-6D75-11E6-8B77-86F30CA893D3" "Custom" "8F1FD018-B508-456F-8F82-3D392BEE2706" {["Read" ]}
I think my woes are very similar to others who have posted to this forum: I can connect, read attributes like device name etc, but I cannot control the device by writing to UUID: 5DD3465F-1AEE-4299-8493-D2ECA2F8E1BB
Changing the name by writing to UUID: FFAC0C52-C9FB-41A0-B063-CC76282EB89C doesn;t work either (does the changed name show up in the Bluetooth menu for ANYONE?)
Either
(a) i'm missing something about what codes I should be sending or the device or
(b) my camera doesn't consider itself paired when accessed from Matlab (it lists its status as 0x03 i.e. powered and connected right? should be 0x07 if paired as well?)
Any advice (from developers on other platforms too!) would be greatly appreciated.