Import Error: _nrf_ble_driver_sd_api_v5.so: wrong ELF class: ELFCLASS64

Hello,

HW/Setup: raspberry pi 400, py lib blatann 0.5.0, pc_ble_driver v4.1.4 , nrf Dongle 52840 flashed with s132/softdevice v5

problem: Import Error , unable to load the driver

looks like the provided binary file _nrf_ble_driver_sd_api_v5.so supports Linux 64 bit and do not support the raspberry pi os Linux 32bit.

is there a driver supporting 32bit Linux devices?

Thanks,

Parents Reply
  • Hi Vidar,

    Could you please let me know why i am getting the below error?
            File "/mypath/lib/python3.9/site-packages/blatann/device.py", line 195, in open
              self.ble_driver.open()
            File "/mypath/lib/python3.9/site-packages/wrapt/wrappers.py", line 669, in __call__
              return self._self_wrapper(self.__wrapped__, self._self_instance,
            File "/mypath/lib/python3.9/site-packages/blatann/nrf/nrf_driver.py", line 80, in wrapper
              raise NordicSemiException('Failed to {}. {}'.format(wrapped.__name__, err_string), err_code)
          pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: NrfError.rpc_h5_transport_state
    I again double checked the copied files from your built package on pi after installing the v17 for py3.9 but seems to be not working
    Thanks
    BR,
Children
Related