I am trying to send and receive data through a Bluetooth RFCOMM connection.
Server side is working fine through bluer on a RaspberryPI. I tested it with an Ubuntu client also using bluer. It is a simple echo server anyway. Where the message length is the first four bytes.
Now I am trying to implement a client for MacOS using objc and some bindings made by apple-bindgen.
Making the RFCOMM connection succeeds, sending a message to the server works too. And it is received at the server. But I can't get to the echoed message that the server sends.
The server does send the message I am pretty sure because all works fine with the Ubuntu client. So my client implementation is at fault most likely.
There was a similar question here also about the delegate not getting called. I looked through that to make sure I tried all the things he had to do to make it work. I also looked at his working repo but I can't figure out what I am doing wrong.