I have the following problem.
I want to communicate from a mobile phone to an PC with the BlueZ-Stack
and backwards.
In the beginning, I only want to sent short Strings. the way from the
phone to the PC works, but the way backwards won't run.
The server side (PC) tells me, that it send the string (6 bytes long),
the client (phone) do receive a connection, but the transported String
is empty (is.read() = -1).
Is it possible, that the BlueZ implementation is the problem? I am sure,
that my source (Java) works correct (on my opinion the problem can
cause on two reasons: the BlueZ Stack or the Bluetooth-Stack on my
mobile phone).