Ricoh iOS Camera SDK error Can not find cameras

Thanks for letting this know that you are trying to setup a meeting.

Moderator note: personal info edited out to protect privacy from spam trollers

@max_a I’m available now or 11:30am PDT (in 15 minutes from now). Can you confirm what time would work for you? Probably just need 10 minutes or so. Sending a DM as well.

I’m available now. please send me the meeting invite.

Regards
Maksud

Sent a google meet url to your email address. I’m on the line now.

Thanks, Could you please send an invite to email address as well pls

moderator note: email edited out to protect privacy of OP

Sent! Please check your inbox.

Hi Jesse,

I hope you are doing good, We are facing one more issue, I want to communicate with camera using Bluetooth instead of wifi. Because if I connect camera with wifi then I’m able to access the internet. So I want to do this via bluetooth. Please let me know if you have a SDK which support bluetooth connectivity

cc: @craig

There is only the THETA BLE API, no example code.

Notice of website closure

There was some experimentation with an easier method to test a few commands.

Thank you so much for the article. I’ll go through it and get back to you if there is any concern.

1 Like

Hi @craig @jcasman ,

I hope you are doing good. I’m facing one issue while connecting to Bluetooth. I have written the code to get the services and respective characteristics, But I’m not able to read or write anything.
I’m getting below Error.
" Error Domain=CBATTErrorDomain Code=1 “The handle is invalid.” UserInfo={NSLocalizedDescription=The handle is invalid.}"

Reference Doc:
https://api.ricoh/docs/theta-ble-api/camera_status_command/battery_level/

Can you confirm that you have gone through the BLE Getting Started document?

Getting_started

Service: "1D0F3602-8DFB-4340-9045-513040DAD991" (Shooting Control Command)
Characteristic: "ABB94D51-189F-455B-951D-ABE9B0333080" (ISO)
Property: Read
Service: "1D0F3602-8DFB-4340-9045-513040DAD991" (Shooting Control Command)
Characteristic: "ABB94D51-189F-455B-951D-ABE9B0333080" (ISO)
Property: Write
Value: 0x9001

Thanks @craig for your response,

I have already gone through the document link, I’m getting the services and characteristics but I’m ended
with below error.

Optional(Error Domain=CBATTErrorDomain Code=1 “The handle is invalid.” UserInfo={NSLocalizedDescription=The handle is invalid.})

Please help me, I’m completely blocked. I didn’t find any sample code on google or anywhere else. Your help would be appreciated if you provide me the sample code.

I actually have not tried this myself. I need to check with RICOH to see if there is any example code available. @jcasman and I meet with a RICOH manager on Tuesday.

Thanks @craig, Let me know if there is a sample code for Bluetooth connectivity.

Hello @craig @jcasman, Is there any update.

@max_a We are working on getting an example or at least clarifying information. We don’t have an update today. We are meeting with RICOH tomorrow (Tues, Nov 23) and may be able to provide more information sometime after the call.

@jcasman Thank you so much for the heads up.

1 Like

Can you confirm that you are using the WebAPI to successfully turn on bluetooth power first and that you’re getting a positive response. In this situation, you must first connect with Wi-Fi to turn on Bluetooth in the camera.
_bluetooth_power

then, can you confirm that you’re successfully setting the UUID of the BLE device with the Wi-Fi API using the Wi-Fi connection.

Camera._set_bluetooth_device

Once you found the Bluetooth device with deviceName, are you setting Auth Bluetooth device?

Auth_bluetooth_device

Do you have a log of the above steps. If there is a problem, we can forward the log to RICOH.

Thanks @craig, for the information, I was on leave so couldn’t reply you back. There is one more concern.
Can we transfer the image using bluetooth ?
Can we do live camera feed using bluetooth ?

I had read one article where it was mentioned that we cannot transfer the photo via Bluetooth.

You cannot transfer the photo/image with bluetooth. You can only trigger the shutter to take a picture. You must then use a USB cable or Wi-Fi to transfer the photo.

You cannot live stream over bluetooth.

If you are OK with motionjpeg, you must use Wi-Fi for the stream. Otherwise, you will need to use a USB cable.