Friends Camera is a camera device that offers connectivity for remote access and APIs for camera control.
Friends Camera device can be connected to a smartphone using BLE pairing and Wi-Fi connection. The camera device serves a local Wi-Fi network to which smartphones can connect.
Once connected, Friends Camera device listens for HTTP commands from the connected smartphone and performs the requested actions which include shooting scenes, recording videos, downloading the files from the camera to the smartphone, etc.
Supported Friends Camera devices are as follows:
- LG 360 CAM
- LG Action CAMLTE
|Soft-AP||One-to-one connection between an application and a Friends Camera device. The Friends Camera device serves as a Wi-Fi Soft AP to provide a local Wi-Fi network. The application connects to the Friends Camera device’s Wi-Fi network.|
|Over-AP||An application and a Friends Camera device connected to the same Access Point (AP). The application makes the Friends Camera device connect to an AP (by sending a command through the established Wi-Fi channel in Soft-AP connection). Then the application connects to the same AP and searches for the Friends Camera device to check whether the Friends Camera device has successfully joined the same AP.|
Friends Camera supports Bluetooth® Low Energy (BLE) pairing for quick discovery and connection between the camera and the application. If the pairing is established, the connection transits to a Wi-Fi® connection by turning on the Wi-Fi Soft AP mode (camera device’s Soft AP mode gets enabled).
Friends Camera serves as a Wi-Fi Soft AP to provide a Wi-Fi network. The Wi-Fi connection between the camera and the application is enabled through BLE pairing. Once the connection is established, the camera device and the application communicate with each other over Wi-Fi channel only.
The default SSID name is of the form “LGR105_XXXXXX.OSC” (LG 360 CAM) or "LGR200_XXXXXX.OSC" (LG Action CAMLTE), where Xs are the last 6 digits of the device serial number.
The Wi-Fi connection is protected by WPA2-PSK. The WPA2-PSK password must be at least 8 characters long, containing letters, numbers and symbols.
Over-AP Connection (Action CAMLTE only)
The camera device and the smartphone can be connected to the same remote access point by using Over-AP connection method.
Before starting Over-AP connection, the camera device and the smartphone must be connected in Soft AP mode. From the application of the smartphone, register the access point information and connection result callback(listener) to the camera device. Then enable Over-AP mode on the camera device. The camera device connects to the target access point and the connection results are notified by the callback.
Friends Camera implements an HTTP/1.1 server to receive and respond to requests from the client that is the connected mobile device (the camera control application). The client sends its requests to the endpoint of the camera. The default IP address and port number are given in the following table:
The HTTP/1.1 server of the camera is able to process GET and POST requests from clients.
The application sends requests, in the form of HTTP/1.1 GET or POST command, to the Friends Camera device over the established Wi-Fi network.
The following figure shows an example of HTTP request and response between the application and the camera.
Friends Camera SDK is supported on the following mobile devices:
Mobile devices running Android 5.0 (API level 21) or above
* BLE feature required
Mobile devices running iOS 8.0 or above
* BLE feature required
A typical use case of interaction between camera device and application developed with Friends Camera SDK would be as follows:
1) Connecting over a Wi-Fi network through BLE pairing
2) Taking an image or record video
3) Manipulating the image taken or video recorded
4) Configuring the device settings
Details of how such actions are performed will be later discussed.