theta-ble-client is a mobile app SDK to connect to the RICOH THETA X and Z1 models with bluetooth. Demos are available for Android, iOS and React Native.
Documentation, including implementation and use instructions are in the docs sub-folder.
I built the Android library on Windows 11 with no problems.
PS C:\Users\craig\Documents\Development\ricoh\2023\theta-ble-client> ./gradlew assemble
> Task :kotlin-multiplatform:compileReleaseKotlinAndroid
w: file:///C:/Users/craig/Documents/Development/ricoh/2023/theta-ble-client/kotlin-multiplatform/src/commonMain/kotlin/com/ricoh360/thetableclient/ThetaBle.kt:236:51 This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD SUCCESSFUL in 5m 34s
50 actionable tasks: 50 executed
I like that there is a warning on the ThetaBle.kt build file.
This is a delicate API and its use requires care. Make sure you fully read and understand documentation of the declaration that is marked as a delicate API.
I got this question from the community. Is it possible to use bluetooth without using Wi-Fi at all?
I found this in the API documentation (here): “RICOH THETA authenticates a central device via Web API and Bluetooth API. The camera does not use pairing.”
To me that sounds like you need Wi-Fi to set up bluetooth. Has anyone set up bluetooth without using Wi-Fi?
yea, it did sound to me that WiFi was needed. I can’t remember what I found out in the tests. You could also try and open an issue on GitHub and post the results here if you get a chance.
If there’s time, you could build the Android demo that is included and test it out.
In case of Theta Z1 and Theta V, You need to call camera._setBluetoothDevice command and set _bluetoothPower" option to ON on WiFi to start using Bluetooth API.
Troubleshooting
Error reaching 191.168.1.1
Your phone is likely not connected to the camera.
Make sure that the WiFi icon
In the example below, the WiFi has an exclamation point. This is normal as the camera is not connected to the internet.
Check route
There are many ways to check an access point (AP) mode connection and that there is an IP route between your camera and your mobile device.