Skip to content

Help_need :pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_gattc_write. Error code: NrfError.rpc_no_response #192

@Andrewsdass

Description

@Andrewsdass

Hi @ThomasGerstenberg,

I hope this message finds you well

If I write chunk data (MTU size : 244 ) continuously using the write without response function (await char.write_without_response(file_data_to_encrypted).as_async() ), I occasionally get the error pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_gattc_write. Error code: NrfError.rpc_no_response. Why does this happen?"

Traceback (most recent call last):
File "/home/andrews/.local/lib/python3.10/site-packages/blatann/utils/queued_tasks_manager.py", line 36, in _add_task
task_complete = self._handle_task(task)
File "/home/andrews/.local/lib/python3.10/site-packages/blatann/gatt/managers.py", line 187, in _handle_task
self.ble_device.ble_driver.ble_gattc_write(self.peer.conn_handle, write_params)
File "/home/andrews/.local/lib/python3.10/site-packages/blatann/nrf/nrf_driver.py", line 83, in wrapper
raise NordicSemiException('Failed to {}. {}'.format(wrapped.name, err_string), err_code)
pc_ble_driver_py.exceptions.NordicSemiException: Failed to ble_gattc_write. Error code: NrfError.rpc_no_response

so do you have any ideas how to recover from this properly?

Thanks for your support
Andrews

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions