I am trying to connect my Flir One Edge Pro to my android app using the Flir Mobile SDK. This is for my university project and I am really struggling to connect to this device. I have spent over 25 hours trying to connect my app to this device.
I'm using FLIR_ONE_WIRELESS interface. The camera is successfully discovered via BLE using DiscoveryFactory.scan(), and I receive a valid Identity object containing the correct IP address (192.168.87.1), SSID, firmware version (1.19.10), and other metadata.
However, when calling:
- camera.connect(identity, connectionStatusListener, ConnectParameters())
the connection consistently fails after approximately 10 seconds with:
- Atlas log: FLIR One camera connecting failed, disconnecting, error Error: Operation Canceled (code=125, category=generic)
- SDK callback: ErrorCode{message='Camera is not connected', code=5}
Important observations and information:
BLE discovery works correctly.
The official FLIR ONE app connects to the camera without issue.
If I manually connect the phone to the FLIR camera’s Wi-Fi network (FLIRONE_xxxxx), the IP of the camera is reachable via browser.
The issue occurs on a Pixel 7 running Android 16.
Required permissions (BLUETOOTH_SCAN, BLUETOOTH_CONNECT, NEARBY_WIFI_DEVICES, ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION, ACCESS_WIFI_STATE, CHANGE_WIFI_STATE, ACCESS_NETWORK_STATE, INTERNET, CAMERA) are granted.
ThermalSdkAndroid.init(this) is properly initialized in the Application class before any call. Since discovery is fine, SDK initialization has to be okay.
It appears the SDK connection process is being canceled during the Wi-Fi transition phase but I'm not sure what the problem is. I have searched through official FLIR documentation, and other sites but have not found guidance addressing the problem. The only stack overflow post I found regarding connection issue to this specific device just suggests using FLIR_ONE_WIRELESS interface which I'm already using.
If anyone could provide any solution, it would be a huge help. Thanks in advance.