How to check if iPhone is connected with 360 degree camera?

#1

Cross-posting from Jarvis The Avenger on Stack Overflow.

I am using Ricoh-Theta camera which is built upon Open Spherical Camera API . It is the protocol used in a 360-degree camera. I am trying to understand how can I check if that camera is connected with device or not?

The camera creates wifi-hotspot that mobile uses. the camera acts as an HTTP server. the app sends HTTP request to server and server gives back a response. I am trying to understand that if I have to check the connectivity between my device and camera, Do I need to fire API to camera server?