Hi All,
I would make L2CAP connection between my 3650 and other device. The connection works fine. I can send and receive data.
My problem is that I don't known the exact size of received paket (can be 1 byte upto 42 byte). RecvOneOrMore() is not working with L2CAP connection (Error: -5, not supported). The other receive functions (recv and read) needs a size, but I don't known the size, before I received the paket. If I use a size of 1 then I receive only the first byte of paket and the other bytes are discarded.
Is there any possibility to get the rest of received paket. How I can determine the size of received paket?