newProcessedImage Callback not triggering while device imaging
I need some help.
I'm currently building the android sdk into a flutter project.
So far I have been able to connect to the device via sdk.
When I turn on device imaging, the imaging callback triggers and returns these values.
Imaging state: ImagingReady, imaging: true
But the newProcessedImage callback never triggers.
As far as I can see there are no errors in my logs.
I would like some suggestions as to what might be wrong.
Device: L15HD3 SDK Version: 12.0.2
Since the images come through UDP, it could be blocked ports on the device.
I tested the device and it does not seem like the UDP ports are blocked at all.
For more context the device is a Galaxy Tab A9+
The logs:
SDK Logs
I/Solum (26994): wireless regulatory domain policy: 'enforce', original country code: , effective country code: I/Solum (26994): attempting to connect to 192.168.1.1:5000 (networkID 437197393933) I/Solum (26994): Bound socket 161 to network 437197393933 for SDK version 34 I/flutter (26994): Solum connectionResult event: {result: ProbeConnected, port: 45462, status: connected} I/Solum (26994): scanner boot software version matches I/Solum (26994): re-syncing settings I/Solum (26994): scanner probe software version matches
Debugging Logs:
D/SolumApp(26994): handleInitialize: initialization completed: SUCCESS D/SolumApp(26994): MethodChannel.connect ip=192.168.1.1, port=5000, networkId=null D/SolumApp(26994): handleConnect: ip=192.168.1.1, port=5000, networkIdArg=null) D/SolumApp(26994): handleConnect: queuing pending connect until onNetworkAvailable (process will be bound) D/SolumApp(26994): Network onAvailable: executing pending solum.connect ip=192.168.1.1, port=5000, handle=101 D/SolumApp(26994): Connection result: result=ProbeConnected, port=45462, status=connected D/SolumApp(26994): Error: ErrorSwUpdate, software versions do not match D/SolumApp(26994): Cert info: 88 D/SolumApp(26994): IMU port: 0 D/SolumApp(26994): MethodChannel.startImaging invoked D/SolumApp(26994): MethodChannel.startImaging completed D/SolumApp(26994): MethodChannel.stopImaging invoked D/SolumApp(26994): MethodChannel.stopImaging completed W/SolumApp(26994): Imaging state: ImagingReady, imaging: false D/SolumApp(26994): MethodChannel.startImaging invoked D/SolumApp(26994): MethodChannel.startImaging completed W/SolumApp(26994): Imaging state: ImagingReady, imaging: true D/SolumApp(26994): MethodChannel.stopImaging invoked D/SolumApp(26994): MethodChannel.stopImaging completed W/SolumApp(26994): Imaging state: ImagingReady, imaging: false D/SolumApp(26994): MethodChannel.startImaging invoked D/SolumApp(26994): MethodChannel.startImaging completed W/SolumApp(26994): Imaging state: ImagingReady, imaging: true
I did see:
D/SolumApp(26994): Error: ErrorSwUpdate, software versions do not match
But then also in the SDK logs I saw:
I/Solum (26994): scanner boot software version matches I/Solum (26994): scanner probe software version matches
Is it possible that there is a firmware update issue present?
I did use the Clarius app to update the probe to the latest firmware and I downloaded the latest SDK from the releases section.
Log when getting probe firmware version:
I/flutter (31119): Firmware version: 12.0.1-673+7387bf3180_12.0.1-675+6d3072c58c
If you're using the latest 12.0.x App from the stores, then the firmware should be compatible. You could try testing the desktop version of the Solum example to confirm that it is working as expected to be sure.
I ran the console app but was unable to connect to the device.
We have another example app that uses SDK V11.0.0
And with this app the device works fine after firmware update.
I even downgraded my project to this SDK version but I am still unable to get the imaging to work. (Same problem as before).
Then I reupdated the device firmware with the Clarius app
I then upgraded the project back to the latest version and downloaded the latest firmware via sdk and API
And tried updating the device software but when trying to update I got this result:
D/SolumApp( 4915): updateSoftware result: SwUpdateCurrent
At this point I am a bit lost.
I can communicate with the device and get its status and applications.
It is just not giving me images.
For some extra context I used to get a lot of applications before 'breast' etc. but now it is only returning research as the only application.
Also when trying to upload applications the probe refuses the application.
I suggest you try the provided Solum app and update the probe's FW using the Clarius app 12.0.7 which is the currently released version in app stores. You've probably tried it already but I wanted to clarify the steps:
- Download Clarius App v12.0.7 from Google play store (assuming you're not enrolled in the Clarius Pilot giving you access to beta version)
- Connect to the probe and update its FW as needed, confirm the probe is imaging, confirm the FW version in the app menu > about > HD firmware version should be v12.0.1
- Checkout Solum repo tag v12.0.2 which uses probe FW v12.0.1
- Download Solum binaries v12.0.2 https://github.com/clariusdev/solum/releases/tag/v12.0.2 and place them in the
libfolder - All versions should be matching, try imaging with the Solum app
Note: the same probe FW v12.0.1 is used by all Clarius App versions v12.0.1 to v12.0.7 (most recent) and by Solum v12.0.2.
Clarius App
No firmware update was required.
The device was able to image.
Firmware Version: v12.0.1 for OS and Program
With my App
I did notice when getting the applications for the device it only returns the research application.
Also when setting the application it fails.
Using SDK v12.0.2
Can you try to use the provided Android app example and see if it works, it would help narrow down the issue thanks!