It was possible to establish a Bluetooth connection between Lego and Raspberry using a network connection. Used these actions https://github.com/ev3dev/ev3dev/issues/1280#issuecomment-1186266809 Previously, I could exchange data via the Bluetooth serial port, but this is not suitable for ev3dev.
The documentation on this issue does not give specific tips and examples.