I’m trying to integrate the camera into my iOS and I’m sorry if this question is too basic, but I’m really lost here.
Here’s the thing: On the Theta app, after you pick the device you have and enter the serial code, the app prompts you the option to connect to the wi-fi network of the camera. I downloaded the sample app, but I just can’t reproduce it. In order to make the camera work, I have to connect to the camera’s wifi before, do you guys know how I can do just like it was done in the Theta app? I simply want to prompt to the user to connect to the camera, if available without having to open the settings app.
The THETA hotspot will always have THETA in it. Assuming there is only one THETA acting as a hotspot, you can get the default password, which is the numerical digits.
If you’re just trying to see if the mobile phone and camera are connected, you can try doing an
http://192.168.1.1/osc/info
If you do not get a valid response, then prompt the user to connect the camera to the mobile phone with WiFi.
Although not officially supported by RICOH, I have also seen developers use the HEAD method.
If it were me, I would use GET /osc/info as the check