clariusdev / solum

APIs for OEMs to Create Standalone Applications
https://www.clarius.com
BSD 3-Clause "New" or "Revised" License
16 stars 10 forks source link

The example doesn't work with our probes #15

Closed nguyenvuduc closed 2 years ago

nguyenvuduc commented 2 years ago

Hi Kris,

I couldn't use the OEM API 9.3.0 to control our probes (we have OEM licenses). Please find the screenshot and command logs below: Environment:

Issues:

  1. It is difficult to configure the wifi to connect to routers, most of the time it is put on Access Point mode.
  2. newProcessedImageFnis not called after cusOemRun(1) has been called successfully.
  3. There is a warning: WARNING: QApplication was not created in the main() thread

Logs:

starting clarius oem program...WARNING: QApplication was not created in the main() thread.

enter command: ?

valid commands: [q: quit, h: help]
    connection: [c: connect, d: disconnect]
        manage: [x: load cert, u: software update, g: get status, i: get probe info]
      workflow: [p: list probes, a: list applications, l: load workflow]
       imaging: [r: run imaging, s: stop imaging ]
    parameters: [f: fetch parameter, v: set parameter value ]
  imaging mode: [n: fetch mode, m: set mode ]

 typical usage: - power up and fetch tcp information via ble (not demonstrated here)
                - connect over wifi/tcp
                - load certificate
                - check for software update
                - load workflow
                - image, get status, adjust parameters
enter command: c

enter ip address: 192.168.1.1

enter port: 40381

trying to connect
enter command:
connection: 0, status: connected
streaming port: 49295u

error: undetermined hardware version
error requesting software update
enter command: p

probes:
C3-45
C3HD
C3HD3
C7-20
C7HD
C7HD3
EC7-10
EC7HD
EC7HD3
L15HD
L15HD3
L20HD
L20HD3
L7-38
L7HD
L7HD3
PA2HD
PA2HD3
enter command: a

enter probe model: L20HD

applications for L20HD:
derma
lung
msk
nerve
ocular
preclinical
smp
vascular3
enter command: l

enter probe model: L20HD

enter application: lung

trying to load application: lung
enter command: r

enter command: u

error: undetermined hardware version
error requesting software update
enter command: g

battery: 3276849%, temperature: 3211310%, fr: 1.33512e-306Hz
enter command:
nguyenvuduc commented 2 years ago

Hi Kris,

I was my false. I haven't loaded the certificate. I have downloaded the certificate from the ClariusMobileApp and loaded it into the examples. I can see the image events now.

Regards