opalpa@gmail.com opalinski from opalpaweb schrieb:
> Since L2CAPConnection.receive blocks:
>
> by saying "When I'm sending e.g. 436 I receive nothing " you mean that
> server blocks in receive?
>
> and not that receive gives you 0 bytes, correct?
When I first connect I receive 0 bytes. I don't know why.
> What happens when you call ready?
When I call ready on client side for the first time it returns true and
stays true. When I call it one the server side it returns false the
first time then true.
> -----
>
> Perhaps, worst case, you need to work around some kind of lack of
> flush. That is if data on client is not being released until next data
> packet is ready you can make a protocol out of that, as long as the
> behaviour is reliable.
Exactly, this would be the worst case...
> Can you try another phone to see what happens?
Not at this time.